diff options
Diffstat (limited to '.scripts/Heads-Up-Display')
| -rwxr-xr-x | .scripts/Heads-Up-Display | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/.scripts/Heads-Up-Display b/.scripts/Heads-Up-Display deleted file mode 100755 index 8680123..0000000 --- a/.scripts/Heads-Up-Display +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -# Created By: srdusr -# 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 & -fi - -#- - - - - - - - - - - - -### Alternative method - -#id=$(xdotool search --class Heads-Up-Display); -#if [ -z "$id" ]; then -# #kitty --class "Heads-Up-Display" -e tmux new-session -A -s HUD -e bash > /dev/null 2>&1 & -# alacritty --class "Heads-Up-Display" -e tmux new-session -A -s HUD -e bash > /dev/null 2>&1 & -#else -# if [ ! -f /tmp/hide_hud ]; then -# touch /tmp/hide_hud && xdo hide "$id" -# elif [ -f /tmp/hide_hud ]; then -# rm /tmp/hide_hud && xdo show "$id" -# fi -#fi - |
