2023-10-20 16:10:37 +02:00
|
|
|
set $mod Mod4
|
|
|
|
|
|
|
|
# i3 reloading
|
|
|
|
bindsym $mod+Shift+c reload
|
|
|
|
bindsym $mod+Shift+r restart
|
|
|
|
|
|
|
|
# Important stuff
|
|
|
|
|
|
|
|
bindsym $mod+Return exec $terminal
|
|
|
|
bindsym $mod+r exec rofi -modi drun -show drun \
|
|
|
|
-config ~/.config/rofi/rofidmenu.rasi
|
|
|
|
bindsym $mod+t exec rofi -show window \
|
|
|
|
-config ~/.config/rofi/rofidmenu.rasi
|
|
|
|
bindsym $mod+b exec $browser
|
|
|
|
bindsym $mod+n exec /usr/bin/thunar
|
2023-11-07 14:09:48 +01:00
|
|
|
bindsym $mod+o exec /usr/bin/obsidian
|
2023-10-20 16:10:37 +02:00
|
|
|
|
|
|
|
bindsym $mod+q kill
|
|
|
|
|
2023-11-10 13:58:15 +01:00
|
|
|
bindsym $mod+Shift+e exit
|
2023-10-20 16:10:37 +02:00
|
|
|
bindsym $mod+l exec ~/.config/i3/scripts/blur-lock
|
|
|
|
bindsym $mod+Shift+n exec ~/.config/i3/scripts/empty_workspace
|
|
|
|
|
|
|
|
# Screenshot
|
|
|
|
bindsym $mod+F6 exec --no-startup-id maim --select | xclip -selection clipboard -t image/png
|
|
|
|
# Color picker
|
|
|
|
bindcode --release $mod+35 exec --no-startup-id xcolor -s clipboard
|
|
|
|
# Power Profiles menu switcher (rofi)
|
|
|
|
bindsym $mod+Shift+p exec ~/.config/i3/scripts/power-profiles
|
|
|
|
# Panel overdrive
|
|
|
|
bindsym $mod+Shift+o exec button=1 ~/.config/i3/scripts/refresh-rate
|
|
|
|
|
2023-10-29 12:29:57 +01:00
|
|
|
bindsym XF86TouchpadToggle exec ~/.local/bin/xtoggle-touchpad
|
2023-10-20 16:10:37 +02:00
|
|
|
|
|
|
|
bindsym XF86MonBrightnessUp exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh brightness_up
|
|
|
|
bindsym XF86MonBrightnessDown exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh brightness_down
|
|
|
|
|
|
|
|
bindsym XF86KbdBrightnessUp exec brightnessctl -d asus::kbd_backlight set 1%+
|
|
|
|
bindsym XF86KbdBrightnessDown exec brightnessctl -d asus::kbd_backlight set 1%-
|
|
|
|
|
|
|
|
# Multimedia Keys
|
|
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh volume_up
|
|
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh volume_down
|
|
|
|
|
|
|
|
# mute
|
|
|
|
bindsym XF86AudioMute exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh volume_mute
|
|
|
|
|
|
|
|
# audio control
|
|
|
|
bindsym XF86AudioPlay exec playerctl play
|
|
|
|
bindsym XF86AudioPause exec playerctl pause
|
|
|
|
bindsym XF86AudioNext exec playerctl next
|
|
|
|
bindsym XF86AudioPrev exec playerctl previous
|
|
|
|
|
|
|
|
# split in horizontal orientation
|
|
|
|
bindsym $mod+h split h
|
|
|
|
|
|
|
|
# split in vertical orientation
|
|
|
|
bindsym $mod+v split v
|
|
|
|
|
|
|
|
# enter fullscreen mode for the focused container
|
|
|
|
bindsym $mod+f fullscreen toggle
|
|
|
|
|
|
|
|
# change container layout (stacked, tabbed, toggle split)
|
|
|
|
bindsym $mod+s layout stacking
|
|
|
|
bindsym $mod+g layout tabbed
|
|
|
|
bindsym $mod+e layout toggle split
|
|
|
|
|
|
|
|
# toggle tiling / floating
|
|
|
|
bindsym $mod+Shift+space floating toggle
|
|
|
|
|
|
|
|
# change focus between tiling / floating windows
|
|
|
|
bindsym $mod+space focus mode_toggle
|
|
|
|
|
|
|
|
# focus the parent container
|
|
|
|
bindsym $mod+a focus parent
|
|
|
|
|
|
|
|
# Change focus
|
|
|
|
bindsym $mod+Left focus left
|
|
|
|
bindsym $mod+Down focus down
|
|
|
|
bindsym $mod+Up focus up
|
|
|
|
bindsym $mod+Right focus right
|
|
|
|
|
|
|
|
# Move focused
|
|
|
|
bindsym $mod+Shift+Left move left
|
|
|
|
bindsym $mod+Shift+Down move down
|
|
|
|
bindsym $mod+Shift+Up move up
|
|
|
|
bindsym $mod+Shift+Right move right
|
|
|
|
|
|
|
|
floating_modifier $mod
|
|
|
|
|
|
|
|
# switch/iterate between workspaces
|
|
|
|
bindsym $mod+Tab workspace next
|
|
|
|
bindsym $mod+Shift+Tab workspace prev
|
|
|
|
|
|
|
|
# switch to workspace
|
|
|
|
bindsym $mod+1 workspace $ws1
|
|
|
|
bindsym $mod+2 workspace $ws2
|
|
|
|
bindsym $mod+3 workspace $ws3
|
|
|
|
bindsym $mod+4 workspace $ws4
|
|
|
|
bindsym $mod+5 workspace $ws5
|
|
|
|
bindsym $mod+6 workspace $ws6
|
|
|
|
bindsym $mod+7 workspace $ws7
|
|
|
|
bindsym $mod+8 workspace $ws8
|
|
|
|
bindsym $mod+9 workspace $ws9
|
|
|
|
bindsym $mod+0 workspace $ws10
|
|
|
|
|
|
|
|
# switch to workspace with numpad keys
|
|
|
|
bindcode $mod+87 workspace 1
|
|
|
|
bindcode $mod+88 workspace 2
|
|
|
|
bindcode $mod+89 workspace 3
|
|
|
|
bindcode $mod+83 workspace 4
|
|
|
|
bindcode $mod+84 workspace 5
|
|
|
|
bindcode $mod+85 workspace 6
|
|
|
|
bindcode $mod+79 workspace 7
|
|
|
|
bindcode $mod+80 workspace 8
|
|
|
|
bindcode $mod+81 workspace 9
|
|
|
|
bindcode $mod+90 workspace 10
|
|
|
|
|
|
|
|
# switch to workspace with numlock numpad keys
|
|
|
|
bindcode $mod+Mod2+87 workspace $ws1
|
|
|
|
bindcode $mod+Mod2+88 workspace $ws2
|
|
|
|
bindcode $mod+Mod2+89 workspace $ws3
|
|
|
|
bindcode $mod+Mod2+83 workspace $ws4
|
|
|
|
bindcode $mod+Mod2+84 workspace $ws5
|
|
|
|
bindcode $mod+Mod2+85 workspace $ws6
|
|
|
|
bindcode $mod+Mod2+79 workspace $ws7
|
|
|
|
bindcode $mod+Mod2+80 workspace $ws8
|
|
|
|
bindcode $mod+Mod2+81 workspace $ws9
|
|
|
|
bindcode $mod+Mod2+90 workspace $ws10
|
|
|
|
|
|
|
|
# move focused container to workspace
|
|
|
|
bindsym $mod+Shift+1 move container to workspace $ws1
|
|
|
|
bindsym $mod+Shift+2 move container to workspace $ws2
|
|
|
|
bindsym $mod+Shift+3 move container to workspace $ws3
|
|
|
|
bindsym $mod+Shift+4 move container to workspace $ws4
|
|
|
|
bindsym $mod+Shift+5 move container to workspace $ws5
|
|
|
|
bindsym $mod+Shift+6 move container to workspace $ws6
|
|
|
|
bindsym $mod+Shift+7 move container to workspace $ws7
|
|
|
|
bindsym $mod+Shift+8 move container to workspace $ws8
|
|
|
|
bindsym $mod+Shift+9 move container to workspace $ws9
|
|
|
|
bindsym $mod+Shift+0 move container to workspace $ws10
|
|
|
|
|
|
|
|
# move focused container to workspace with numpad keys
|
|
|
|
bindcode $mod+Shift+Mod2+87 move container to workspace $ws1
|
|
|
|
bindcode $mod+Shift+Mod2+88 move container to workspace $ws2
|
|
|
|
bindcode $mod+Shift+Mod2+89 move container to workspace $ws3
|
|
|
|
bindcode $mod+Shift+Mod2+83 move container to workspace $ws4
|
|
|
|
bindcode $mod+Shift+Mod2+84 move container to workspace $ws5
|
|
|
|
bindcode $mod+Shift+Mod2+85 move container to workspace $ws6
|
|
|
|
bindcode $mod+Shift+Mod2+79 move container to workspace $ws7
|
|
|
|
bindcode $mod+Shift+Mod2+80 move container to workspace $ws8
|
|
|
|
bindcode $mod+Shift+Mod2+81 move container to workspace $ws9
|
|
|
|
bindcode $mod+Shift+Mod2+90 move container to workspace $ws10
|
|
|
|
|
|
|
|
# move focused container to workspace with numpad keys
|
|
|
|
bindcode $mod+Shift+87 move container to workspace $ws1
|
|
|
|
bindcode $mod+Shift+88 move container to workspace $ws2
|
|
|
|
bindcode $mod+Shift+89 move container to workspace $ws3
|
|
|
|
bindcode $mod+Shift+83 move container to workspace $ws4
|
|
|
|
bindcode $mod+Shift+84 move container to workspace $ws5
|
|
|
|
bindcode $mod+Shift+85 move container to workspace $ws6
|
|
|
|
bindcode $mod+Shift+79 move container to workspace $ws7
|
|
|
|
bindcode $mod+Shift+80 move container to workspace $ws8
|
|
|
|
bindcode $mod+Shift+81 move container to workspace $ws9
|
|
|
|
bindcode $mod+Shift+90 move container to workspace $ws10
|
|
|
|
|
|
|
|
mode "resize" {
|
|
|
|
bindsym h resize shrink width 5 px or 5 ppt
|
|
|
|
bindsym j resize grow height 5 px or 5 ppt
|
|
|
|
bindsym k resize shrink height 5 px or 5 ppt
|
|
|
|
bindsym l resize grow width 5 px or 5 ppt
|
|
|
|
|
|
|
|
bindsym Return mode "default"
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
}
|
|
|
|
|
|
|
|
bindsym $mod+Shift+s mode "resize"
|
|
|
|
|
|
|
|
|