aboutsummaryrefslogtreecommitdiff
path: root/.config/XMonad
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-09 21:31:07 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-09 21:31:07 +0530
commitd45546d4e53f149dc6ab2fc0e3ee020427b6c01e (patch)
tree826e3b883654ac804d19552314e633dd4dc99622 /.config/XMonad
parentff6eb3a6417458c086bca1cc2499c3353c031622 (diff)
added title to the lemonbar
Diffstat (limited to '.config/XMonad')
-rw-r--r--.config/XMonad/lib/Defaults.hs14
1 files changed, 3 insertions, 11 deletions
diff --git a/.config/XMonad/lib/Defaults.hs b/.config/XMonad/lib/Defaults.hs
index eb302c4..f4779d1 100644
--- a/.config/XMonad/lib/Defaults.hs
+++ b/.config/XMonad/lib/Defaults.hs
@@ -107,17 +107,9 @@ myLemonbarPP = def {
--, ppVisibleNoWindows = wrap "%{B#ffffff} %{F#9b1bed}" " %{F-}%{B-}"
, ppWsSep = ""
, ppSep = ""
- , ppOrder = \(ws:l:t:ex) -> ["%{r}",ws]++[]++[]++ex
+ , ppTitle = wrap " " "%{r}" . shorten 60
+ , ppOrder = \(ws:l:t:ex) -> [t]++[ws]
}
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-}"
--- , ppHidden = wrap "%{B#9b1bed} %{F#FFFFFF}" " %{F-}%{B-}"
--- , ppHiddenNoWindows = wrap " " " "
--- --, ppVisibleNoWindows = wrap "%{B#ffffff} %{F#9b1bed}" " %{F-}%{B-}"
--- , ppWsSep = ""
--- , ppSep = ""
--- , ppOrder = \(ws:l:t:ex) -> ["%{r}",ws]++[]++[]++ex
--- }
+myLemonbarPP' = myLemonbarPP