New backup 2024-04-09 18:30:03

This commit is contained in:
Penelope Gwen 2024-04-09 18:30:03 -06:00
parent eea9257802
commit 5b0940dad6
2 changed files with 17 additions and 13 deletions

View file

@ -3,18 +3,11 @@
# Workspaces 1-10
#
mode "default" {
set $$ws "1"
bindsym $mod+Grave mode "Development"
}
mode "Development" {
set $$ws "2"
bindsym $mod+Grave mode "default"
}
set $pn "1"
# Switch to
bindsym $mod+1 workspace number 1
bindsym $mod+1 workspace number $pn
# bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4

View file

@ -3,15 +3,26 @@
op=$( echo -e " Development\n School\n Work" | wofi -i --dmenu --width 250 --height 260 | awk '{print $2}' )
echo "$op"
profile_number=""
case $op in
Development|School|Work)
break
Development)
profile_number="1"
;;
School)
profile_number="2"
;;
Work)
profile_number="3"
;;
*)
exit 1;;
exit 1
;;
esac
swaymsg 'bindsym $mod+1 workspace'
exit
new_ws="$op"
int=0