clean up icon/cursor issues, improve greeter
This commit is contained in:
parent
6c6556b8d6
commit
905764eb88
2 changed files with 21 additions and 22 deletions
|
@ -44,7 +44,17 @@ in {
|
|||
vt = 1;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd sway";
|
||||
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd sway";
|
||||
command = let
|
||||
swayGreeterConfig = pkgs.writeText "sway-greeter-config" ''
|
||||
exec "${pkgs.greetd.gtkgreet}/bin/gtkgreet -l -c sway; swaymsg exit"
|
||||
bindsym Mod4+shift+e exec swaynag \
|
||||
-t warning \
|
||||
-m 'What do you want to do?' \
|
||||
-b 'Poweroff' 'systemctl poweroff' \
|
||||
-b 'Reboot' 'systemctl reboot'
|
||||
'';
|
||||
in "${pkgs.sway}/bin/sway --config ${swayGreeterConfig}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue