add script to change screen

This commit is contained in:
Pim Kunis 2023-02-23 21:19:38 +01:00
parent 0e17da9f9c
commit e96cfc90b5
4 changed files with 19 additions and 0 deletions

View file

@ -141,3 +141,13 @@ bar {
focus_follows_mouse no
bindsym $mod+Escape exec i3lock
set $mode_screen Screen layout: [h]ome [m]obile
bindsym $mod+s mode "$mode_screen"
mode "$mode_screen" {
bindsym h exec ~/.config/i3/scripts/home.sh, mode "default"
bindsym m exec ~/.config/i3/scripts/mobile.sh, mode "default"
bindsym Escape mode "default"
bindsym Return mode "default"
}