|
|
@ -49,16 +49,19 @@ set $WS6 "6: "
|
|
|
|
set $WS7 "7: "
|
|
|
|
set $WS7 "7: "
|
|
|
|
set $WS8 "8: "
|
|
|
|
set $WS8 "8: "
|
|
|
|
|
|
|
|
|
|
|
|
# monitors
|
|
|
|
#####################################################
|
|
|
|
set $Mon1 HDMI1
|
|
|
|
############### Bar ##################
|
|
|
|
set $Mon2 HDMI2
|
|
|
|
#####################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bar {
|
|
|
|
|
|
|
|
status_command i3status
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################
|
|
|
|
#####################################################
|
|
|
|
############### Autostart ##################
|
|
|
|
############### Autostart ##################
|
|
|
|
#####################################################
|
|
|
|
#####################################################
|
|
|
|
|
|
|
|
|
|
|
|
# run with reload
|
|
|
|
# run with reload
|
|
|
|
exec_always --no-startup-id al-polybar-session
|
|
|
|
|
|
|
|
exec_always --no-startup-id xrdb -load ~/.Xresources
|
|
|
|
exec_always --no-startup-id xrdb -load ~/.Xresources
|
|
|
|
|
|
|
|
|
|
|
|
# run once
|
|
|
|
# run once
|
|
|
@ -92,14 +95,19 @@ bindsym $Mod+x exec --no-startup-id rofi_run -l
|
|
|
|
# Screenshot
|
|
|
|
# Screenshot
|
|
|
|
bindsym Print exec --no-startup-id "scrot '%S.png' -e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png ; feh $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
|
|
|
|
bindsym Print exec --no-startup-id "scrot '%S.png' -e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png ; feh $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# reload status
|
|
|
|
|
|
|
|
set $refresh_i3status killall -SIGUSR1 i3status
|
|
|
|
|
|
|
|
|
|
|
|
# audio
|
|
|
|
# audio
|
|
|
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
|
|
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
|
|
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
|
|
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
|
|
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
|
|
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
|
|
|
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
|
|
|
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
|
|
|
bindsym XF86AudioMute exec --no-startup-id pamixer -t
|
|
|
|
|
|
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2
|
|
|
|
# reload status when changing volume
|
|
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2
|
|
|
|
bindsym XF86AudioMute exec --no-startup-id pamixer -t && $refresh_i3status
|
|
|
|
|
|
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2 && $refresh_i3status
|
|
|
|
|
|
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2 && $refresh_i3status
|
|
|
|
|
|
|
|
|
|
|
|
# backlight
|
|
|
|
# backlight
|
|
|
|
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
|
|
|
|
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
|
|
|
@ -109,16 +117,6 @@ bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
|
|
|
|
########### Workspace Bindings ###############
|
|
|
|
########### Workspace Bindings ###############
|
|
|
|
################################################################
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
|
|
|
|
# workspace assignment
|
|
|
|
|
|
|
|
workspace $WS1 output $Mon1
|
|
|
|
|
|
|
|
workspace $WS2 output $Mon1
|
|
|
|
|
|
|
|
workspace $WS3 output $Mon1
|
|
|
|
|
|
|
|
workspace $WS4 output $Mon1
|
|
|
|
|
|
|
|
workspace $WS5 output $Mon2
|
|
|
|
|
|
|
|
workspace $WS6 output $Mon2
|
|
|
|
|
|
|
|
workspace $WS7 output $Mon2
|
|
|
|
|
|
|
|
workspace $WS8 output $Mon2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# switch to workspace
|
|
|
|
# switch to workspace
|
|
|
|
bindsym $Mod+1 workspace $WS1
|
|
|
|
bindsym $Mod+1 workspace $WS1
|
|
|
|
bindsym $Mod+2 workspace $WS2
|
|
|
|
bindsym $Mod+2 workspace $WS2
|
|
|
@ -143,7 +141,6 @@ bindsym $mod+Mod2+KP_8 workspace $WS8
|
|
|
|
bindsym $mod+Mod1+Left workspace prev
|
|
|
|
bindsym $mod+Mod1+Left workspace prev
|
|
|
|
bindsym $mod+Mod1+Right workspace next
|
|
|
|
bindsym $mod+Mod1+Right workspace next
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# move focused container to workspace
|
|
|
|
# move focused container to workspace
|
|
|
|
bindsym $Mod+Shift+1 move container to workspace $WS1; workspace $WS1
|
|
|
|
bindsym $Mod+Shift+1 move container to workspace $WS1; workspace $WS1
|
|
|
|
bindsym $Mod+Shift+2 move container to workspace $WS2; workspace $WS2
|
|
|
|
bindsym $Mod+Shift+2 move container to workspace $WS2; workspace $WS2
|
|
|
|