diff --git a/modules/home-manager/sway.nix b/modules/home-manager/sway.nix index cc468bf..7a6ed2c 100644 --- a/modules/home-manager/sway.nix +++ b/modules/home-manager/sway.nix @@ -75,6 +75,8 @@ }; }; startup = [ + {command = "dbus-sway-environment";} + {command = "configure-gtk";} {command = "${pkgs.keepassxc}/bin/keepassxc";} {command = "${pkgs.waybar}/bin/waybar";} {command = "${pkgs.foot}/bin/foot";} diff --git a/modules/nixos/greetd.nix b/modules/nixos/greetd.nix index d7dad27..a58f7fd 100644 --- a/modules/nixos/greetd.nix +++ b/modules/nixos/greetd.nix @@ -15,6 +15,8 @@ natural_scroll "enable" } + exec dbus-sway-environment + exec configure-gtk # `-l` activates layer-shell mode. Notice that `swaymsg exit` will run after gtkgreet. exec "${pkgs.greetd.gtkgreet}/bin/gtkgreet -l; swaymsg exit" bindsym Mod4+shift+e exec swaynag \