hyprland: update dbus settings
This commit is contained in:
parent
d1646912ae
commit
83dfab90ec
|
@ -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;
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue