diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 378bab6..07726b8 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -43,6 +43,25 @@ border-size = 3 line-size = 8 +[bar/secondary] +modules-left = bspwm +modules-center = mpd +modules-right = cpu ram volume date time + +monitor = VGA-1 +foreground = ${color.text} +background = ${color.background} +font-0 = "Fira Mono:size=22" +font-1 = "Noto Sans CJK JP:size=22" + +height = 80 +padding-left = 2 +padding-right = 2 +module-margin = 1 +border-color = ${color.background} +border-bottom-size = 0 +line-size = 4 + [module/bspwm] type = internal/bspwm pin-workspaces = true diff --git a/polybar/.config/polybar/launch.sh b/polybar/.config/polybar/launch.sh index 302989c..ea7b2b5 100644 --- a/polybar/.config/polybar/launch.sh +++ b/polybar/.config/polybar/launch.sh @@ -1,3 +1,4 @@ +#!/bin/sh # New Start: A modern Arch workflow built with an emphasis on functionality. # Copyright (C) 2017 Donovan Glover @@ -8,4 +9,4 @@ killall -q polybar while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done # Start polybar -polybar main & +polybar secondary & diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 687a21c..ad3ef4c 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -120,8 +120,8 @@ super + o # this does not apply to all desktops, so we have to specify it manually here # top_padding depends on the height you set in polybar/config super + O - xdo show -N "Polybar" && bspc config top_padding 128 - # xdo show -N "Polybar" && bspc config top_padding 80 + xdo show -N "Polybar" && bspc config top_padding 80 + # xdo show -N "Polybar" && bspc config top_padding 128 # ===================== # ===== Preselect =====