add autostart to sway
This commit is contained in:
parent
fbdf936b24
commit
6db24976f8
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,12 @@ in {
|
||||||
programs.qt5ct.enable = true;
|
programs.qt5ct.enable = true;
|
||||||
systemd.defaultUnit = "graphical.target";
|
systemd.defaultUnit = "graphical.target";
|
||||||
|
|
||||||
|
environment.loginShellInit = ''
|
||||||
|
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
|
exec sway
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
home-manager.users.cyryl = { ... }: {
|
home-manager.users.cyryl = { ... }: {
|
||||||
programs.mako.enable = true;
|
programs.mako.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue