aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2022-11-18 14:09:34 -0800
committerclarkzjw <[email protected]>2022-11-18 14:09:34 -0800
commitf04340dfac53d6fa1335fa0ecfbe8f024111e457 (patch)
tree5c20a29dbb56f88f367a95cbf055c04e8b9c6c24 /dot_config/i3
parentf964bec3d1d4130ad8eec4d6f2157d19beb4c559 (diff)
downloaddotfiles-f04340dfac53d6fa1335fa0ecfbe8f024111e457.tar.gz
i3: bind F9 to switch between screen layouts
Diffstat (limited to 'dot_config/i3')
-rw-r--r--dot_config/i3/config8
1 files changed, 6 insertions, 2 deletions
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
187# keybinding list in editor: 187# keybinding list in editor:
188# bindsym $mod+F1 exec xed ~/.config/i3/keybindings 188# bindsym $mod+F1 exec xed ~/.config/i3/keybindings
189 189
190# switch between builtin monitor and external monitors
191bindsym F9 exec --no-startup-id ~/.config/i3/scripts/monitor
192
193
190# Backlight control 194# Backlight control
191bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" 195bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%"
192bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -5 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%" 196bindsym 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
360 364
361# start a script to setup displays 365# start a script to setup displays
362# uncomment the next line, use arandr to setup displays and save the file as monitor: 366# uncomment the next line, use arandr to setup displays and save the file as monitor:
363exec --no-startup-id ~/.screenlayout/monitor.sh 367exec --no-startup-id ~/.screenlayout/builtin-only.sh
364 368
365# set wallpaper 369# set wallpaper
366exec --no-startup-id nitrogen --restore 370exec --no-startup-id nitrogen --restore
@@ -526,7 +530,7 @@ bar {
526# Application menu handled by rofi: # 530# Application menu handled by rofi: #
527##################################### 531#####################################
528 532
529## rofi bindings fancy application menu ($mod+d /F9 optional disabled) 533## rofi bindings fancy application menu
530 534
531bindsym $mod+d exec rofi -modi drun -show drun \ 535bindsym $mod+d exec rofi -modi drun -show drun \
532 -config ~/.config/rofi/rofidmenu.rasi 536 -config ~/.config/rofi/rofidmenu.rasi
Powered by cgit v1.2.3 (git 2.41.0)