diff options
author | Yann Herklotz <git@ymhg.org> | 2019-04-03 17:31:58 +0100 |
---|---|---|
committer | Yann Herklotz <git@ymhg.org> | 2019-04-03 17:31:58 +0100 |
commit | 2caef00f1dac1767f9d0ea1e4ad97b9f11b3e0aa (patch) | |
tree | c845d35e9674b2fb8620fa5845d24992baf5f9a3 /polybar | |
parent | 92b1314a13dd181271a4ec60f3ff30972caf0f73 (diff) | |
download | dotfiles-2caef00f1dac1767f9d0ea1e4ad97b9f11b3e0aa.tar.gz dotfiles-2caef00f1dac1767f9d0ea1e4ad97b9f11b3e0aa.zip |
Add bar for second monitor
Diffstat (limited to 'polybar')
-rw-r--r-- | polybar/config | 52 | ||||
-rwxr-xr-x | polybar/launch.sh | 1 |
2 files changed, 52 insertions, 1 deletions
diff --git a/polybar/config b/polybar/config index 7c674dc..fbf09e0 100644 --- a/polybar/config +++ b/polybar/config @@ -17,7 +17,7 @@ secondary = ${xrdb:color5:#e60053} alert = ${xrdb:color1:#bd2c40} [bar/main] -;monitor = ${env:MONITOR:HDMI-1} +monitor = ${env:MONITOR:eDP-1} width = 100% height = 27 ;offset-x = 1% @@ -68,6 +68,56 @@ scroll-down = bspwm-deskprev cursor-click = pointer cursor-scroll = ns-resize +[bar/second] +monitor = DP-1 +width = 100% +height = 27 +;offset-x = 1% +;offset-y = 1% +radius = 0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = ${colors.primary} + +border-size = 0 +border-color = #00000000 + +padding-left = 1 +padding-right = 1 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = scientifica:style=Regular:pixelsize=12 +font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = FontAwesome:style=Regular +font-4 = Wuncon Siji:style=Regular:pixelsize=10;1 + +modules-left = bspwm + +tray-position = right +tray-padding = 2 +;tray-transparent = true +;tray-background = #0063ff + +wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +scroll-up = bspwm-desknext +scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + [module/xwindow] type = internal/xwindow label = %title:0:30:...% diff --git a/polybar/launch.sh b/polybar/launch.sh index 98428f8..ad30310 100755 --- a/polybar/launch.sh +++ b/polybar/launch.sh @@ -7,5 +7,6 @@ killall -q polybar while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done polybar main & +polybar second & echo "Bars launched..." |