Explorar o código

Command main display with display key

Shut off with modifier pressed, shut on directly.
DricomDragon %!s(int64=4) %!d(string=hai) anos
pai
achega
f8565cb73d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Install/Templates/i3/config

+ 4 - 0
Install/Templates/i3/config

@@ -37,6 +37,10 @@ bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
 # swap keyboard
 bindsym XF86Tools exec --no-startup-id ~/.bin/swapkeyboard
 
+# switch main screen on/off
+bindsym XF86Display exec --no-startup-id xrandr --output eDP1 --auto
+bindsym $mod+XF86Display exec --no-startup-id xrandr --output eDP1 --off
+
 # VOLUME
 # macro adjustement : use dB for more dynamic change
 set $vol_big_step 4dB