forked from colonelpanic/dotfiles
[taffybar] github tweaks
This commit is contained in:
Submodule dotfiles/config/taffybar/taffybar updated: 553c634f36...7ecfcfc101
@@ -131,9 +131,7 @@ logDebug = do
|
|||||||
|
|
||||||
github = do
|
github = do
|
||||||
Right (token, _) <- passGet "github-token"
|
Right (token, _) <- passGet "github-token"
|
||||||
githubNotificationsNew GitHubConfig { ghAuth = Auth.OAuth $ BS.pack token
|
githubNotificationsNew $ defaultGithubConfig $ Auth.OAuth $ BS.pack token
|
||||||
, ghIcon = undefined
|
|
||||||
}
|
|
||||||
|
|
||||||
main = do
|
main = do
|
||||||
interfaceNames <- getInterfaces
|
interfaceNames <- getInterfaces
|
||||||
@@ -206,12 +204,12 @@ main = do
|
|||||||
[ batteryBarNewWithFormat defaultBatteryConfig "$percentage$% ($time$) - $status$" 1.0
|
[ batteryBarNewWithFormat defaultBatteryConfig "$percentage$% ($time$) - $status$" 1.0
|
||||||
, makeContents sniTrayNew "Cpu"
|
, makeContents sniTrayNew "Cpu"
|
||||||
, makeContents clock "Cpu"
|
, makeContents clock "Cpu"
|
||||||
|
, github >>= buildPadBox
|
||||||
, makeContents cpu "Cpu"
|
, makeContents cpu "Cpu"
|
||||||
, makeContents mem "Cpu"
|
, makeContents mem "Cpu"
|
||||||
, makeContents netMonitor "Cpu"
|
, makeContents netMonitor "Cpu"
|
||||||
, makeContents (fsMonitorNew 60 ["/dev/sdd2"]) "Cpu"
|
, makeContents (fsMonitorNew 60 ["/dev/sdd2"]) "Cpu"
|
||||||
, mpris >>= buildPadBox
|
, mpris >>= buildPadBox
|
||||||
, github >>= buildPadBox
|
|
||||||
]
|
]
|
||||||
, barPosition = Top
|
, barPosition = Top
|
||||||
, barPadding = 0
|
, barPadding = 0
|
||||||
|
Reference in New Issue
Block a user