diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-12-26 15:55:05 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-12-26 15:55:05 +0200 |
| commit | b574e14cda07f352eaf44acfe3678a794cd0ae1a (patch) | |
| tree | fe308690a0c9ec854f9107c6e603abd197503c5d /heads-up-display | |
| parent | 9aef76d2ba749889e04437df91ffbf341ce99b69 (diff) | |
| download | dotfiles-b574e14cda07f352eaf44acfe3678a794cd0ae1a.tar.gz dotfiles-b574e14cda07f352eaf44acfe3678a794cd0ae1a.zip | |
Changed process name to lowercase
Diffstat (limited to 'heads-up-display')
| -rwxr-xr-x | heads-up-display | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/heads-up-display b/heads-up-display index 8680123..5d8b20e 100755 --- a/heads-up-display +++ b/heads-up-display @@ -4,14 +4,14 @@ # Created On: Wed 05 Feb 2023 01:24:37 AM CAT # Project: bspwm scratchpad (Heads-Up-Display) with tmux session -if id="$(xdo id -N Heads-Up-Display)" - then bspc node "$id" -g hidden -f - else kitty --class "Heads-Up-Display" -e tmux new-session -A -s HUD -e bash > /dev/null 2>&1 & +if id="$(xdo id -N heads-up-display)"; then + bspc node "$id" -g hidden -f +else + kitty --class "heads-up-display" -e tmux new-session -A -s HUD -e bash >/dev/null 2>&1 & fi #- - - - - - - - - - - ### Alternative method #id=$(xdotool search --class Heads-Up-Display); @@ -25,4 +25,3 @@ fi # rm /tmp/hide_hud && xdo show "$id" # fi #fi - |
