From d45546d4e53f149dc6ab2fc0e3ee020427b6c01e Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 9 Sep 2022 21:31:07 +0530 Subject: added title to the lemonbar --- .config/XMonad/lib/Defaults.hs | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to '.config/XMonad/lib/Defaults.hs') 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 -- cgit v1.2.3