From f04340dfac53d6fa1335fa0ecfbe8f024111e457 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 18 Nov 2022 14:09:34 -0800 Subject: i3: bind F9 to switch between screen layouts --- dot_config/i3/config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dot_config/i3') diff --git a/dot_config/i3/config b/dot_config/i3/config index 5fa0715..ef94027 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -187,6 +187,10 @@ bindsym F1 exec ~/.config/i3/scripts/keyhint-2 # keybinding list in editor: # bindsym $mod+F1 exec xed ~/.config/i3/keybindings +# switch between builtin monitor and external monitors +bindsym F9 exec --no-startup-id ~/.config/i3/scripts/monitor + + # Backlight control bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" @@ -360,7 +364,7 @@ exec --no-startup-id dex --autostart --environment i3 # start a script to setup displays # uncomment the next line, use arandr to setup displays and save the file as monitor: -exec --no-startup-id ~/.screenlayout/monitor.sh +exec --no-startup-id ~/.screenlayout/builtin-only.sh # set wallpaper exec --no-startup-id nitrogen --restore @@ -526,7 +530,7 @@ bar { # Application menu handled by rofi: # ##################################### -## rofi bindings fancy application menu ($mod+d /F9 optional disabled) +## rofi bindings fancy application menu bindsym $mod+d exec rofi -modi drun -show drun \ -config ~/.config/rofi/rofidmenu.rasi -- cgit v1.2.3