From c69896dea86eb8a149a929edf337334a1e385c00 Mon Sep 17 00:00:00 2001 From: ITmail-dk <48917593+ITmail-dk@users.noreply.github.com> Date: Sun, 2 Jan 2022 12:29:53 +0100 Subject: [PATCH] Create config --- config/polybar/config | 402 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 402 insertions(+) create mode 100644 config/polybar/config diff --git a/config/polybar/config b/config/polybar/config new file mode 100644 index 0000000..febe915 --- /dev/null +++ b/config/polybar/config @@ -0,0 +1,402 @@ +; +; _ _ ____ ____ ___ _ _ _ ____ ____ ____ _ _ ____ _ ____ +; |\/| |__| |__/ | | |\ | [__ __ | | | |\ | |___ | | __ +; | | | | | \ | | | \| ___] |___ |__| | \| | | |__] +; +; +;========================================================================= +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; Please refer to the web documentation hosted at: +; https://github.com/polybar/polybar#configuration +; +; https://github.com/polybar/polybar/wiki/Configuration +; +;========================================================================= + +[colors] +;background = ${xrdb:color0:#222} +background = #F2272829 +background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #555 +primary = #07548c +secondary = #115ea6 +alert = #e31b37 + +[bar/bspwmbar] +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 27 +;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 = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +; Findt font name - fc-list | grep FONT NAME HER +; font-N = ; +font-0 = "DejaVu Sans:pixelsize=10;2" +font-1 = "Roboto:size=11:weight=bold;2" +font-2 = "DejaVuSansMono Nerd Font:style=Book:size=12;2" + +;font-0 = fixed:pixelsize=10;1 +;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +;font-2 = siji:pixelsize=10;1 + +modules-left = bspwm +modules-center = mpd +modules-right = pulseaudio cpu memory wlan eth date battery temperature powermenu + +; Models list - filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu + +tray-position = right +tray-padding = 2 +;tray-background = #0063ff + +wm-restack = bspwm +;wm-restack = i3 + +override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-prefix-underline = ${colors.secondary} + +label-layout = %layout% +label-layout-underline = ${colors.secondary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} +label-indicator-underline = ${colors.secondary} + +[module/filesystem] +type = internal/fs +interval = 250 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/bspwm] +type = internal/bspwm + +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +label-occupied = %index% +label-occupied-padding = 2 + +label-urgent = %index%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = %index% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 2 + +; Separator in between workspaces +; label-separator = | + +[module/mpd] +type = internal/mpd +format-online = + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format =