From 6bc17af49c01d845f37ae5220b2103207db71371 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sat, 14 Sep 2019 05:22:50 -0400 Subject: [PATCH] Add Polybar configs --- polybar/.config/polybar/config | 235 +++++++++++++++++++++++ polybar/.config/polybar/start-polybar.sh | 8 + 2 files changed, 243 insertions(+) create mode 100644 polybar/.config/polybar/config create mode 100755 polybar/.config/polybar/start-polybar.sh diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config new file mode 100644 index 0000000..87fab65 --- /dev/null +++ b/polybar/.config/polybar/config @@ -0,0 +1,235 @@ +[bar/top] +monitor = ${env:MONITOR} +width = 100% +height = 34 + +background = #00000000 +foreground = #ccffffff + +line-color = ${bar/bottom.background} +line-size = 16 + +spacing = 2 +padding-right = 5 +module-margin = 4 + +font-0 = NotoSans-Regular:size=8;-1 +font-1 = MaterialIcons:size=10;0 +font-2 = Termsynu:size=8:antialias=false;-2 +font-3 = FontAwesome:size=10;0 +font-4 = Unifont:size=8;0 + +modules-left = powermenu +modules-center = ki3 +modules-right = volume wired-network clock + +[bar/bottom] +monitor = ${env:MONITOR} +bottom = true +width = 100% +height = 27 + +background = ${bar/top.background} +foreground = ${bar/top.foreground} + +line-color = ${bar/top.background} +line-size = 2 + +spacing = 3 +padding-right = 4 +module-margin-left = 0 +module-margin-right = 6 + +font-0 = NotoSans-Regular:size=8;0 +font-1 = unifont:size=6;-3 +font-2 = FontAwesome:size=8;-2 +font-3 = NotoSans-Regular:size=8;-1 +font-4 = MaterialIcons:size=10;-1 +font-5 = Termsynu:size=8:antialias=false;0 + +modules-left = +modules-right = cpu memory + +[module/powermenu] +type = custom/menu + +format-padding = 5 + +label-open = ䷡ +label-close = X + +menu-0-0 = Terminate WM +menu-0-0-foreground = #fba922 +menu-0-0-exec = bspc quit -1 +menu-0-1 = Reboot +menu-0-1-foreground = #fba922 +menu-0-1-exec = menu_open-1 +menu-0-2 = Power off +menu-0-2-foreground = #fba922 +menu-0-2-exec = menu_open-2 + +menu-1-0 = Cancel +menu-1-0-foreground = #fba922 +menu-1-0-exec = menu_open-0 +menu-1-1 = Reboot +menu-1-1-foreground = #fba922 +menu-1-1-exec = sudo reboot + +menu-2-0 = Power off +menu-2-0-foreground = #fba922 +menu-2-0-exec = sudo poweroff +menu-2-1 = Cancel +menu-2-1-foreground = #fba922 +menu-2-1-exec = menu_open-0 + +[module/cpu] +type = internal/cpu +interval = 0.5 +format =