Update theme settings

This commit is contained in:
daniele 2024-06-01 19:37:11 +02:00
parent 4378c5d6e0
commit a756a7e75a
Signed by: fuxino
GPG Key ID: 981A2B2A3BBF5514
5 changed files with 63 additions and 74 deletions

4
.Xresources Normal file
View File

@ -0,0 +1,4 @@
Xcursor.theme: catppuccin-frappe-blue-cursors
*.Dialog.bodyFont: Jetbrains Mono Nerd Font
*.Dialog.headingFont: Jetbrains Mono Nerd Font

View File

@ -127,21 +127,6 @@
"key": "│ ├󰅐", "key": "│ ├󰅐",
"keyColor": "green" "keyColor": "green"
}, },
{
"type": "sound",
"key": " SND",
"keyColor": "cyan"
},
{
"type": "player",
"key": "│ ├󰥠",
"keyColor": "cyan"
},
{
"type": "media",
"key": "│ └󰝚",
"keyColor": "cyan"
},
{ {
"type": "custom", "type": "custom",
"format": "\u001b[90m└────────────────────────────────────────────────────────────┘" "format": "\u001b[90m└────────────────────────────────────────────────────────────┘"

View File

@ -1,58 +1,59 @@
Config { overrideRedirect = True Config { overrideRedirect = True
, lowerOnStart = True , lowerOnStart = True
, font = "Jetbrains Mono Nerd Font Bold 9" , font = "Jetbrains Mono Nerd Font Bold 9"
, bgColor = "#232634" , bgColor = "#24283b"
, fgColor = "#626880" , fgColor = "#737aa2"
, position = Top , position = Top
, border = NoBorder , border = NoBorder
, borderColor = "#232634" , borderColor = "#24283b"
, allDesktops = True , allDesktops = True
, pickBroadest = True , pickBroadest = True
, commands = [ Run Weather "LZIB" , commands = [ Run Weather "LZIB"
[ "--template", "\xe302 <station>: <tempC>°C" [ "--template", "\xe302 <station>: <tempC>°C"
, "-L", "5" , "-L", "5"
, "-H", "25" , "-H", "25"
, "--low" , "#8caaee" , "--low" , "#7aa2f7"
, "--normal" , "#a6d189" , "--normal" , "#c3e88d"
, "--high" , "#eebebe" , "--high" , "#ff757f"
] 9000 ] 9000
, Run MultiCpu , Run MultiCpu
[ "--template" , "\xf4bc Cpu: <total>%" [ "--template" , "\xf4bc Cpu: <total>%"
, "--Low" , "25" , "--Low" , "25"
, "--High" , "75" , "--High" , "75"
, "--low" , "#a6d189" , "--low" , "#c3e88d"
, "--normal" , "#ef9f76" , "--normal" , "#ff9e64"
, "--high" , "#eebebe" , "--high" , "#ff757f"
] 10 ] 10
, Run CoreTemp , Run CoreTemp
[ "--template" , "Temp: <core0>°C" [ "--template" , "Temp: <core0>°C"
, "--Low" , "60" , "--Low" , "60"
, "--High" , "85" , "--High" , "85"
, "--low" , "#a6d189" , "--low" , "#c3e88d"
, "--normal" , "#ef9f76" , "--normal" , "#ff9e64"
, "--high" , "#eebebe" , "--high" , "#ff757f"
] 50 ] 50
, Run Memory , Run Memory
[ "--template" , "\xefc5 Mem: <usedratio>%" [ "--template" , "\xefc5 Mem: <usedratio>%"
, "--Low" , "20" , "--Low" , "20"
, "--High" , "60" , "--High" , "60"
, "--low" , "#a6d189" , "--low" , "#c3e88d"
, "--normal" , "#ef9f76" , "--normal" , "#ff9e64"
, "--high" , "#eebebe" , "--high" , "#ff757f"
] 50 ] 50
, Run Kbd , Run Kbd
[ ("it" , "<fc=#a6d189>IT</fc>") [ ("it" , "<fc=#c3e88d>IT</fc>")
, ("us" , "<fc=#ef9f76>US</fc>") , ("us" , "<fc=#ff9e64>US</fc>")
, ("sk(qwerty)" , "<fc=#eebebe>SK</fc>") , ("sk(qwerty)" , "<fc=#ff757f>SK</fc>")
] ]
, Run Date "\xf133 %a %Y-%m-%d <fc=#81c8be>%H:%M</fc>" "date" 10 , Run Date "\xf133 %a %Y-%m-%d <fc=#41a6b5>%H:%M</fc>" "date" 10
, Run Uptime , Run Uptime
[ "--template" , "\xf017 Uptime: <days>d <hours>h <minutes>m" [ "--template" , "\xf017 Uptime: <days>d <hours>h <minutes>m"
] 600 ] 600
, Run XPropertyLog "_XMONAD_TRAYPAD"
, Run Com "/home/fuxino/.config/xmobar/pactl_volume.sh" [] "pactl_volume" 10 , Run Com "/home/fuxino/.config/xmobar/pactl_volume.sh" [] "pactl_volume" 10
, Run XMonadLog , Run XMonadLog
] ]
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = "  | %XMonadLog% } %uptime% | %multicpu%, %coretemp% | %memory% |  %kbd% { %LZIB% | %pactl_volume% | %date% " , template = "  | %XMonadLog% } %uptime% | %multicpu%, %coretemp% | %memory% |  %kbd% { %LZIB% | %pactl_volume% | %date% %_XMONAD_TRAYPAD% "
} }

View File

@ -1,59 +1,58 @@
Config { overrideRedirect = True Config { overrideRedirect = True
, lowerOnStart = True , lowerOnStart = True
, font = "Jetbrains Mono Nerd Font Bold 9" , font = "Jetbrains Mono Nerd Font Bold 9"
, bgColor = "#232634" , bgColor = "#24283b"
, fgColor = "#626880" , fgColor = "#737aa2"
, position = Top , position = Top
, border = NoBorder , border = NoBorder
, borderColor = "#232634" , borderColor = "#24283b"
, allDesktops = True , allDesktops = True
, pickBroadest = True , pickBroadest = True
, commands = [ Run Weather "LZIB" , commands = [ Run Weather "LZIB"
[ "--template", "\xe302 <station>: <tempC>°C" [ "--template", "\xe302 <station>: <tempC>°C"
, "-L", "5" , "-L", "5"
, "-H", "25" , "-H", "25"
, "--low" , "#8caaee" , "--low" , "#7aa2f7"
, "--normal" , "#a6d189" , "--normal" , "#c3e88d"
, "--high" , "#eebebe" , "--high" , "#ff757f"
] 9000 ] 9000
, Run MultiCpu , Run MultiCpu
[ "--template" , "\xf4bc Cpu: <total>%" [ "--template" , "\xf4bc Cpu: <total>%"
, "--Low" , "25" , "--Low" , "25"
, "--High" , "75" , "--High" , "75"
, "--low" , "#a6d189" , "--low" , "#c3e88d"
, "--normal" , "#ef9f76" , "--normal" , "#ff9e64"
, "--high" , "#eebebe" , "--high" , "#ff757f"
] 10 ] 10
, Run CoreTemp , Run CoreTemp
[ "--template" , "Temp: <core0>°C" [ "--template" , "Temp: <core0>°C"
, "--Low" , "60" , "--Low" , "60"
, "--High" , "85" , "--High" , "85"
, "--low" , "#a6d189" , "--low" , "#c3e88d"
, "--normal" , "#ef9f76" , "--normal" , "#ff9e64"
, "--high" , "#eebebe" , "--high" , "#ff757f"
] 50 ] 50
, Run Memory , Run Memory
[ "--template" , "\xefc5 Mem: <usedratio>%" [ "--template" , "\xefc5 Mem: <usedratio>%"
, "--Low" , "20" , "--Low" , "20"
, "--High" , "60" , "--High" , "60"
, "--low" , "#a6d189" , "--low" , "#c3e88d"
, "--normal" , "#ef9f76" , "--normal" , "#ff9e64"
, "--high" , "#eebebe" , "--high" , "#ff757f"
] 50 ] 50
, Run Kbd , Run Kbd
[ ("it" , "<fc=#a6d189>IT</fc>") [ ("it" , "<fc=#c3e88d>IT</fc>")
, ("us" , "<fc=#ef9f76>US</fc>") , ("us" , "<fc=#ff9e64>US</fc>")
, ("sk(qwerty)" , "<fc=#eebebe>SK</fc>") , ("sk(qwerty)" , "<fc=#ff757f>SK</fc>")
] ]
, Run Date "\xf133 %a %Y-%m-%d <fc=#81c8be>%H:%M</fc>" "date" 10 , Run Date "\xf133 %a %Y-%m-%d <fc=#41a6b5>%H:%M</fc>" "date" 10
, Run Uptime , Run Uptime
[ "--template" , "\xf017 Uptime: <days>d <hours>h <minutes>m" [ "--template" , "\xf017 Uptime: <days>d <hours>h <minutes>m"
] 600 ] 600
, Run XPropertyLog "_XMONAD_TRAYPAD"
, Run Com "/home/fuxino/.config/xmobar/pactl_volume.sh" [] "pactl_volume" 10 , Run Com "/home/fuxino/.config/xmobar/pactl_volume.sh" [] "pactl_volume" 10
, Run XMonadLog , Run XMonadLog
] ]
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = "  | %XMonadLog% } %uptime% | %multicpu%, %coretemp% | %memory% |  %kbd% { %LZIB% | %pactl_volume% | %date% %_XMONAD_TRAYPAD% " , template = "  | %XMonadLog% } %uptime% | %multicpu%, %coretemp% | %memory% |  %kbd% { %LZIB% | %pactl_volume% | %date% "
} }

View File

@ -60,10 +60,10 @@ myBrowser :: String
myBrowser = "vivaldi" myBrowser = "vivaldi"
myNormBorderColor :: String myNormBorderColor :: String
myNormBorderColor = "#232634" myNormBorderColor = "#1f2335"
myFocusBorderColor :: String myFocusBorderColor :: String
myFocusBorderColor = "#81c8be" myFocusBorderColor = "#41a6b5"
myKeyboardLayoutIT :: String myKeyboardLayoutIT :: String
myKeyboardLayoutIT = " -layout it" myKeyboardLayoutIT = " -layout it"
@ -151,8 +151,8 @@ myLayoutHook = onWorkspace "2:\xe743 " myWebLayout $ onWorkspace "3:\xf1b6 " myG
myTabbed myTabbed
= renamed [Replace "Tabbed"] = renamed [Replace "Tabbed"]
$ tabbed shrinkText myTabConfig $ tabbed shrinkText myTabConfig
myTabConfig = def { activeColor = "#737994" myTabConfig = def { activeColor = "#737aa2"
, inactiveColor = "#232634" , inactiveColor = "#24283b"
} }
tiled = Tall nmaster delta ratio tiled = Tall nmaster delta ratio
nmaster = 1 nmaster = 1
@ -165,28 +165,28 @@ xmobar2 = statusBarProp "xmobar -x 1 ~/.config/xmobar/xmobarrc_hdmi" (pure myXmo
myXmobarPP :: PP myXmobarPP :: PP
myXmobarPP = def myXmobarPP = def
{ ppSep = teal "" { ppSep = moonstone ""
, ppTitleSanitize = xmobarStrip , ppTitleSanitize = xmobarStrip
, ppCurrent = wrap " " "" . xmobarBorder "Top" "#81c8be" 2 , ppCurrent = wrap " " "" . xmobarBorder "Top" "#41a6b5" 2
, ppHidden = white . wrap " " "" , ppHidden = cultured . wrap " " ""
, ppHiddenNoWindows = surface0 . wrap " " "" , ppHiddenNoWindows = policeblue . wrap " " ""
, ppUrgent = red . wrap (yellow "!") (yellow "!") , ppUrgent = brickred . wrap (topaz "!") (topaz "!")
, ppOrder = \[ws, l, _, wins] -> [ws, l, wins] , ppOrder = \[ws, l, _, wins] -> [ws, l, wins]
, ppExtras = [logTitles formatFocused formatUnfocused] , ppExtras = [logTitles formatFocused formatUnfocused]
} }
where where
formatFocused = wrap (white "[") (white "]") . teal . ppWindow formatFocused = wrap (cultured "[") (cultured "]") . moonstone . ppWindow
formatUnfocused = wrap (surface0 "[") (surface0 "]") . white . ppWindow formatUnfocused = wrap (policeblue "[") (policeblue "]") . cultured . ppWindow
ppWindow :: String -> String ppWindow :: String -> String
ppWindow = xmobarRaw . (\w -> if null w then "untitled" else w) . shorten 20 ppWindow = xmobarRaw . (\w -> if null w then "untitled" else w) . shorten 20
surface0, teal, red, white, yellow :: String -> String policeblue, moonstone, brickred, cultured, topaz :: String -> String
teal = xmobarColor "#81c8be" "" moonstone = xmobarColor "#41a6b5" ""
white = xmobarColor "#f8f8f2" "" cultured = xmobarColor "#f8f8f2" ""
yellow = xmobarColor "#e5c890" "" topaz = xmobarColor "#ffc777" ""
red = xmobarColor "#e78284" "" brickred = xmobarColor "#c53b53" ""
surface0 = xmobarColor "#414559" "" policeblue = xmobarColor "#414868" ""
-- Autostart -- Autostart
myStartupHook :: X () myStartupHook :: X ()
@ -198,7 +198,7 @@ myStartupHook = do
spawnOnce "trayer -l --edge top --align right --SetDockType true \ spawnOnce "trayer -l --edge top --align right --SetDockType true \
\--SetPartialStrut true --expand true --widthtype request \ \--SetPartialStrut true --expand true --widthtype request \
\--transparent true --tint 0x232634 --height 18 \ \--transparent true --tint 0x232634 --height 18 \
\--monitor 1" \--monitor 0"
spawnOnce "redshift-gtk" spawnOnce "redshift-gtk"
spawnOnce "udiskie" spawnOnce "udiskie"
spawnOnce "nm-applet" spawnOnce "nm-applet"