Add a shortcut to restart polybar to polybar

This commit is contained in:
2022-11-09 17:36:33 +01:00
parent 7de9c0677b
commit 5ed02c3e3b
2 changed files with 46 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ font-2 = siji:pixelsize=10;1
font-3 = "SauceCodePro Nerd Font Mono:size=16;4" font-3 = "SauceCodePro Nerd Font Mono:size=16;4"
font-4 = "SauceCodePro Nerd Font Mono:size=13;2" font-4 = "SauceCodePro Nerd Font Mono:size=13;2"
modules-left = restart_polybar
modules-center = temperature modules-center = temperature
modules-right = memory cpu wlan eth modules-right = memory cpu wlan eth
@@ -458,6 +459,12 @@ click-left = toggle-run "polybar sys"
content =  content = 
content-font = 4 content-font = 4
[module/restart_polybar]
type = custom/text
click-left = ~/.config/polybar/launch.sh
content = RESTART
content-font = 4
[module/rofi] [module/rofi]
type = custom/text type = custom/text
click-left = jgmenu_run click-left = jgmenu_run

View File

@@ -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