From d4fa0b8bb6a82ac0d75a4484606effda81dd8363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Mon, 25 Aug 2025 23:07:45 +0800 Subject: [PATCH] vanadium/xmonad: use <> instead of <+> <+> is synonym of infix mappend. Mappend is redundant and has the default implementation mappend = (<>) since base-4.11.0.0. Should it be implemented manually, since mappend is a synonym for (<>), it is expected that the two functions are defined the same way. In a future GHC release mappend will be removed from Monoid. --- nix/configurations/vanadium/home/xmonad/xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/configurations/vanadium/home/xmonad/xmonad.hs b/nix/configurations/vanadium/home/xmonad/xmonad.hs index ad6d3229..86559f90 100644 --- a/nix/configurations/vanadium/home/xmonad/xmonad.hs +++ b/nix/configurations/vanadium/home/xmonad/xmonad.hs @@ -62,7 +62,7 @@ main = ] in fadeWindowsLogHook fadeHook - <+> refocusLastLogHook + <> refocusLastLogHook , startupHook = do spawnOnce "fcitx5 &" -- Input method @@ -104,7 +104,7 @@ main = , namedScratchpadManageHook myScratchpads ] - <+> + <> composeOne [ className =? "firefox" -?> insertPosition Above Newer , className =? "sioyek" -?> insertPosition Below Older