swipe, disable zsh beeps and idle lock & hibernate

This commit is contained in:
Brieuc Dubois 2024-02-17 01:53:52 +01:00
parent 4af7c5509f
commit e8ccdafcf7
3 changed files with 9 additions and 1 deletions

View File

@ -8,3 +8,8 @@ wl-paste --type text --watch cliphist store
wl-paste --type image --watch cliphist store
udiskie &
LOCK="swaylock --screenshots --effect-blur 7x5 --indicator --clock | xargs hyprctl dispatch exec"
swayidle -w timeout 600 "$LOCK" before-sleep "$LOCK" &
swayidle -w timeout 1200 "systemctl hibernate" &

View File

@ -94,7 +94,7 @@ master {
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = off
workspace_swipe = true
}
misc {
@ -180,3 +180,4 @@ bindl = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
bindl = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bind = , PRINT, exec, hyprshot -m region
windowrulev2 = idleinhibit fullscreen, fullscreen:1

View File

@ -31,3 +31,5 @@ cat() {
fi
done
}
unsetopt BEEP