Update volume script to proper standard

This commit is contained in:
Riyyi
2020-04-10 12:54:55 +02:00
parent 3cf6fb84d9
commit 220281b59c
5 changed files with 113 additions and 60 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ interval = 5
sink = alsa_output.pci-0000_00_1f.3.analog-stereo
use-ui-max = false
format-volume = %{A1:pavucontrol:}%{A2:$HOME/.scripts/mediacontrol.sh set 0:}%{A3:$HOME/.scripts/mediacontrol.sh toggle:}<ramp-volume> <label-volume>%{A}%{A}%{A}
format-volume = %{A1:pavucontrol:}%{A2:$HOME/.scripts/volctl.sh s 0:}%{A3:$HOME/.scripts/volctl.sh t:}<ramp-volume> <label-volume>%{A}%{A}%{A}
format-volume-foreground = ${colors.white-bright}
ramp-volume-0 = 
@@ -46,7 +46,7 @@ ramp-volume-3 = 
label-volume = %percentage%%
format-muted = %{A1:pavucontrol:}%{A2:$HOME/.scripts/mediacontrol.sh set 0:}%{A3:$HOME/.scripts/mediacontrol.sh toggle:}<label-muted>%{A}%{A}%{A}
format-muted = %{A1:pavucontrol:}%{A2:$HOME/.scripts/volctl.sh s 0:}%{A3:$HOME/.scripts/volctl.sh t:}<label-muted>%{A}%{A}%{A}
format-muted-foreground = ${wmcolors.fgcolor-inactive}
label-muted =  %percentage%%
+1 -1
View File
@@ -42,7 +42,7 @@ super + {F2,F3}
# Volume
XF86Audio{LowerVolume,RaiseVolume,Mute}
mediacontrol.sh {down 5,up 5,toggle}
volctl.sh {dec 5,inc 5,toggle}
# Touchpad toggle
XF86HomePage
+1 -1
View File
@@ -133,8 +133,8 @@ alias gdc="git diff --cached"
alias gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d %C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all"
# Scripts
alias mc="$HOME/.scripts/mediacontrol.sh"
alias nw="$HOME/.scripts/network.sh"
alias vc="$HOME/.scripts/volctl.sh"
alias vp="$HOME/.scripts/vimplugin.sh"
alias mpvshuffle="$HOME/.scripts/mpv.sh shuffle"