diff --git a/.assets/polybar/clock.png b/.assets/polybar/clock.png new file mode 100644 index 0000000..974ed2f Binary files /dev/null and b/.assets/polybar/clock.png differ diff --git a/.assets/polybar/clock_alt.png b/.assets/polybar/clock_alt.png new file mode 100644 index 0000000..2027089 Binary files /dev/null and b/.assets/polybar/clock_alt.png differ diff --git a/.assets/polybar/full.png b/.assets/polybar/full.png new file mode 100644 index 0000000..e45d85c Binary files /dev/null and b/.assets/polybar/full.png differ diff --git a/.assets/polybar/i3-highlight.png b/.assets/polybar/i3-highlight.png new file mode 100644 index 0000000..46402bd Binary files /dev/null and b/.assets/polybar/i3-highlight.png differ diff --git a/.assets/polybar/i3-mode.png b/.assets/polybar/i3-mode.png new file mode 100644 index 0000000..d4b2e45 Binary files /dev/null and b/.assets/polybar/i3-mode.png differ diff --git a/.assets/polybar/i3-normal.png b/.assets/polybar/i3-normal.png new file mode 100644 index 0000000..d6ead86 Binary files /dev/null and b/.assets/polybar/i3-normal.png differ diff --git a/.assets/polybar/minimal.png b/.assets/polybar/minimal.png new file mode 100644 index 0000000..b612555 Binary files /dev/null and b/.assets/polybar/minimal.png differ diff --git a/.assets/polybar/mpris.png b/.assets/polybar/mpris.png new file mode 100644 index 0000000..a3363f3 Binary files /dev/null and b/.assets/polybar/mpris.png differ diff --git a/.assets/polybar/network.png b/.assets/polybar/network.png new file mode 100644 index 0000000..e5928e1 Binary files /dev/null and b/.assets/polybar/network.png differ diff --git a/.assets/polybar/system.png b/.assets/polybar/system.png new file mode 100644 index 0000000..7be3734 Binary files /dev/null and b/.assets/polybar/system.png differ diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 6bda321..b454fc4 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -44,6 +44,10 @@ margin-top = 0 margin-bottom = 0 [bar/simple-top] +; enable inter process communication, so that we can send messages +; to polybar via polybar-msg command +enable-ipc = true + ; Put the bar at the bottom of the screen bottom=false @@ -175,12 +179,12 @@ interval = 1.0 ; To list all the zone types, run ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done ; Default: 0 -thermal-zone = 0 +thermal-zone = 2 ; Use `sensors` to find preferred temperature source, then run ; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done ; hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input ; Base temperature for where to start the ramp (in degrees celsius) -base-temperature = 40 +base-temperature = 50 ; Threshold temperature to display warning label (in degrees celsius) warn-temperature = 70 units = true @@ -220,17 +224,19 @@ click-right = kill -USR2 %pid% ; display information on remaining papers to read for the upcoming week [module/papersdue] type = custom/script -exec = $XDG_BIN_HOME/bib_due $BIBFILE | wc -l -exec-if = type $XDG_BIN_HOME/bib_due -click-left = tdrop -w "15%" -h $(echo "$(bib_due $BIBFILE | wc -l) * 25" | bc ) -x "45%" -y "15" -ma alacritty -e watch -t bib_due $BIBFILE +exec = bib-due $BIBFILE | wc -l +exec-if = type bib-due +click-left = tdrop -w "15%" -h $(echo "$(bib-due $BIBFILE | wc -l) * 25" | bc ) -x "45%" -y "15" -ma alacritty -e watch -t bib-due $BIBFILE format-foreground = ${colors.primary} -format-padding = 2 -format-prefix = " " -interval = 2 +format-prefix = "" +interval = 120 +; display unified available packages for update on arch from repos/aur +; uses pacman-contrib/checkupdates if available to avoid partial arch upgrades [module/archupdates] type = custom/script exec = $XDG_CONFIG_HOME/polybar/scripts/poly-archupdates +exec-if = type $XDG_CONFIG_HOME/polybar/scripts/poly-archupdates interval = 600 format =