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
|
include-file = ~/.config/polybar/top-bar
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-center = term chrome editor fm music vpn
|
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-position = right
|
||||||
;tray-padding = 2
|
;tray-padding = 2
|
||||||
|
|
@ -40,6 +40,21 @@ modules-left = hostname vpncheck
|
||||||
modules-center = cpu memory temperature
|
modules-center = cpu memory temperature
|
||||||
modules-right = openweather
|
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]
|
[module/pulseaudio-rofi-output]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = ~/.config/Scripts/pulseaudio-rofi.sh --output_volume_listener
|
exec = ~/.config/Scripts/pulseaudio-rofi.sh --output_volume_listener
|
||||||
|
|
|
||||||
13
.zshrc
13
.zshrc
|
|
@ -10,14 +10,13 @@
|
||||||
#------------------------------
|
#------------------------------
|
||||||
# Source config files
|
# Source config files
|
||||||
#------------------------------
|
#------------------------------
|
||||||
for file in ${ZDOTDIR}/{.zaliases,.zshenv}; do
|
if [ -r $HOME/.zaliases ] ; then
|
||||||
. $file || { print "$file: cannot source file" && setopt warncreateglobal }
|
source $HOME/.zaliases
|
||||||
done
|
fi
|
||||||
|
|
||||||
# Host specific config
|
if [ -r $HOME/.zshenv ] ; then
|
||||||
for file in ${ZDOTDIR}/hosts/${HOST}/{.zshenv,.zshrc,.zaliases}; do
|
source $HOME/.zshenv
|
||||||
[[ -r $file ]] && . $file
|
fi
|
||||||
done
|
|
||||||
|
|
||||||
ZSH_THEME="spaceship"
|
ZSH_THEME="spaceship"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue