hyprland: update dbus settings

This commit is contained in:
Tigor Hutasuhut 2024-10-22 10:23:52 +07:00
parent d1646912ae
commit 83dfab90ec
3 changed files with 3 additions and 4 deletions

View file

@ -17,10 +17,9 @@ in
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
systemd.variables = [ "all" ]; systemd.variables = [ "--all" ];
settings = { settings = {
env = [ "DBUS_SESSION_BUS_ADDRESS,unix:path=/run/user/${toString config.profile.user.uid}/bus" ]; env = [ "DBUS_SESSION_BUS_ADDRESS,unix:path=/run/user/${toString config.profile.user.uid}/bus" ];
exec-once = lib.mkOrder 5 [ ''${pkgs.dbus}/bin/dbus-update-activation-environment --all'' ];
# window decors # window decors
general = { general = {
gaps_in = 10; gaps_in = 10;

View file

@ -163,7 +163,7 @@ in
rofi-wayland rofi-wayland
]; ];
wayland.windowManager.hyprland.settings.exec-once = [ wayland.windowManager.hyprland.settings.exec-once = [
"sleep 1 && waybar" "sleep 2 && waybar"
"wl-paste --watch cliphist store" "wl-paste --watch cliphist store"
]; ];
programs.waybar = { programs.waybar = {

View file

@ -87,7 +87,7 @@ in
vt = 5; vt = 5;
}; };
default_session = { default_session = {
command = ''tuigreet --remember --cmd "dbus-run-session Hyprland"''; command = ''tuigreet --remember --cmd "Hyprland"'';
user = "tigor"; user = "tigor";
}; };
}; };