Skip to content

Commit 3d1fe84

Browse files
committed
xmonad: battery and displays
1 parent 4ddbc5e commit 3d1fe84

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.xmonad/xmobarrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Config { font = "xft:Fira Code:size=10"
1010
, overrideRedirect = False
1111
, border = BottomBM 0
1212
, borderColor = "#3e3e3e"
13-
, commands = [ Run Network "enp3s0" [ "-t" , "d:<rx> u:<tx>"
13+
, commands = [ Run Network "wlp1s0" [ "-t" , "d:<rx> u:<tx>"
1414
, "-L" , "100"
1515
, "-H" , "700"
1616
, "-m" , "4"
@@ -63,6 +63,5 @@ Config { font = "xft:Fira Code:size=10"
6363
]
6464
, sepChar = "%"
6565
, alignSep = "}{"
66-
, template = " %StdinReader% }{%mpd% / %disku% / %coretemp% / %memory% / %enp3s0% / <fc=#ede7b4>%date%</fc> "
66+
, template = " %StdinReader% }{%battery% / %disku% / %coretemp% / %memory% / %wlp1s0% / <fc=#ede7b4>%date%</fc> "
6767
}
68-

.xmonad/xmonad.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ main = do
162162
]
163163
`additionalKeysP`
164164
[(otherMasks ++ "M-" ++ [key], screenWorkspace scr >>= flip whenJust (windows . action))
165-
| (key, scr) <- zip "wer" [2,0,1]
165+
| (key, scr) <- zip "wer" [0,1,2]
166166
, (otherMasks, action) <- [ ("", W.view)
167167
, ("S-", W.shift)]
168168
]

0 commit comments

Comments
 (0)