hypr: tweak hypridle
This commit is contained in:
parent
b9909d27b3
commit
5a4e6ff807
2 changed files with 10 additions and 11 deletions
|
@ -1,22 +1,22 @@
|
||||||
|
|
||||||
general {
|
general {
|
||||||
# lock_cmd = notify-send "lock!" # dbus/sysd lock command (loginctl lock-session)
|
lock_cmd = notify-send "lock!" # dbus/sysd lock command (loginctl lock-session)
|
||||||
# unlock_cmd = notify-send "unlock!" # same as above, but unlock
|
unlock_cmd = notify-send "unlock!" # same as above, but unlock
|
||||||
# before_sleep_cmd = notify-send "Zzz" # command ran before sleep
|
before_sleep_cmd = notify-send "Zzz" # command ran before sleep
|
||||||
# after_sleep_cmd = notify-send "Awake!" # command ran after sleep
|
after_sleep_cmd = notify-send "Awake!" # command ran after sleep
|
||||||
ignore_dbus_inhibit = true # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
|
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Screenlock
|
# Screenlock
|
||||||
listener {
|
listener {
|
||||||
timeout = 300 # in seconds
|
timeout = 600 # in seconds
|
||||||
on-timeout = hyprlock # command to run when timeout has passed
|
on-timeout = hyprlock # command to run when timeout has passed
|
||||||
on-resume = notify-send "Welcome back Thomas!" # command to run when activity is detected after timeout has fired.
|
on-resume = notify-send "Welcome back Thomas!" # command to run when activity is detected after timeout has fired.
|
||||||
}
|
}
|
||||||
|
|
||||||
# Suspend
|
# Suspend
|
||||||
listener {
|
listener {
|
||||||
timeout = 360 # in seconds
|
# timeout = 350 # in seconds
|
||||||
on-timeout = systemctl suspend # command to run when timeout has passed
|
# on-timeout = systemctl suspend # command to run when timeout has passed
|
||||||
on-resume = notify-send "Welcome back Thomas!" # command to run when activity is detected after timeout has fired.
|
# on-resume = notify-send "Welcome back Thomas!" # command to run when activity is detected after timeout has fired.
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,11 +20,10 @@ monitor=eDP-1,preferred,3440x1648,1 # ThinkPad
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
# Execute your favorite apps at launch
|
||||||
exec-once = waybar & hyprpaper
|
exec-once = waybar & hyprpaper & hypridle & swaync
|
||||||
exec-once=hyperctl setcursor Breeze 24
|
exec-once=hyperctl setcursor Breeze 24
|
||||||
gsettings set org.gnome.desktop.interface cursor-theme Breeze
|
gsettings set org.gnome.desktop.interface cursor-theme Breeze
|
||||||
gsettings set org.gnome.desktop.interface cursor-size 24
|
gsettings set org.gnome.desktop.interface cursor-size 24
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
# Source a file (multi-file configs)
|
||||||
# source = ~/.config/hypr/myColors.conf
|
# source = ~/.config/hypr/myColors.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue