New backup 2024-04-09 19:00:03
This commit is contained in:
parent
7922618b04
commit
1ef16b1e1b
2 changed files with 7 additions and 3 deletions
|
@ -6,6 +6,9 @@ echo "$op"
|
|||
profile_number=""
|
||||
|
||||
case $op in
|
||||
Personal)
|
||||
profile_number=""
|
||||
;;
|
||||
Development)
|
||||
profile_number="1"
|
||||
;;
|
||||
|
@ -21,8 +24,9 @@ case $op in
|
|||
esac
|
||||
|
||||
for i in {1..10};do
|
||||
[[ "$i" -eq "10" ]] && echo "10"
|
||||
#swaymsg 'bindsym $mod+1 workspace number "'"${profile_number}${i}"'"'
|
||||
[[ "$i" -eq "10" ]] && k="0" || k=$i
|
||||
echo $k
|
||||
swaymsg 'bindsym $mod+'"$k"' workspace number "'"${profile_number}${i}"'"'
|
||||
done
|
||||
|
||||
exit
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"format": "{icon}",
|
||||
"format": "{name}",
|
||||
"format-icons": {
|
||||
// "1": "",
|
||||
// "2": "",
|
||||
|
|
Loading…
Add table
Reference in a new issue