38 lines
1.7 KiB
Plaintext
38 lines
1.7 KiB
Plaintext
set $mod Mod4
|
|
exec_always "setxkbmap -layout 'de,gr,de' -variant 'nodeadkeys,basic,neo'"
|
|
|
|
include ~/.config/i3/config.d/*
|
|
|
|
bindsym $mod+d exec --no-startup-id rofi -show run -config ~/.config/rofi/config.rasi
|
|
bindsym $mod+Return exec 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 i3-msg exit
|
|
bindsym r exec systemctl reboot
|
|
bindsym s exec 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 XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 100 #decrease sound volume
|
|
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 --max-volume 300 #increase sound volume
|
|
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 300 #decrease sound volume
|
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
|
|
|
|
bindsym XF86AudioPlay exec playerctl play-pause
|
|
bindsym XF86AudioPause exec playerctl play-pause
|
|
bindsym XF86AudioNext exec playerctl next
|
|
bindsym XF86AudioPrev exec playerctl previous
|
|
|
|
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
|
|
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
|