From aee0f81abca3d800a68ab049001efaee74113876 Mon Sep 17 00:00:00 2001 From: pro100ton Date: Mon, 27 Jan 2025 08:38:49 +0300 Subject: [PATCH] Add some polybar config tweaks --- polybar/config.ini | 19 ++++++++++++------- polybar/mocha.ini | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 7 deletions(-) create mode 100644 polybar/mocha.ini diff --git a/polybar/config.ini b/polybar/config.ini index ce98cc7..9f7b512 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -33,16 +33,16 @@ label-unfocused-padding = 1 [colors] -background = #282A2E +background = #1d2021 background-alt = #373B41 foreground = #C5C8C6 -primary = #F0C674 +primary = #f68c23 secondary = #8ABEB7 disabled = #707880 [bar/example] width = 100% -height = 24pt +height = 28pt radius = 6 monitor = ${env:MONITOR:} @@ -69,8 +69,9 @@ separator-foreground = ${colors.disabled} font-0 = JetBrainsMonoNL Nerd Font Mono;3 -modules-left = i3 xwindow -modules-right = pulseaudio memory cpu xkeyboard date +; modules-left = i3 xwindow +modules-left = i3 +modules-right = filesystem pulseaudio memory cpu xkeyboard date cursor-click = pointer cursor-scroll = ns-resize @@ -85,9 +86,12 @@ label = %title:0:60:...% type = internal/fs interval = 25 -mount-0 = / +mount-0 = /home -label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%% +format-mounted-prefix = "DF " +format-mounted-prefix-foreground = ${colors.primary} + +label-mounted = %percentage_used%% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.disabled} @@ -252,3 +256,4 @@ unknown-as-up = true ; Default: B/s ; New in version 3.6.0 speed-unit = '' + diff --git a/polybar/mocha.ini b/polybar/mocha.ini new file mode 100644 index 0000000..4e0962a --- /dev/null +++ b/polybar/mocha.ini @@ -0,0 +1,33 @@ +;------------------------- +; Catppuccin Mocha Palette +; Maintainer: justTOBBI +;-------------------------- + +[colors] + rosewater = #f5e0dc + flamingo = #f2cdcd + pink = #f5c2e7 + mauve = #cba6f7 + red = #f38ba8 + maroon = #eba0ac + peach = #fab387 + yellow = #f9e2af + green = #a6e3a1 + teal = #94e2d5 + sky = #89dceb + sapphire = #74c7ec + blue = #89b4fa + lavender = #b4befe + text = #cdd6f4 + subtext1 = #bac2de + subtext0 = #a6adc8 + overlay2 = #9399b2 + overlay1 = #7f849c + overlay0 = #6c7086 + surface2 = #585b70 + surface1 = #45475a + surface0 = #313244 + base = #1e1e2e + mantle = #181825 + crust = #11111b + transparent = #FF00000 \ No newline at end of file