From 7374e5b84383141c7d294b45281ef027c0b8835f Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 15 Apr 2020 10:26:40 -0500 Subject: [PATCH] Polybar: Add config? But it segfaults? --- .config/polybar/config | 208 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 208 insertions(+) create mode 100644 .config/polybar/config diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 00000000..e65364ad --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,208 @@ +# vim:ft=dosini +# _ _ +# _ __ ___ | |_ _| |__ __ _ _ __ +# | '_ \ / _ \| | | | | '_ \ / _` | '__| +# | |_) | (_) | | |_| | |_) | (_| | | +# | .__/ \___/|_|\__, |_.__/ \__,_|_| +# |_| |___/ +# +# Copyright (c) 2020 Vintage Salt +# Distributed under the terms of the MIT License +# + +## VARIABLES +[res/colors] +red = #BF616A +green = #A3BE8C +yellow = #EBCB8B +blue = #81A1C1 +magenta = #B48EAD +cyan = #88C0D0 +white = #D8DEE9 +black = #2E3440 +gray = #3B4252 +bg = ${self.black} +fg = ${self.white} +border = ${self.border} +selection = ${self.blue} + +[res/config] +padding = 2 + +[settings] +screenchange-reload = true +format-padding = ${res/config.padding} +format-background = ${res/colors.bg} + +## BARS +[template/bar] +bottom = true +wm-restack = ${env:PB_WM_RESTACK:i3} +tray-maxsize = 16 +background = ${res/colors.bg} +foreground = ${res/colors.fg} +border-color = ${res/colors.border} +tray-background = ${res/colors.bg} +height = 48 +font-0 = "Inconsolata:style=Medium:size=11;2" +font-1 = "Deja Vu Sans Mono:style=Regular:size=11;2" + +[bar/primary] +monitor = ${env:PB_MONITOR:eDP-1} +inherit = template/bar +border-top-size = 1 +moduels-left = i3 cpu memory battery temp +modules-right = backlight pulse date + +## MODULES +[module/backlight] +type = internal/xbacklight +format =