Three screens setup

This commit is contained in:
Geoffrey Frogeye 2017-06-27 09:19:59 +02:00
parent 291597424b
commit ef42de3a2d

View file

@ -51,7 +51,7 @@ set $up_bar killall -USR1 i3status
# Start Applications
bindsym $mod+Return exec xterm
bindsym $mod+p exec thunar
bindsym $mod+m exec qutebrowser --override-restore
bindsym $mod+m exec qutebrowser --override-restore --backend=webengine
# Volume control
#bindsym XF86AudioRaiseVolume exec amixer -q set Master 5+ unmute; exec $up_bar
@ -102,7 +102,7 @@ bindsym $mod+Shift+l move right
#bindsym $mod+Shift+Right move right
# workspace back and forth (with/without active container)
workspace_auto_back_and_forth yes
workspace_auto_back_and_forth no
bindsym $mod+b workspace back_and_forth
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
@ -145,16 +145,16 @@ set $WS9 9 Veille
set $WS10 10 Musique
# Workspace output
workspace "$WS1" output LVDS1
workspace "$WS2" output VGA1
workspace "$WS3" output LVDS1
workspace "$WS4" output VGA1
workspace "$WS5" output LVDS1
workspace "$WS6" output VGA1
workspace "$WS7" output LVDS1
workspace "$WS8" output VGA1
workspace "$WS9" output LVDS1
workspace "$WS10" output VGA1
workspace "$WS1" output DP-5
workspace "$WS2" output DP-3
workspace "$WS3" output VGA-0
workspace "$WS4" output DP-5
workspace "$WS5" output DP-3
workspace "$WS6" output VGA-0
workspace "$WS7" output DP-5
workspace "$WS8" output DP-3
workspace "$WS9" output VGA-0
workspace "$WS10" output DP-5
# switch to workspace
bindsym $mod+1 workspace $WS1
@ -312,7 +312,9 @@ mode "$mode_screen_select" {
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+t mode "$mode_screen_select"
#bindsym $mod+t mode "$mode_screen_select"
set $screen_config xrandr --output DP-3 --output VGA-0 --auto --right-of DP-3 --output DP-5 --auto --left-of DP-3 --dpi 100; $background
bindsym $mod+t exec "$screen_config"
set $mode_screen_VGA1 VGA [R] Right [L] Left [U] Up [D] Down [C] Copy [O] Off
mode "$mode_screen_VGA1" {
@ -398,6 +400,7 @@ bar {
}
# Inactivity settings
exec "$screen_config"
exec --no-startup-id xautolock -time 10 -locker 'xset dpms force standby' -killtime 1 -killer '$locker'
bindsym $mod+F4 exec --no-startup-id xautolock -disable
bindsym $mod+F5 exec --no-startup-id xautolock -enable