1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-10 04:37:46 +02:00

Compare commits

..

No commits in common. "dd24dbd0d7df061d6b4168c4ccae884a1bdceea5" and "ead803572fa98b041532fa329bb3f7b569710783" have entirely different histories.

3 changed files with 4 additions and 12 deletions

View File

@ -49,9 +49,6 @@ super + Return
Print
screenshot
super + space
touchpad toggle
super + shift + space
dunstctl close-all

View File

@ -21,6 +21,5 @@ then
fi
fi
[ -f /sys/class/net/e*/operstate ] && lanicon=$(cat /sys/class/net/e*/operstate | sed "s/down/^b#282828^^c#ff0000^  /;s/up/^b#282828^^c#dfdfdf^ 󰈀 /") || lanicon="^b#282828^^c#ff0000^  "
echo "$lanicon" "$wifiicon"
echo "$(cat /sys/class/net/e*/operstate | sed "s/down/^b#282828^^c#ff0000^  /;s/up/^b#282828^^c#dfdfdf^ 󰈀 /")" "$wifiicon"

View File

@ -4,17 +4,13 @@
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
case "$1" in
on) synclient TouchpadOff=0 && notify-send "TouchPad activated." ;;
off) synclient TouchpadOff=1 && notify-send "TouchPad deactivated." ;;
toggle) (synclient | grep "TouchpadOff.*1") && touchpad on && exit
touchpad off ;;
toggle) (synclient | grep "TouchpadOff.*1" && synclient TouchpadOff=0)>/dev/null && notify-send "TouchPad reactivated." && exit
synclient TouchpadOff=1 && notify-send "TouchPad deactivated." ;;
*) cat << EOF
touchpad: cli script to enable and disable the touchpad.
Allowed options:
on Turn touchpad on
off Turn touchpad off
toggle Toggle the touchpad on or off
toggle Toggle the touchpad on and off
all else Print this message
EOF