summaryrefslogtreecommitdiff
path: root/.config/polybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config98
1 files changed, 34 insertions, 64 deletions
diff --git a/.config/polybar/config b/.config/polybar/config
index 22508b8..c4a3f26 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -1,4 +1,4 @@
-; Danny's polybar config
+; Danny's Polybar config
[colors]
peach = #FFCD98
@@ -34,8 +34,8 @@ margin-top = 5
margin-bottom = 5
[bar/main0]
-;monitor = ${env:MONITOR:HDMI-0}
-monitor = ${env:MONITOR:eDP1}
+monitor = ${env:MONITOR:HDMI-0}
+;monitor = ${env:MONITOR:eDP1}
width = 100%
height = 24
bottom = false
@@ -77,22 +77,22 @@ tray-transparent = false
tray-background = ${colors.xcolor1}
; Module layouts
-modules-left = RightArrow3 i3 RightArrow2 xwindow RightArrow1 RightStripe RightArrow1
+modules-left = RightArrow2 i3 xwindow RightArrow1 RightStripe RightArrow1
modules-center = RightStripe date LeftStripe
-modules-right = arrow1 LeftStripe arrow1 filesystem arrow2 xbacklight arrow3 battery arrow2 volume arrow3 cpu arrow2 memory arrow3 updates
+modules-right = arrow1 LeftStripe arrow1 filesystem arrow2 alsa arrow3 cpu arrow2 memory arrow3 updates
[bar/main1]
inherit = bar/main0
monitor = ${env:MONITOR:DVI-I-1}
tray-position = none
-modules-left = i3 RightArrow1 RightStripe RightArrow1
+modules-left = i3 xwindow RightArrow1 RightStripe RightArrow1
[bar/main2]
inherit = bar/main0
-monitor = ${env:MONITOR:HDMI-1-2}
+monitor = ${env:MONITOR:DP-0}
tray-position = none
-modules-left = i3 RightArrow1 RightStripe RightArrow1
+modules-left = i3 xwindow RightArrow1 RightStripe RightArrow1
; Modules
@@ -102,8 +102,7 @@ interval = 5
fixed-values = true
mount-0 = /
-mount-1 = /home
-;mount-2 = /boot
+mount-1 = /mnt/fileserver
format-mounted = <label-mounted>
format-mounted-foreground = ${colors.xcolor7}
@@ -113,12 +112,29 @@ format-unmounted-foreground = ${colors.xcolor7}
format-unmounted-background = ${colors.xcolor1}
label-mounted = "%mountpoint%: %percentage_used%%"
+; %free%% %percentage_used%% %used%
label-mounted-foreground = ${colors.xcolor7}
label-mounted-background = ${colors.xcolor1}
-label-unmounted = "%mountpoint% not mounted"
+label-unmounted = %mountpoint%
label-unmounted-foreground = ${colors.xcolor7}
label-unmounted-background = ${colors.xcolor1}
+[module/alsa]
+type = internal/alsa
+
+master-soundcard = default
+master-mixer = Master
+
+format-volume = <label-volume>
+format-muted = <label-muted>
+label-volume = VOL %percentage%%
+label-muted = MUTED
+
+format-volume-foreground = ${colors.xcolor1}
+format-volume-background = ${colors.xcolor7}
+format-muted-foreground = ${colors.xcolor1}
+format-muted-background = ${colors.xcolor7}
+
[module/i3]
type = internal/i3
format = <label-state><label-mode>
@@ -135,8 +151,8 @@ label-focused-padding = 2
label-focused-font = 3
label-unfocused = %index%
label-unfocused-padding = 2
-label-unfocused-foreground = ${colors.xcolor1}
-label-unfocused-background = ${colors.xcolor7}
+label-unfocused-foreground = ${colors.xcolor7}
+label-unfocused-background = ${colors.xcolor1}
label-occupied = %index%
label-occupied-foreground = ${colors.xcolor1}
label-occupied-background = ${colors.xcolor7}
@@ -156,8 +172,8 @@ label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
-label-mode-foreground = ${self.label-focused-foreground}
-label-mode-background = ${self.label-focused-background}
+label-mode-foreground = ${colors.xcolor7}
+label-mode-background = ${colors.xcolor1}
[module/xwindow]
type = internal/xwindow
@@ -165,7 +181,6 @@ type = internal/xwindow
format-foreground = ${colors.xcolor7}
format-background = ${colors.xcolor1}
format-padding = 2
-
label = %title%
label-maxlen = 25
@@ -218,50 +233,6 @@ format-padding = 2
label = %date% %time%
-[module/volume]
-type = internal/volume
-
-master-soundcard = default
-speaker-soundcard = default
-headphone-soundcard = default
-mapping = true
-
-format-volume = <label-volume>
-
-label-volume = VOL %percentage%%
-label-volume-foreground = ${colors.xcolor1}
-label-volume-background = ${colors.xcolor7}
-label-muted = "Muted"
-label-muted-foreground = ${colors.xcolor1}
-label-muted-background = ${colors.xcolor7}
-
-ramp-volume-0 = "  "
-ramp-volume-0-foreground = ${colors.xcolor1}
-ramp-volume-0-background = ${colors.xcolor7}
-ramp-volume-1 = "  "
-ramp-volume-1-foreground = ${colors.xcolor1}
-ramp-volume-1-background = ${colors.xcolor7}
-ramp-volume-2 = "  "
-ramp-volume-2-foreground = ${colors.xcolor1}
-ramp-volume-2-background = ${colors.xcolor7}
-ramp-volume-3 = "  "
-ramp-volume-3-foreground = ${colors.xcolor1}
-ramp-volume-3-background = ${colors.xcolor7}
-
-bar-volume-width = 10
-bar-volume-background = #495858
-bar-volume-foreground-0 = #55aa55
-bar-volume-foreground-1 = #55aa55
-bar-volume-foreground-2 = #55aa55
-bar-volume-foreground-3 = #55aa55
-bar-volume-foreground-4 = #55aa55
-bar-volume-foreground-5 = #f5a70a
-bar-volume-foreground-6 = #ff5555
-bar-volume-gradient = true
-bar-volume-indicator = "|"
-bar-volume-fill = ─
-bar-volume-empty = ─
-
[module/battery]
type = internal/battery
; To list battery & adapter: $ ls -1 /sys/class/power_supply/
@@ -278,10 +249,9 @@ format-full = <label-full>
format-full-foreground = ${colors.xcolor7}
format-full-background = ${colors.xcolor1}
-label-charging = "Charging %percentage%%"
-label-discharging = "Battery %percentage%%"
+label-charging = "BAT %percentage%%"
+label-discharging = "BAT %percentage%%"
label-discharging-foreground = ${colors.xcolor7}
-label-discharging-background = ${colors.xcolor1}
label-full = "Battery Full"
; Powerline
@@ -360,7 +330,7 @@ format = <label>
format-foreground = ${colors.xcolor7}
format-background = ${colors.xcolor1}
format-padding = 1
-label = Upd: %output%
+label = Updates: %output%
interval = 90
[settings]