diff options
Diffstat (limited to 'config/i3')
-rw-r--r-- | config/i3/config | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/config/i3/config b/config/i3/config index 71f3bad..7e0144f 100644 --- a/config/i3/config +++ b/config/i3/config @@ -97,6 +97,9 @@ bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart +# Detect graphics output +bindsym $mod+Shift+o exec --no-startup-id autorander --change + set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown mode "$mode_system" { bindsym l exec --no-startup-id loginctl lock-session $XDG_SESSION_ID, mode "default" @@ -110,18 +113,6 @@ mode "$mode_system" { } bindsym $mod+Shift+q mode "$mode_system" -set $displays (d)efault, toggle: 1:eDP 2:HDMI 3:VGA -mode "$displays" { - bindsym d exec --no-startup-id mxrandr, mode "default" - bindsym 1 exec --no-startup-id mxrandr toggle eDP1, mode "default" - bindsym 2 exec --no-startup-id mxrandr toggle HDMI1, mode "default" - bindsym 3 exec --no-startup-id mxrandr toggle VGA1, mode "default" - - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+o mode "$displays" - set $xshot Xshot: (w)indow or (d)desktop mode "$xshot" { # Note: xshot window is for some reason broken. |