From a1d6fc2f3e6ab041cc51cb085ac59a646a126d25 Mon Sep 17 00:00:00 2001 From: Peter Son Struschka Date: Wed, 29 Jul 2020 16:40:02 +0800 Subject: basics+bspwm+herbstluftwm+i3wm+meta+polybar+xmonad: wm configs overhaul Created polybar as its own config instead of duplicated in bspwm and i3's directories allowing them both to be installed. Created herbstluftwm, xmonad window manager configs. Added scripts for a status bar, and fixed scripts. --- polybar/.config/polybar/config | 618 ++++++++++++++++++++++++++++++++++++++ polybar/.config/polybar/launch.sh | 27 ++ 2 files changed, 645 insertions(+) create mode 100644 polybar/.config/polybar/config create mode 100755 polybar/.config/polybar/launch.sh (limited to 'polybar/.config') diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config new file mode 100644 index 0000000..8bd3f20 --- /dev/null +++ b/polybar/.config/polybar/config @@ -0,0 +1,618 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/jaagr/polybar +; +; The README contains alot of information +; +;========================================================== + +[colors] +;background = ${xrdb:color0:#222} +background = #222 +background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #555 +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/base] +monitor = ${env:MONITOR:eDP1} +width = 100% +height = 40 +dpi = 96 +;offset-x = 1% +;offset-y = 1% +radius = 0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 0 +border-bottom-size = 0 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +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-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" +font-5 = "Font Awesome 5 Free:style=Solid:pixelsize=8;1" + +modules-left = +modules-center = +modules-right = + +tray-position = right +tray-padding = 2 +;tray-transparent = true +;tray-background = #0063ff +tray-scale = 1 +tray-detached = false + +;wm-restack = bspwm +;wm-restack = i3 + +override-redirect = false + +click-left = +click-middle = +click-right = +scroll-up = +scroll-down = +double-click-left = +double-click-middle = +double-click-right = + +cursor-click = pointer +cursor-scroll = ns-resize + +[bar/topbar-i3] +inherit = bar/base + +wm-restack = i3 +override-redirect = false + +click-left = +click-middle = +click-right = +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev +double-click-left = +double-click-middle = +double-click-right = + +cursor-click = pointer +cursor-scroll = ns-resize + +modules-left = hostname xwindow +modules-center = +modules-right = filesystem backlight pulseaudio xkeyboard memory cpu wlan eth ethvpn battery temperature + +[bar/topbar-bspwm] +inherit = bar/base + +wm-restack = bspwm +override-redirect = false + +click-left = +click-middle = +click-right = +scroll-up = bspwm-desknext +scroll-down = bspwm-deskprev +double-click-left = +double-click-middle = +double-click-right = + +cursor-click = pointer +cursor-scroll = ns-resize + +modules-left = hostname xwindow +modules-center = +modules-right = filesystem backlight pulseaudio xkeyboard memory cpu wlan eth ethvpn battery temperature + +[bar/topbar2-i3] +inherit = bar/base +offset-y = 0 +fixed-center = true + +wm-restack = i3 +override-redirect = false + +click-left = +click-middle = +click-right = +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev +double-click-left = +double-click-middle = +double-click-right = + +cursor-click = pointer +cursor-scroll = ns-resize + +modules-left = i3 +modules-center = spotify +modules-right = date + +[bar/topbar2-bspwm] +inherit = bar/base +offset-y = 40 +fixed-center = true + +wm-restack = bspwm +override-redirect = false + +click-left = +click-middle = +click-right = +scroll-up = bspwm-desknext +scroll-down = bspwm-deskprev +double-click-left = +double-click-middle = +double-click-right = + +cursor-click = pointer +cursor-scroll = ns-resize + +modules-left = bspwm +modules-center = spotify +modules-right = date + +;============================================================================= +; modules +;============================================================================= + +[module/hostname] +type = custom/script +interval = 256 +format = "