xinput set-prop "Atmel maXTouch Touchpad" 260 {1} 2>/dev/null xinput set-prop "Atmel maXTouch Touchpad" 262 {0} 2>/dev/null xinput set-prop "Atmel maXTouch Touchpad" 280 {0.2} 2>/dev/null alias brightness 'sudo nano /sys/class/backlight/backlight/brightness' function battery set y (cat /sys/class/power_supply/sbs-9-000b/charge_full) set x (cat /sys/class/power_supply/sbs-9-000b/charge_now) math -s2 "$x/$y * 100" end set -x TZ 'America/Chicago' alias vpn 'sudo openvpn --config /home/cole/Downloads/us-chicago.ovpn --auth-user-pass /home/cole/Downloads/pass' set touchpadEnabled 1 alias arduino /home/cole/Downloads/arduino-nightly/arduino alias ppu 'sudo pacman -Sy; and pp -Su --noconfirm; and pikaur -Su; and sudo rm /var/cache/pacman/pkg/*; and pikaur -Scc --noconfirm' alias pp 'sudo powerpill' alias add 'git add .config/fish/config.fish .config/pulse/3cfb1915dbe54ca3a921435cb523fa90-device-volumes.tdb .config/pulse/3cfb1915dbe54ca3a921435c$ sudo rfkill block bluetooth function fish_prompt /usr/bin/powerline-go -error $status -shell bare -modules nix-shell,venv,user,host,ssh,cwd,perms,git,hg,root,vgo end function ss sleep $argv > /dev/null 2>&1 set timesave (date +'SCRSHOT_%m-%d_%I:%M:%S_%p.png') gnome-screenshot -a -f ~/$timesave > /dev/null 2>&1 echo 'Screenshot saved at ~/'$timesave end function getvol #killall twmnc set vol (pactl list sinks | grep '^[[:space:]]Volume:' | head -n 1 | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,') if [ $vol -gt '100' ] set vol 100 pactl set-sink-volume 0 100% end twmnc --remote hide twmnc -t "Volume: $vol" #twmnc --remote activate #notify-send -t 50 'Volume: '$vol'%' end