foxed monitor for polybar

This commit is contained in:
2020-07-09 13:17:17 +02:00
parent 51b65a654a
commit f822276f68
2 changed files with 8 additions and 5 deletions

View File

@@ -22,9 +22,7 @@ alert = #bd2c40
[bar/main]
enable-ipc = true
#monitor = ${env:MONITOR:LVDS-1}
MONITOR=$(polybar -m|tail -1|sed -e 's/:.*$//g')
monitor-fallback = ${env:MONITOR:LVDS-1}
monitor = ${env:MONITOR}
width = 100%
height = 25
;offset-x = 1%