[sh] Remove dimswitch,clean homedir,improve exist
Removed dimswitch script. I liked it but it has been utterly superseded by styler; if wanting to switch light and dark I can just switch to light or dark base16 theme and do not have to rely on alacritty config file hacking through dimswitch (well, now just through styler, yay.) exist script will print message to stdout even if it prints to notify, this makes more sense since now passing a loudness factor just adds it to the message, instead of replacing printed message with libnotify. Added stow ignores to top-level files. Not entirely sure if it is needed, but they were linked on my system and the change shouldn't hurt.
This commit is contained in:
parent
92a01d99ee
commit
393dd4e042
3 changed files with 4 additions and 199 deletions
|
|
@ -9,9 +9,8 @@ else
|
|||
if [ -n "$2" ]; then
|
||||
if command -v notify-send >/dev/null; then
|
||||
notify-send "📦 $1" --urgency="$2" "must be installed for this function."
|
||||
else
|
||||
printf "%s: 📦 %s must be installed for this function.\n" "$2" "$1"
|
||||
fi
|
||||
printf "%s: 📦 %s must be installed for this function.\n" "$2" "$1"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue