forked from colonelpanic/dotfiles
[taffybar] Bump version
This commit is contained in:
parent
f2868c0ac1
commit
a1338e63f1
@ -1 +1 @@
|
|||||||
Subproject commit 811068a21758ac70f66583e8fc07fa7189c6dc9a
|
Subproject commit 397a85cbb712235624f402a3f1157a3c637f0aab
|
@ -80,9 +80,9 @@ cpuCallback = do
|
|||||||
(_, systemLoad, totalLoad) <- cpuLoad
|
(_, systemLoad, totalLoad) <- cpuLoad
|
||||||
return [totalLoad, systemLoad]
|
return [totalLoad, systemLoad]
|
||||||
|
|
||||||
getFullWorkspaceNames :: X11Property [(WorkspaceIdx, String)]
|
getFullWorkspaceNames :: X11Property [(WorkspaceId, String)]
|
||||||
getFullWorkspaceNames = go <$> readAsListOfString Nothing "_NET_DESKTOP_FULL_NAMES"
|
getFullWorkspaceNames = go <$> readAsListOfString Nothing "_NET_DESKTOP_FULL_NAMES"
|
||||||
where go = zip [WSIdx i | i <- [0..]]
|
where go = zip [WorkspaceId i | i <- [0..]]
|
||||||
|
|
||||||
workspaceNamesLabelSetter workspace =
|
workspaceNamesLabelSetter workspace =
|
||||||
fromMaybe "" . lookup (workspaceIdx workspace) <$>
|
fromMaybe "" . lookup (workspaceIdx workspace) <$>
|
||||||
@ -101,8 +101,8 @@ logDebug = do
|
|||||||
saveGlobalLogger $ setLevel DEBUG logger
|
saveGlobalLogger $ setLevel DEBUG logger
|
||||||
logger2 <- getLogger "StatusNotifier.Tray"
|
logger2 <- getLogger "StatusNotifier.Tray"
|
||||||
saveGlobalLogger $ setLevel DEBUG logger2
|
saveGlobalLogger $ setLevel DEBUG logger2
|
||||||
workspacesLogger <- getLogger "System.Taffybar.Widget.Workspaces"
|
-- workspacesLogger <- getLogger "System.Taffybar.Widget.Workspaces"
|
||||||
saveGlobalLogger $ setLevel WARNING workspacesLogger
|
-- saveGlobalLogger $ setLevel WARNING workspacesLogger
|
||||||
-- logDebug
|
-- logDebug
|
||||||
-- logM "What" WARNING "Why"
|
-- logM "What" WARNING "Why"
|
||||||
-- enableLogger "System.Taffybar.Widget.Util" DEBUG
|
-- enableLogger "System.Taffybar.Widget.Util" DEBUG
|
||||||
@ -117,6 +117,7 @@ cssFileByHostname =
|
|||||||
]
|
]
|
||||||
|
|
||||||
main = do
|
main = do
|
||||||
|
-- logDebug
|
||||||
hostName <- getHostName
|
hostName <- getHostName
|
||||||
homeDirectory <- getHomeDirectory
|
homeDirectory <- getHomeDirectory
|
||||||
cssFilePath <-
|
cssFilePath <-
|
||||||
|
Loading…
Reference in New Issue
Block a user