aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-09 21:15:51 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-09 21:15:51 +0530
commitff6eb3a6417458c086bca1cc2499c3353c031622 (patch)
tree35df590595a0f520e14ba7a22a2aa28e574c7279 /.config
parentde58295210063ed7088b411d0da8ef37b33cb863 (diff)
also added a lemonbar on second screen
Diffstat (limited to '.config')
-rw-r--r--.config/XMonad/lib/Defaults.hs2
-rw-r--r--.config/lemon.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/XMonad/lib/Defaults.hs b/.config/XMonad/lib/Defaults.hs
index 7e0b0a1..eb302c4 100644
--- a/.config/XMonad/lib/Defaults.hs
+++ b/.config/XMonad/lib/Defaults.hs
@@ -110,7 +110,7 @@ myLemonbarPP = def {
, ppOrder = \(ws:l:t:ex) -> ["%{r}",ws]++[]++[]++ex
}
-myLemonbarCmd' = "lemonbar -g 343x20+1577+0 -f 'SauceCodePro:style=Regular:size=9' -f 'Source Han Sans JP Normal:size=9' -B '#e6100b13' -F '#9d00ff'"
+myLemonbarCmd' = "lemon | lemonbar -g 1920x20+0+0 -o 0 -f 'Source Han Sans JP Normal:size=9' -B '#e6100b13' -F '#9d00ff'"
myLemonbarPP' = myLemonbarPP -- def {
-- ppCurrent = wrap "%{B#28c78f} %{F#FFFFFF}" " %{F-}%{B-}"
-- , ppVisible = wrap "%{B#ff0aa3} %{F#FFFFFF}" " %{F-}%{B-}"
diff --git a/.config/lemon.go b/.config/lemon.go
index d242ccb..17471e9 100644
--- a/.config/lemon.go
+++ b/.config/lemon.go
@@ -112,7 +112,7 @@ func cpuTempLoop() {
// TODO: maybe add dates on click
func getTime() string {
now := time.Now()
- return now.Format("3:04 PM")
+ return now.Format(" 3:04 PM")
}
// TODO: maybe show percentages instead of free space