From 37dd411698bd6eae8365260dde39b8ae9c7cbd36 Mon Sep 17 00:00:00 2001 From: Peter Son Struschka Date: Sun, 30 Aug 2020 20:56:36 +0800 Subject: all: overhaul, move dotfile specifics to .local/share/dotfiles and more --- polybar/.config/polybar/config | 15 +++++++++++++-- polybar/.local/share/dotfiles/edit-config.d/polybar | 1 + 2 files changed, 14 insertions(+), 2 deletions(-) create mode 120000 polybar/.local/share/dotfiles/edit-config.d/polybar (limited to 'polybar') diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 8bd3f20..4628468 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -30,7 +30,7 @@ alert = #bd2c40 [bar/base] monitor = ${env:MONITOR:eDP1} width = 100% -height = 40 +height = 16 dpi = 96 ;offset-x = 1% ;offset-y = 1% @@ -54,7 +54,7 @@ module-margin-left = 1 module-margin-right = 2 font-0 = fixed:pixelsize=10;1 -font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-1 = unifont:fontformat=truetype:size=10:antialias=false;0 font-2 = siji:pixelsize=10;1 font-3 = "Font Awesome 5 Brands:style=Regular:pixelsize=8;1" font-4 = "Font Awesome 5 Free:style=Regular:pixelsize=8;1" @@ -132,6 +132,14 @@ modules-left = hostname xwindow modules-center = modules-right = filesystem backlight pulseaudio xkeyboard memory cpu wlan eth ethvpn battery temperature +[bar/topbar-herbstluftwm] +inherit = bar/base + +scroll-up = herbstclient use_index +1 +scroll-down = herbstclient use_index -1 +modules-left = hostname xwindow +modules-right = filesystem backlight pulseaudio xkeyboard memory cpu wlan eth ethvpn battery temperature + [bar/topbar2-i3] inherit = bar/base offset-y = 0 @@ -184,6 +192,9 @@ modules-right = date ; modules ;============================================================================= +[module/herbstluftwm] +type = custom/script + [module/hostname] type = custom/script interval = 256 diff --git a/polybar/.local/share/dotfiles/edit-config.d/polybar b/polybar/.local/share/dotfiles/edit-config.d/polybar new file mode 120000 index 0000000..793ae31 --- /dev/null +++ b/polybar/.local/share/dotfiles/edit-config.d/polybar @@ -0,0 +1 @@ +../../../../.config/polybar/config \ No newline at end of file -- cgit v1.2.3