From 5ed02c3e3b02b2b3caef6beb217f36203e83e80b Mon Sep 17 00:00:00 2001 From: VectorKappa Date: Wed, 9 Nov 2022 17:36:33 +0100 Subject: [PATCH] Add a shortcut to restart polybar to polybar --- polybar/.config/polybar/config | 7 +++++ polybar/.config/polybar/macchiato.ini | 39 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 polybar/.config/polybar/macchiato.ini diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index dee23a9..9c61935 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -139,6 +139,7 @@ font-2 = siji:pixelsize=10;1 font-3 = "SauceCodePro Nerd Font Mono:size=16;4" font-4 = "SauceCodePro Nerd Font Mono:size=13;2" +modules-left = restart_polybar modules-center = temperature modules-right = memory cpu wlan eth @@ -458,6 +459,12 @@ click-left = toggle-run "polybar sys" content =  content-font = 4 +[module/restart_polybar] +type = custom/text +click-left = ~/.config/polybar/launch.sh +content = RESTART +content-font = 4 + [module/rofi] type = custom/text click-left = jgmenu_run diff --git a/polybar/.config/polybar/macchiato.ini b/polybar/.config/polybar/macchiato.ini new file mode 100644 index 0000000..d950747 --- /dev/null +++ b/polybar/.config/polybar/macchiato.ini @@ -0,0 +1,39 @@ +;------------------------- +; Catppuccin Macchiato Palette +; Maintainer: justTOBBI +;-------------------------- + +[colors] + base = #24273a + mantle = #1e2030 + crust = #181926 + + text = #cad3f5 + subtext0 = #a5adcb + subtext1 = #b8c0e0 + + surface0 = #363a4f + surface1 = #494d64 + surface2 = #5b6078 + + overlay0 = #6e738d + overlay1 = #8087a2 + overlay2 = #939ab7 + + + blue = #8aadf4 + lavender = #b7bdf8 + sapphire = #7dc4e4 + sky = #91d7e3 + teal = #8bd5ca + green = #a6da95 + yellow = #eed49f + peach = #f5a97f + maroon = #ee99a0 + red = #ed8796 + mauve = #c6a0f6 + pink = #f5bde6 + flamingo = #f0c6c6 + rosewater = #f4dbd6 + + transparent = #FF00000 \ No newline at end of file