Hypr (laptop): align media and idle handling
This commit is contained in:
@@ -105,9 +105,6 @@ bindm = $mainMod SHIFT, mouse:272, movewindow
|
|||||||
bindm = $mainMod SHIFT, mouse:273, resizewindow
|
bindm = $mainMod SHIFT, mouse:273, resizewindow
|
||||||
|
|
||||||
# Audio via PipeWire ctl (desktop style)
|
# Audio via PipeWire ctl (desktop style)
|
||||||
bindl = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
||||||
bindl = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
||||||
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
bindl = , XF86AudioNext, exec, playerctl next
|
bindl = , XF86AudioNext, exec, playerctl next
|
||||||
|
@@ -4,8 +4,8 @@ exec-once = uwsm app -- swaync
|
|||||||
exec-once = xsettingsd
|
exec-once = xsettingsd
|
||||||
exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh
|
exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh
|
||||||
exec-once = uwsm app -- waybar
|
exec-once = uwsm app -- waybar
|
||||||
exec = hyprpaper -c $HOME/.config/hyprpaper.conf
|
exec-once = hyprpaper -c $HOME/.config/hyprpaper.conf
|
||||||
exec = swayosd-server
|
exec-once = swayosd-server
|
||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
|
|
||||||
|
|
||||||
@@ -13,12 +13,6 @@ exec-once = hypridle
|
|||||||
exec-once = bash -lc 'command -v nm-applet >/dev/null && nm-applet &'
|
exec-once = bash -lc 'command -v nm-applet >/dev/null && nm-applet &'
|
||||||
exec-once = bash -lc 'command -v blueman-applet >/dev/null && blueman-applet &'
|
exec-once = bash -lc 'command -v blueman-applet >/dev/null && blueman-applet &'
|
||||||
|
|
||||||
exec-once = pkill swayidle; swayidle \
|
|
||||||
timeout 300 'brightnessctl set 25%' \
|
|
||||||
timeout 600 'swaylock -f -c 000000' \
|
|
||||||
timeout 600 'hyprctl dispatch dpms off' \
|
|
||||||
resume 'hyprctl dispatch dpms on' \
|
|
||||||
before-sleep 'swaylock -f -c 000000'
|
|
||||||
|
|
||||||
exec-once = pkill mako; mako
|
exec-once = pkill mako; mako
|
||||||
exec-once = pkill wl-paste; wl-paste -t text --watch clipman store
|
exec-once = pkill wl-paste; wl-paste -t text --watch clipman store
|
||||||
|
@@ -1,5 +1,11 @@
|
|||||||
# Same as cn-arch: lock at 10 min, screen off at 15 min.
|
# Same as cn-arch: lock at 10 min, screen off at 15 min.
|
||||||
|
|
||||||
|
listener {
|
||||||
|
timeout = 300
|
||||||
|
on-timeout = brightnessctl --save && brightnessctl set 25%
|
||||||
|
on-resume = brightnessctl --restore
|
||||||
|
}
|
||||||
|
|
||||||
general {
|
general {
|
||||||
lock_cmd = hyprlock
|
lock_cmd = hyprlock
|
||||||
before_sleep_cmd = hyprlock
|
before_sleep_cmd = hyprlock
|
||||||
|
Reference in New Issue
Block a user