mirror of
https://codeberg.org/frosty/xmonad.hs.git
synced 2024-09-19 03:36:45 -04:00
remove references to top/bottom bars and switch to single
This commit is contained in:
parent
13d671d7fd
commit
70edf56a13
11
xmobar.hs
11
xmobar.hs
|
@ -8,15 +8,14 @@ config =
|
|||
bgColor = "#121212",
|
||||
fgColor = "#cccccc",
|
||||
position = Top,
|
||||
template = " %XMonadLog% }{ %volume% <fc=#777777>|</fc> %load% <fc=#777777>|</fc> %battery% <fc=#777777>|</fc> <fc=#f7e83b>%date%</fc> ",
|
||||
template = " %XMonadLog% }{ %weather% <fc=#777777>|</fc> %volume% <fc=#777777>|</fc> %load% <fc=#777777>|</fc> %battery% <fc=#777777>|</fc> <fc=#f7e83b>%date%</fc> ",
|
||||
commands =
|
||||
[ Run XMonadLog,
|
||||
Run $ Com "monitors" ["battery"] "battery" 1200,
|
||||
Run $ Com "monitors" ["cpu"] "cpu" 100,
|
||||
Run $ Com "monitors" ["memory"] "memory" 100,
|
||||
Run $ Com "monitors" ["load"] "load" 100,
|
||||
Run $ PipeReader "/tmp/pipe-volume" "volume",
|
||||
Run $ Date "%m/%d/%Y %-I:%M %p" "date" 600
|
||||
Run $ Com "monitors" ["load"] "load" 100,
|
||||
Run $ PipeReader "/tmp/pipe-weather" "weather",
|
||||
Run $ Com "monitors" ["battery"] "battery" 1200,
|
||||
Run $ Date "%m/%d/%Y %H:%M" "date" 600
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -28,29 +28,3 @@ executable xmobar
|
|||
|
||||
default-language: GHC2021
|
||||
default-extensions: ImportQualifiedPost
|
||||
|
||||
executable xmobar-top
|
||||
main-is: xmobar-top.hs
|
||||
ghc-options:
|
||||
-O2 -Wall -Wcompat -Wincomplete-record-updates
|
||||
-Wredundant-constraints -rtsopts -threaded -with-rtsopts=-N
|
||||
|
||||
build-depends:
|
||||
, base
|
||||
, xmobar >=0.48
|
||||
|
||||
default-language: GHC2021
|
||||
default-extensions: ImportQualifiedPost
|
||||
|
||||
executable xmobar-bottom
|
||||
main-is: xmobar-bottom.hs
|
||||
ghc-options:
|
||||
-O2 -Wall -Wcompat -Wincomplete-record-updates
|
||||
-Wredundant-constraints -rtsopts -threaded -with-rtsopts=-N
|
||||
|
||||
build-depends:
|
||||
, base
|
||||
, xmobar >=0.48
|
||||
|
||||
default-language: GHC2021
|
||||
default-extensions: ImportQualifiedPost
|
||||
|
|
Loading…
Reference in a new issue