From 8dc2062e8004b302224aa2a1f2920886ec81e29d Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 Nov 2019 17:41:06 +0300 Subject: Mobile polybar colemak --- .config/polybar/config##mobile.Linux.Luchs | 66 ++++++++++++++++++++++-------- 1 file changed, 50 insertions(+), 16 deletions(-) diff --git a/.config/polybar/config##mobile.Linux.Luchs b/.config/polybar/config##mobile.Linux.Luchs index 376266f..656cad2 100644 --- a/.config/polybar/config##mobile.Linux.Luchs +++ b/.config/polybar/config##mobile.Linux.Luchs @@ -18,6 +18,7 @@ foreground_alt = #99d1ce foreground_modules = #282828 red = #9d0006 green = #427b58 +sold_out_green = #1DB954 yellow = #b56714 blue = #458588 purple = #8f3f71 @@ -31,10 +32,10 @@ alert = #c23127 monitor = width = 100% height = 20 -offset-x = 0% +offset-x = 0 offset-y = 0 radius = 0 -override-redirect = false +fixed-center = true background = ${colors.background} foreground = ${colors.foreground} @@ -44,7 +45,7 @@ border-bottom-size = 0 border-top-color = ${colors.background} border-bottom-color = ${colors.background} -padding = 1 +padding = 2 module-margin = 1 font-0 = scientifica:antialias=false;0 @@ -52,12 +53,29 @@ font-1 = Lato:size=10;1 font-2 = Fira Code:size=10;1 font-3 = FuraCode Nerd Font Mono:size=12;2 -modules-left = i3 +modules-left = i3 pulseaudio-control spotify modules-center = xwindow modules-right = backlight battery date time xkeyboard tray-position = right +[module/focus] +type = custom/script +exec = ~/.config/polybar/focus +interval = 10 + +[module/spotify] +type = custom/script +interval = 1 +format-prefix = "" +format-prefix-padding = 1 +format-prefix-background = ${colors.sold_out_green} +format-prefix-foreground = ${colors.foreground} +format =