From c7a1e0448d45a5ea09cfbf238428f7da9a7de67a Mon Sep 17 00:00:00 2001 From: ktyl Date: Wed, 5 Jan 2022 19:34:22 +0000 Subject: [PATCH] add polybar --- .config/polybar/.visible | 0 .config/polybar/config | 363 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 363 insertions(+) create mode 100644 .config/polybar/.visible create mode 100644 .config/polybar/config diff --git a/.config/polybar/.visible b/.config/polybar/.visible new file mode 100644 index 0000000..e69de29 diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 0000000..e824562 --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,363 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +;background = ${xrdb:color0:#222} +background = ${xrdb:color0} +background-alt = ${xrdb:color2} +foreground = ${xrdb:color7} +;foreground = #dfdfdf +foreground-alt = ${xrdb:color3} + +primary = ${xrdb:color5} +secondary = #{xrdb:color7} +alert = #bd2c40 + +[bar/example] +enable-ipc = true +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 27 +;offset-x = 1% +;offset-y = 1% +radius = 0.0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 0 +line-color = #f00 + +border-size = 0 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = inter:pixelsize=12;3 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=12;2 + +modules-left = ipc bspwm +modules-center = xwindow +#modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu +modules-right = pulseaudio battery date + +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:100:...% + +[module/bspwm] +type = internal/bspwm + +label-focused = = +label-focused-foreground = ${colors.background} +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +label-occupied = - +label-occupied-padding = 2 + +label-urgent = ! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = _ +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 =