Update zsh, bspwm, nvim, vscode, tmux. Add fish

This commit is contained in:
Smirnov Olexandr 2021-02-20 21:29:02 +02:00
parent 1f5249ea78
commit 53d009b671
14 changed files with 236 additions and 115 deletions

View file

@ -15,11 +15,11 @@ shell=$(basename $SHELL)
manager=$(which apt pacman yay apk xbps-query 2>/dev/null)
manager=${manager##*/}
case "$manager" in
apt) packages="$(dpkg-query -f '${binary:Package}\n' -W | wc -l)";;
pacman) packages="$(pacman -Q | wc -l)";;
yay) packages="$(yay -Q | wc -l)";;
apk) packages="$(apk list --installed | wc -l)";;
xbps-query) packages="$(xbps-query -l | wc -l)";;
apt) packages="$(dpkg-query -f '${binary:Package}\n' -W | wc -l)";;
pacman) packages="$(pacman -Q | wc -l)";;
yay) packages="$(yay -Q | wc -l)";;
apk) packages="$(apk list --installed | wc -l)";;
xbps-query) packages="$(xbps-query -l | wc -l)";;
esac

View file

@ -1,6 +1,6 @@
#!/bin/sh
case "$1" in
"on"|"-on"|"--on"|1) xset led on ;;
"on"|"-on"|"--on"|1) xset led on ;;
"of"|"off"|"-off"|"--off"|0) xset led off ;;
esac