polybar: show version when starting

This commit is contained in:
Vincent Bernat 2022-07-22 14:00:52 +02:00
parent 11602af653
commit 064ea737e8

View file

@ -3,6 +3,8 @@
export DPI=$(xrdb -query | sed -nE 's/^Xft\.dpi:\s*//p') export DPI=$(xrdb -query | sed -nE 's/^Xft\.dpi:\s*//p')
export HEIGHT=$((20 * DPI / 96)) export HEIGHT=$((20 * DPI / 96))
polybar --version
# Example of setup: # Example of setup:
# xrandr --setmonitor '*'DisplayPort-3-left 1920/444x1440/334+0+0 DisplayPort-3 # xrandr --setmonitor '*'DisplayPort-3-left 1920/444x1440/334+0+0 DisplayPort-3
# xrandr --setmonitor DisplayPort-3-right 1520/352x1440/334+1920+0 none # xrandr --setmonitor DisplayPort-3-right 1520/352x1440/334+1920+0 none