From 0127a4ea3fbec625e84e21dbe582ae72d83d2d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Thu, 7 Mar 2024 00:14:16 +0100 Subject: [PATCH] 91 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 * --- modules/home-manager/sway.nix | 2 ++ modules/nixos/greetd.nix | 2 ++ 2 files changed, 4 insertions(+) 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 \