switch to pikaur!

master
shark 6 years ago
parent 94cce47b18
commit 8375920229

@ -11,9 +11,9 @@ set -x TZ 'America/Chicago'
alias vpn 'sudo openvpn --config /home/cole/Downloads/us-chicago.ovpn --auth-user-pass /home/cole/Downloads/pass' alias vpn 'sudo openvpn --config /home/cole/Downloads/us-chicago.ovpn --auth-user-pass /home/cole/Downloads/pass'
set touchpadEnabled 1 set touchpadEnabled 1
alias arduino /home/cole/Downloads/arduino-nightly/arduino alias arduino /home/cole/Downloads/arduino-nightly/arduino
alias ppu 'sudo pacman -Sy; and pp -Su --noconfirm; and yay -Su; and yay -Scc' 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 pp 'sudo powerpill'
alias add 'git add .config/fish/config.fish .config/pulse/3cfb1915dbe54ca3a921435cb523fa90-device-volumes.tdb .config/pulse/3cfb1915dbe54ca3a921435cb523fa90-stream-volumes.tdb .config/termite/config .local/share/applications/*' alias add 'git add .config/fish/config.fish .config/pulse/3cfb1915dbe54ca3a921435cb523fa90-device-volumes.tdb .config/pulse/3cfb1915dbe54ca3a921435c$
sudo rfkill block bluetooth sudo rfkill block bluetooth
function fish_prompt function fish_prompt
@ -28,6 +28,7 @@ function ss
end end
function getvol 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,') 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' ] if [ $vol -gt '100' ]
set vol 100 set vol 100
@ -35,4 +36,6 @@ function getvol
end end
twmnc --remote hide twmnc --remote hide
twmnc -t "Volume: $vol" twmnc -t "Volume: $vol"
#twmnc --remote activate
#notify-send -t 50 'Volume: '$vol'%'
end end
Loading…
Cancel
Save