polybar/pulseaudio & .zshrc changes
This commit is contained in:
parent
621e251ba4
commit
5e49d325e8
|
|
@ -26,7 +26,7 @@ monitor = ${env:MONITOR:eDP-1}
|
|||
include-file = ~/.config/polybar/top-bar
|
||||
modules-left = i3
|
||||
modules-center = term chrome editor fm music vpn
|
||||
modules-right = wlan pkg pulseaudio-rofi-output battery backlight networkmanager popup-calendar
|
||||
modules-right = wlan pkg pulseaudio battery backlight networkmanager popup-calendar
|
||||
|
||||
;tray-position = right
|
||||
;tray-padding = 2
|
||||
|
|
@ -40,6 +40,21 @@ modules-left = hostname vpncheck
|
|||
modules-center = cpu memory temperature
|
||||
modules-right = openweather
|
||||
|
||||
[module/pulseaudio-control]
|
||||
type = custom/script
|
||||
tail = true
|
||||
label=%output%
|
||||
format-underline = ${colors.blue}
|
||||
|
||||
exec = ~/.config/Scripts/pulseaudio-control.sh --listen
|
||||
click-right = exec pavucontrol
|
||||
click-left = ~/.config/Scripts/pulseaudio-control.sh --togmute
|
||||
click-middle = ~/.config/Scripts/pulseaudio-control.sh --change
|
||||
scroll-up = ~/.config/Scripts/pulseaudio-control.sh --up
|
||||
scroll-down = ~/.config/Scripts/pulseaudio-control.sh --down
|
||||
label-padding = 2
|
||||
label-foreground = ${colors.foreground}
|
||||
|
||||
[module/pulseaudio-rofi-output]
|
||||
type = custom/script
|
||||
exec = ~/.config/Scripts/pulseaudio-rofi.sh --output_volume_listener
|
||||
|
|
|
|||
13
.zshrc
13
.zshrc
|
|
@ -10,14 +10,13 @@
|
|||
#------------------------------
|
||||
# Source config files
|
||||
#------------------------------
|
||||
for file in ${ZDOTDIR}/{.zaliases,.zshenv}; do
|
||||
. $file || { print "$file: cannot source file" && setopt warncreateglobal }
|
||||
done
|
||||
if [ -r $HOME/.zaliases ] ; then
|
||||
source $HOME/.zaliases
|
||||
fi
|
||||
|
||||
# Host specific config
|
||||
for file in ${ZDOTDIR}/hosts/${HOST}/{.zshenv,.zshrc,.zaliases}; do
|
||||
[[ -r $file ]] && . $file
|
||||
done
|
||||
if [ -r $HOME/.zshenv ] ; then
|
||||
source $HOME/.zshenv
|
||||
fi
|
||||
|
||||
ZSH_THEME="spaceship"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue