Commit 42369a4
Changed files (3)
.config
hypr
modules
hyprpanel
.config/hypr/modules/autostarts.conf
@@ -3,4 +3,5 @@ exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = hyprctl setcursor arcstarry_cursor 25
-exec-once = input-remapper-control --command autoload
\ No newline at end of file
+exec-once = input-remapper-control --command autoload
+exec-once = hypridle &
\ No newline at end of file
.config/hypr/hypridle.conf
@@ -0,0 +1,21 @@
+general {
+ lock_cmd = pidof hyprlock || hyprlock
+ before_sleep_cmd = loginctl lock-session
+ after_sleep_cmd = hyprctl dispatch dpms on
+}
+
+listener {
+ timeout = 150
+ on-timeout = loginctl lock-session
+}
+
+listener {
+ timeout = 300
+ on-timeout = hyprctl dispatch dpms off
+ on-resume = hyprctl dispatch dpms on
+}
+
+listener {
+ timeout = 1500
+ on-timeout = systemctl suspend
+}
.config/hyprpanel/config.json
@@ -121,5 +121,6 @@
"theme.bar.menus.menu.power.buttons.logout.icon_background": "#f38ba8",
"theme.bar.menus.menu.power.buttons.logout.text": "#f38ba8",
"theme.bar.menus.menu.power.buttons.sleep.icon_background": "#f38ba8",
- "theme.bar.menus.menu.power.buttons.sleep.text": "#f38ba8"
+ "theme.bar.menus.menu.power.buttons.sleep.text": "#f38ba8",
+ "notifications.position": "top left"
}