2021-07-11 15:51:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set $mod Mod1
|
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
font pango:monospace 12
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exec --no-startup-id nm-applet
|
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
exec_always --no-startup-id pkill picom; picom --no-use-damage --experimental-backends
|
2021-07-11 15:51:11 +02:00
|
|
|
|
exec_always --no-startup-id pkill dunst; dunst
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exec_always --no-startup-id xrdb ~/.Xresources
|
|
|
|
|
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for_window [class="^.*"] border pixel 2
|
2021-07-13 22:23:35 +02:00
|
|
|
|
set_from_resource $fg i3wm.color1 #f0f0f0
|
|
|
|
|
set_from_resource $bg i3wm.color3 #ccaa00
|
|
|
|
|
set_from_resource $grayish i3wm.color15 #555555
|
|
|
|
|
client.focused $grayish $grayish $fg $bg $bg
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
gaps bottom 20
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+m exec ~/scripts/i3-layout-manager/layout_manager.sh
|
|
|
|
|
bindsym $mod+x exec ~/scripts/kill-process.sh
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|
|
|
|
|
bindsym $mod+Tab workspace back_and_forth
|
|
|
|
|
|
|
|
|
|
set $refresh_i3status killall -SIGUSR1 i3status
|
|
|
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
|
|
|
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
|
|
|
|
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
|
|
|
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
|
|
|
|
|
|
|
|
|
floating_modifier $mod
|
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+Return exec st
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bindsym $mod+h focus left
|
|
|
|
|
bindsym $mod+j focus down
|
|
|
|
|
bindsym $mod+k focus up
|
|
|
|
|
bindsym $mod+l focus right
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bindsym $mod+Shift+h move left
|
|
|
|
|
bindsym $mod+Shift+j move down
|
|
|
|
|
bindsym $mod+Shift+k move up
|
|
|
|
|
bindsym $mod+Shift+l move right
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bindsym $mod+f fullscreen toggle
|
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+minus layout stacking
|
|
|
|
|
bindsym $mod+t layout tabbed
|
|
|
|
|
bindsym $mod+w layout toggle split
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|
|
|
|
|
bindsym $mod+Shift+space floating toggle
|
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+Control+space focus mode_toggle
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set $ws1 "1"
|
|
|
|
|
set $ws2 "2"
|
|
|
|
|
set $ws3 "3"
|
|
|
|
|
set $ws4 "4"
|
|
|
|
|
set $ws5 "5"
|
|
|
|
|
set $ws6 "6"
|
|
|
|
|
set $ws7 "7"
|
|
|
|
|
set $ws8 "8"
|
|
|
|
|
set $ws9 "9"
|
|
|
|
|
set $ws10 "10"
|
|
|
|
|
|
|
|
|
|
assign [class="Discord"] $ws9
|
2022-01-25 15:00:57 +01:00
|
|
|
|
assign [class="Firefox"] $ws2
|
|
|
|
|
assign [class="zoom"] $ws4
|
|
|
|
|
assign [class="streamlink-twitch-gui"] $ws3
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+e workspace prev
|
|
|
|
|
bindsym $mod+u workspace next
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bindsym $mod+semicolon workspace number $ws1
|
|
|
|
|
bindsym $mod+comma workspace number $ws2
|
|
|
|
|
bindsym $mod+period workspace number $ws3
|
|
|
|
|
bindsym $mod+p workspace number $ws4
|
|
|
|
|
bindsym $mod+y workspace number $ws5
|
2021-07-11 15:51:11 +02:00
|
|
|
|
bindsym $mod+6 workspace number $ws6
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+g workspace number $ws7
|
|
|
|
|
bindsym $mod+c workspace number $ws8
|
|
|
|
|
bindsym $mod+r workspace number $ws9
|
2021-07-11 15:51:11 +02:00
|
|
|
|
bindsym $mod+0 workspace number $ws10
|
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
|
|
|
|
|
bindsym $mod+Shift+semicolon move container to workspace number $ws1
|
|
|
|
|
bindsym $mod+Shift+comma move container to workspace number $ws2
|
|
|
|
|
bindsym $mod+Shift+period move container to workspace number $ws3
|
|
|
|
|
bindsym $mod+Shift+p move container to workspace number $ws4
|
|
|
|
|
bindsym $mod+Shift+y move container to workspace number $ws5
|
2021-07-11 15:51:11 +02:00
|
|
|
|
bindsym $mod+Shift+6 move container to workspace number $ws6
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+Shift+g move container to workspace number $ws7
|
|
|
|
|
bindsym $mod+Shift+c move container to workspace number $ws8
|
|
|
|
|
bindsym $mod+Shift+r move container to workspace number $ws9
|
2021-07-11 15:51:11 +02:00
|
|
|
|
bindsym $mod+Shift+0 move container to workspace number $ws10
|
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+Shift+grave move scratchpad
|
|
|
|
|
|
|
|
|
|
bindsym $mod+grave scratchpad show
|
|
|
|
|
|
|
|
|
|
for_window [title="(?i)Terminator Preferences"] floating enable
|
|
|
|
|
for_window [title="^Calculator$"] floating enable
|
|
|
|
|
for_window [title="^Telegram$"] floating enable
|
|
|
|
|
|
|
|
|
|
for_window [urgent=latest] focus
|
|
|
|
|
|
|
|
|
|
bindsym $mod+Control+r restart
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|
|
|
|
|
mode "resize" {
|
|
|
|
|
# These bindings trigger as soon as you enter the resize mode
|
|
|
|
|
|
|
|
|
|
# Pressing left will shrink the window’s width.
|
|
|
|
|
# Pressing right will grow the window’s width.
|
|
|
|
|
# Pressing up will shrink the window’s height.
|
|
|
|
|
# Pressing down will grow the window’s height.
|
|
|
|
|
bindsym h resize shrink width 10 px or 10 ppt
|
|
|
|
|
bindsym j resize grow height 10 px or 10 ppt
|
|
|
|
|
bindsym k resize shrink height 10 px or 10 ppt
|
|
|
|
|
bindsym l resize grow width 10 px or 10 ppt
|
|
|
|
|
|
|
|
|
|
# same bindings, but for the arrow keys
|
|
|
|
|
bindsym Left resize shrink width 10 px or 10 ppt
|
|
|
|
|
bindsym Down resize grow height 10 px or 10 ppt
|
|
|
|
|
bindsym Up resize shrink height 10 px or 10 ppt
|
|
|
|
|
bindsym Right resize grow width 10 px or 10 ppt
|
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
# back to normal: Enter or Escape or $mod+s
|
2021-07-11 15:51:11 +02:00
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+s mode "default"
|
2021-07-11 15:51:11 +02:00
|
|
|
|
}
|
|
|
|
|
|
2022-01-25 15:00:57 +01:00
|
|
|
|
bindsym $mod+s mode "resize"
|
2021-07-11 15:51:11 +02:00
|
|
|
|
|