This commit is contained in:
fz0x1 2024-11-18 18:11:06 +01:00
parent 7aee7348cf
commit 01150ca2fa
10 changed files with 84 additions and 34 deletions

View file

@ -28,8 +28,8 @@ font pango:monospace 8
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- ~/.config/i3/i3lock --nofork
exec --no-startup-id xss-lock -- ~/.config/i3/i3lock --nofork
exec --no-startup-id xss-lock --transfer-sleep-lock -- ~/scripts/bin/lock.sh
#exec --no-startup-id xss-lock -- ~/scripts/bin/lock.sh
# Use pactl to adjust volume in PulseAudio.
# set $refresh_i3status killall -SIGUSR1 i3status
@ -172,7 +172,7 @@ bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# i3lock
bindsym $mod+Shift+x exec --no-startup-id ~/.config/i3/i3lock
bindsym $mod+Shift+x exec --no-startup-id ~/scripts/bin/lock.sh &
# screen
bindsym $mod+Control+s exec --no-startup-id ~/scripts/bin/screenshot.sh region
bindsym $mod+Control+f exec --no-startup-id ~/scripts/bin/screenshot.sh full