mirror of
https://gitlab.com/thebiblelover7/dotfiles.git
synced 2025-09-13 07:03:50 +00:00
27 lines
375 B
Bash
Executable File
27 lines
375 B
Bash
Executable File
#!/bin/bash
|
|
|
|
c_wksp=$(( $(wmctrl -d | grep '*' | cut --delimiter=' ' -f1) + 1 ))
|
|
case $c_wksp in
|
|
'1')
|
|
brave
|
|
;;
|
|
'2')
|
|
alacritty
|
|
;;
|
|
'3')
|
|
schildichat-desktop
|
|
;;
|
|
'4')
|
|
vlc
|
|
;;
|
|
'5')
|
|
nautilus
|
|
;;
|
|
'6')
|
|
spotify
|
|
;;
|
|
*)
|
|
echo "What was that?"
|
|
;;
|
|
esac
|