[taffybar] Disable crypto widgets on nixquick

This commit is contained in:
Kat Huang 2023-10-14 13:50:05 -06:00
parent 1663914e65
commit 3413a2cf63
2 changed files with 8 additions and 1 deletions

View File

@ -19,6 +19,7 @@
font-size: 10pt; font-size: 10pt;
font-weight: bold; font-weight: bold;
color: @font-color; color: @font-color;
background-color: @transparent;
text-shadow: 1px 1px @font-shadow-color; text-shadow: 1px 1px @font-shadow-color;
} }

View File

@ -160,7 +160,8 @@ main = do
scaledWindowIconPixbufGetter $ scaledWindowIconPixbufGetter $
getWindowIconPixbufFromChrome <|||> getWindowIconPixbufFromChrome <|||>
unscaledDefaultGetWindowIconPixbuf <|||> unscaledDefaultGetWindowIconPixbuf <|||>
(\size _ -> lift $ loadPixbufByName size "application-default-icon") (\size _ -> lift $ loadPixbufByName size
"application-default-icon")
, widgetGap = 0 , widgetGap = 0
, showWorkspaceFn = hideEmpty , showWorkspaceFn = hideEmpty
, updateRateLimitMicroseconds = 100000 , updateRateLimitMicroseconds = 100000
@ -227,7 +228,12 @@ main = do
) )
, ( "jay-lenovo" , ( "jay-lenovo"
, baseConfig { endWidgets = laptopEndWidgets } , baseConfig { endWidgets = laptopEndWidgets }
),
( "nixquick"
, baseConfig { endWidgets = [ myTray , myMpris ]
}
) )
] ]
simpleTaffyConfig = selectedConfig simpleTaffyConfig = selectedConfig
{ centerWidgets = [ myClock ] { centerWidgets = [ myClock ]