i3 on tty2
This commit is contained in:
parent
632abea18c
commit
f8b761d6eb
2 changed files with 61 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
imports = [
|
||||
./secret.nix
|
||||
../../programs/dropbox/default.nix
|
||||
../../programs/i3/default.nix
|
||||
../../programs/kitty/default.nix
|
||||
../../programs/syncthing/default.nix
|
||||
../../programs/sway/default.nix
|
||||
|
@ -90,6 +91,10 @@
|
|||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = "/dev/tty1" ]]; then
|
||||
exec sway
|
||||
fi
|
||||
|
||||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = "/dev/tty2" ]]; then
|
||||
exec startx
|
||||
fi
|
||||
'';
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue