Update i3 config

This commit is contained in:
Andreas Tsouchlos 2024-04-17 22:15:04 +02:00
parent 26a6a66b77
commit 134fdac492

View File

@ -1,5 +1,7 @@
set $mod Mod4 set $mod Mod4
exec --no-startup-id autorandr --change
exec_always --no-startup-id "setxkbmap -layout 'de,gr,de' -variant 'nodeadkeys,basic,neo' -option caps:escape" exec_always --no-startup-id "setxkbmap -layout 'de,gr,de' -variant 'nodeadkeys,basic,neo' -option caps:escape"
exec --no-startup-id xautolock -time 15 -locker "betterlockscreen -l" &
include ~/.config/i3/config.d/* include ~/.config/i3/config.d/*
@ -7,20 +9,9 @@ bindsym $mod+d exec --no-startup-id rofi -show run -config ~/.config/rofi/config
bindsym $mod+Return exec --no-startup-id kitty bindsym $mod+Return exec --no-startup-id kitty
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
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'" bindsym $mod+Shift+e exec --no-startup-id i3-msg exit
bindsym Control+Mod1+l exec --no-startup-id betterlockscreen -l
mode "exit: [l]ogout, [r]eboot, [s]hutdown" {
bindsym l exec --no-startup-id i3-msg exit
bindsym r exec --no-startup-id systemctl reboot
bindsym s exec --no-startup-id systemctl shutdown
bindsym Escape mode "default"
bindsym Return mode "default"
}
bindsym $mod+x mode "exit: [l]ogout, [r]eboot, [s]hutdown"
bindsym $mod+Shift+x exec i3lock
bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 --max-volume 100 #increase sound volume bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 --max-volume 100 #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 100 #decrease sound volume bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 100 #decrease sound volume