xmonadlog colors

This commit is contained in:
2024-03-13 21:00:56 +01:00
parent 7c222fc93b
commit 7b825b5125
2 changed files with 9 additions and 6 deletions

View File

@@ -57,7 +57,6 @@
## Catppuccin Theme ## Catppuccin Theme
- Firefox
- Ecosia - Ecosia
- Anki - Anki
- Zathura - Zathura
@@ -67,6 +66,7 @@
## Rofi ## Rofi
- Theme wählen - Theme wählen
- Oder Theme an Farben anpassen
## Neovim ## Neovim
@@ -142,6 +142,8 @@
- Hintergrund, Lockscreen - Hintergrund, Lockscreen
- Webhook - Webhook
## Terminal ## xmobar
- Maby auf Kitty umsteigen wegen Fira Code - XMonadLog change colors
- pulseaudioctl only gives correct answer after one change
- change bash scripts to Haskell Functions

View File

@@ -47,8 +47,8 @@ myXmobarPP = def
{ {
ppSep = pink "" ppSep = pink ""
, ppWsSep = "" , ppWsSep = ""
, ppCurrent = wrap " " "" . xmobarBorder "Top" "#f5c2e7" 2 , ppCurrent = wrap " " "" . xmobarBorder "Top" "#f38ba8" 2
, ppHidden = wrap " " "" , ppHidden = green . wrap " " ""
, ppHiddenNoWindows = gray . wrap " " "" , ppHiddenNoWindows = gray . wrap " " ""
, ppUrgent = red . wrap (yellow "!") (yellow "!") , ppUrgent = red . wrap (yellow "!") (yellow "!")
, ppTitleSanitize = xmobarStrip , ppTitleSanitize = xmobarStrip
@@ -62,8 +62,9 @@ myXmobarPP = def
ppWindow :: String -> String ppWindow :: String -> String
ppWindow = xmobarRaw . (\w -> if null w then "???" else w) . shorten 15 -- set maximum length of windowtitle to 15 ppWindow = xmobarRaw . (\w -> if null w then "???" else w) . shorten 15 -- set maximum length of windowtitle to 15
pink, gray, red, yellow :: String -> String pink, gray, red, yellow, green :: String -> String
pink = xmobarColor "#f5c2e7" "" pink = xmobarColor "#f5c2e7" ""
green = xmobarColor "#a6e3a1" ""
gray = xmobarColor "#cdd6f4" "" gray = xmobarColor "#cdd6f4" ""
red = xmobarColor "#f38ba8" "" red = xmobarColor "#f38ba8" ""
yellow = xmobarColor "#f9e2af" "" yellow = xmobarColor "#f9e2af" ""