diff --git a/dotfiles/config/systemd/user/screencloud.service b/dotfiles/config/systemd/user/screencloud.service deleted file mode 100644 index a883a266..00000000 --- a/dotfiles/config/systemd/user/screencloud.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=ScreenCloud -Wants=taffybar.service -After=taffybar.service - -[Service] -Type=simple -ExecStart=/usr/bin/screencloud -ExecStop=/usr/bin/pkill screencloud - -[Install] -WantedBy=wm.target diff --git a/dotfiles/config/taffybar/taffybar.hs b/dotfiles/config/taffybar/taffybar.hs index 93e87bda..7aa9b327 100644 --- a/dotfiles/config/taffybar/taffybar.hs +++ b/dotfiles/config/taffybar/taffybar.hs @@ -65,6 +65,10 @@ main = do case monEither of Left _ -> 0 Right monString -> fromMaybe 0 $ readMaybe monString + let monFilter = + case monEither of + Left _ -> allMonitors + Right monString -> Nothing let memCfg = defaultGraphConfig {graphDataColors = [(1, 0, 0, 1)], graphLabel = Just "mem"} @@ -74,7 +78,9 @@ main = do , graphLabel = Just "cpu" } let clock = textClockNew Nothing "%a %b %_d %r" 1 - pagerConfig = defaultPagerConfig {useImages = True} + pagerConfig = defaultPagerConfig { + useImages = True + } mpris = mpris2New mem = pollingGraphNew memCfg 1 memCallback cpu = pollingGraphNew cpuCfg 0.5 cpuCallback @@ -82,7 +88,7 @@ main = do hudConfig = defaultWorkspaceHUDConfig { underlineHeight = 3 - , underlinePadding = 0 + , underlinePadding = 1 , minWSWidgetSize = Nothing , minIcons = 3 , getIconInfo = myGetIconInfo @@ -93,7 +99,7 @@ main = do , updateRateLimitMicroseconds = 100000 , updateIconsOnTitleChange = True , updateOnWMIconChange = True - , debugMode = True + , debugMode = False , redrawIconsOnStateChange = True } hudPagerConfig = hudFromPagerConfig pagerConfig @@ -105,15 +111,16 @@ main = do { startWidgets = [hud] , endWidgets = [ underline tray "yellow" - , underline clock "blue" - , underline mem "orange" + , underline clock "teal" + , underline mem "red" , underline cpu "green" - , underline mpris "red" + , underline mpris "blue" ] , monitorNumber = monNumber - , monitorFilter = allMonitors + , monitorFilter = monFilter , barPosition = Top , barHeight = 40 + , widgetSpacing = 5 } -- Local Variables: diff --git a/dotfiles/config/taffybar/taffybar.rc b/dotfiles/config/taffybar/taffybar.rc index 9abf7968..e117efb0 100644 --- a/dotfiles/config/taffybar/taffybar.rc +++ b/dotfiles/config/taffybar/taffybar.rc @@ -10,7 +10,7 @@ style "taffybar-default" { color["dgrey"] = "#212121" color["ldgrey"] = "#424242" color["lgrey"] = "#bdbdbd" - color["teal"] = "#80CBC4" + color["teal"] = "#00796b" color["bgrey"] = "#37474F" color["bgreyl"] = "#546E7A" color["activeWS"] = @yellow @@ -77,6 +77,12 @@ style "red" = "taffybar-default" { style "yellow" = "taffybar-default" { bg[NORMAL]= @yellow } +style "green" = "taffybar-default" { + bg[NORMAL]= @green +} +style "teal" = "taffybar-default" { + bg[NORMAL]= @teal +} widget "Taffybar*" style "taffybar-default" widget "Taffybar*WindowSwitcher*" style "taffybar-active-window" @@ -106,3 +112,4 @@ widget "*red-underline*" style "red" widget "*yellow-underline*" style "yellow" widget "*orange-underline*" style "orange" widget "*green-underline*" style "green" +widget "*teal-underline*" style "teal"