From a755216ccb467a31cd58eef5ae7c23e084f1750c Mon Sep 17 00:00:00 2001 From: Nippy Date: Sat, 26 Sep 2026 18:21:21 +0200 Subject: fix desktop --- raveos-hyprland-theme/theme-data/hypr/hypridle.conf | 9 +++++++++ raveos-hyprland-theme/theme-data/hypr/hyprland.lua | 1 + 2 files changed, 10 insertions(+) create mode 100644 raveos-hyprland-theme/theme-data/hypr/hypridle.conf (limited to 'raveos-hyprland-theme/theme-data') diff --git a/raveos-hyprland-theme/theme-data/hypr/hypridle.conf b/raveos-hyprland-theme/theme-data/hypr/hypridle.conf new file mode 100644 index 0000000..703a1ff --- /dev/null +++ b/raveos-hyprland-theme/theme-data/hypr/hypridle.conf @@ -0,0 +1,9 @@ +general { + after_sleep_cmd = hyprctl dispatch dpms on +} + +listener { + timeout = 300 + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on +} diff --git a/raveos-hyprland-theme/theme-data/hypr/hyprland.lua b/raveos-hyprland-theme/theme-data/hypr/hyprland.lua index 2011427..b44bb93 100644 --- a/raveos-hyprland-theme/theme-data/hypr/hyprland.lua +++ b/raveos-hyprland-theme/theme-data/hypr/hyprland.lua @@ -14,6 +14,7 @@ hl.monitor({ hl.on("hyprland.start", function() hl.exec_cmd("dms run") hl.exec_cmd("raveswitch run") + hl.exec_cmd("hypridle") hl.exec_cmd("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP") hl.exec_cmd("dbus-update-activation-environment --systemd --all") hl.exec_cmd("systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP") -- cgit v1.3