From 0b473ecaa8640695ca2f748231dd68d6fb79af41 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 6 Oct 2021 02:30:07 +0300 Subject: polybar: new & improved --- .config/polybar/config##c.desktop,h.maus | 221 +++++++++++++++++++------------ 1 file changed, 139 insertions(+), 82 deletions(-) diff --git a/.config/polybar/config##c.desktop,h.maus b/.config/polybar/config##c.desktop,h.maus index 3c51ec4..b2105f2 100644 --- a/.config/polybar/config##c.desktop,h.maus +++ b/.config/polybar/config##c.desktop,h.maus @@ -10,26 +10,35 @@ ;========================================================== [colors] -background = #0c1014 -background_alt = #0a3749 -background_modules = #fbf1c7 -foreground = #d3ebe9 -foreground_alt = #99d1ce -foreground_modules = #282828 -red = #9d0006 -green = #427b58 -sold_out_green = #1DB954 -yellow = #b56714 -blue = #458588 -purple = #8f3f71 -aqua = #689d6a -orange = #d65d0e -primary = #d26937 -secondary = #888ca6 -alert = #c23127 +background = #2D2926 +background_modules = #F6F4EA +foreground = #F6F4EA +foreground_modules = #2D2926 +red = #CE3643 +green = #6AAFAA +sold_out_green = #1DB954 +yellow = #D9C91A +blue = #8AAAEB +purple = #7F21AD +aqua = #4CC9BE +orange = #C24049 + +; [colors] +; background = #080808 +; background_modules = #eeeeee +; foreground = #b2b2b2 +; foreground_modules = #080808 +; red = #ff5454 +; green = #8cc85f +; sold_out_green = #1DB954 +; yellow = #e3c78a +; blue = #80a0ff +; purple = #d183e8 +; aqua = #79dac8 +; orange = #ff5189 [bar/top] -monitor = HDMI-0 +monitor = DP-0 width = 100% height = 20 offset-x = 0 @@ -40,29 +49,43 @@ fixed-center = true background = ${colors.background} foreground = ${colors.foreground} -border-top-size = 0 -border-bottom-size = 0 -border-top-color = ${colors.background} -border-bottom-color = ${colors.background} - -padding = 2 +padding-right = 2 module-margin = 1 font-0 = scientifica:antialias=false;1 -font-1 = Lato:size=10;1 -font-2 = Raleway:size=10;1 -font-3 = FuraCode Nerd Font:size=12;2 -font-4 = Noto Color Emoji:scale=10;2 +font-1 = Siji:size=20;1 -modules-left = i3 pulseaudio-control spotify mpd +modules-left = i3 pulseaudio-control spotify mpd github modules-center = xwindow -modules-right = notification_pause cpu focus date time +modules-right = focus notification_pause cpu download upload date time tray-position = right +separator =  -[module/cpu] -label = %percentage:4%% -type = internal/cpu +[module/github] +type = internal/github + +token = ${file:/home/yigit/.local/share/polybar/github_token} +user = yigitsever +empty-notifications = false +interval = 10 +api-url = https://api.github.com/ + +format =