all repos — dotfiles-extra @ e7b4874516df8a3f5886c29fff1d1ae88e86607a

extra configs that may be extraneous and/or may be platform specific

.config/sway/scripts/help.sh

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
#!/bin/sh
set -x
# toggles the help wrapper state

VISIBILITY_SIGNAL=30
QUIT_SIGNAL=31

if [ "$1" = "--toggle" ]; then
    pkill -f -${VISIBILITY_SIGNAL} nwg-wrapper
else
    pkill -f -${QUIT_SIGNAL} nwg-wrapper
    for output in $(swaymsg -t get_outputs --raw | jq -r '.[].name'); do
        nwg-wrapper -o $output -sv ${VISIBILITY_SIGNAL} -sq ${QUIT_SIGNAL} -s help.sh -p left -a end &
    done
fi