diff --git a/.config/i3/config b/.config/i3/config index 9926593..00b2729 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -1,5 +1,7 @@ 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 --no-startup-id xautolock -time 15 -locker "betterlockscreen -l" & 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+Shift+q kill -bindsym $mod+Shift+c reload 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'" - -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 $mod+Shift+e exec --no-startup-id i3-msg exit +bindsym Control+Mod1+l exec --no-startup-id betterlockscreen -l 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