polybar..

This commit is contained in:
Harri Lahtinen 2019-06-12 22:52:46 +03:00
parent 3d92c7caee
commit bb1e95ecae
3 changed files with 22 additions and 4 deletions

View File

@ -1,7 +1,6 @@
[bar/bottom]
width = 100%
height = 22
height = 16
fixed-center = true
bottom = true
background = ${colors.background}

View File

@ -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 = pkg pulseaudio-rofi-output battery backlight wlan networkmanager popup-calendar
modules-right = wlan pkg pulseaudio-rofi-output battery backlight networkmanager popup-calendar
;tray-position = right
;tray-padding = 2
@ -40,6 +40,16 @@ modules-left = hostname vpncheck
modules-center = cpu memory temperature
modules-right = openweather
;-------------------------------------------------------------------------------;
; D E C O R A T I O N S ;
;-------------------------------------------------------------------------------;
[module/arrowi3]
type = custom/text
content = ""
content-font = 2
content-foreground = ${colors.blue}
content-background = ${colors.background}
[module/pulseaudio-rofi-output]
type = custom/script
exec = ~/.config/Scripts/pulseaudio-rofi.sh --output_volume_listener
@ -49,6 +59,15 @@ click-left = ~/.config/Scripts/pulseaudio-rofi.sh --mute
scroll-up = ~/.config/Scripts/pulseaudio-rofi.sh --volume_up
scroll-down = ~/.config/Scripts/pulseaudio-rofi.sh --volume_down
[module/pulseaudio-rofi-input]
type = custom/script
exec = ~/.config/Scripts/pulseaudio-rofi.sh --input_volume_listener
tail = true
click-right = ~/polybar-scripts/pulseaudio-rofi.sh --input
click-left = ~/polybar-scripts/pulseaudio-rofi.sh --mute_source
scroll-up = ~/polybar-scripts/pulseaudio-rofi.sh --volume_source_up
scroll-down = ~/polybar-scripts/pulseaudio-rofi.sh --volume_source_down
[module/pulseaudio]
type = internal/pulseaudio
sink = bluez_sink.E8_07_BF_33_4D_F2.headset_head_unit

View File

@ -1,6 +1,6 @@
[bar/top]
width = 100%
height = 22
height = 16
fixed-center = true
bottom = false
background = ${colors.background}