Skip to content

Commit

Permalink
Replaced XMonadLog for TaffyPager
Browse files Browse the repository at this point in the history
Since XMonadLog is deprecated I think this fits better as an example configuration.
  • Loading branch information
José P. L. Martín committed Oct 19, 2014
1 parent 6fcc9eb commit 73055f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions taffybar.hs.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import System.Taffybar

import System.Taffybar.Systray
import System.Taffybar.XMonadLog
import System.Taffybar.TaffyPager
import System.Taffybar.SimpleClock
import System.Taffybar.FreedesktopNotifications
import System.Taffybar.Weather
Expand Down Expand Up @@ -31,13 +31,13 @@ main = do
, graphLabel = Just "cpu"
}
let clock = textClockNew Nothing "<span fgcolor='orange'>%a %b %_d %H:%M</span>" 1
log = xmonadLogNew
pager = taffyPagerNew defaultPagerConfig
note = notifyAreaNew defaultNotificationConfig
wea = weatherNew (defaultWeatherConfig "KMSN") 10
mpris = mprisNew
mem = pollingGraphNew memCfg 1 memCallback
cpu = pollingGraphNew cpuCfg 0.5 cpuCallback
tray = systrayNew
defaultTaffybar defaultTaffybarConfig { startWidgets = [ log, note ]
defaultTaffybar defaultTaffybarConfig { startWidgets = [ pager, note ]
, endWidgets = [ tray, wea, clock, mem, cpu, mpris ]
}

0 comments on commit 73055f6

Please sign in to comment.