mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
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.
This commit is contained in:
parent
b97942e459
commit
d4fa0b8bb6
1 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ main =
|
||||||
]
|
]
|
||||||
in
|
in
|
||||||
fadeWindowsLogHook fadeHook
|
fadeWindowsLogHook fadeHook
|
||||||
<+> refocusLastLogHook
|
<> refocusLastLogHook
|
||||||
|
|
||||||
, startupHook = do
|
, startupHook = do
|
||||||
spawnOnce "fcitx5 &" -- Input method
|
spawnOnce "fcitx5 &" -- Input method
|
||||||
|
|
@ -104,7 +104,7 @@ main =
|
||||||
, namedScratchpadManageHook myScratchpads
|
, namedScratchpadManageHook myScratchpads
|
||||||
]
|
]
|
||||||
|
|
||||||
<+>
|
<>
|
||||||
composeOne
|
composeOne
|
||||||
[ className =? "firefox" -?> insertPosition Above Newer
|
[ className =? "firefox" -?> insertPosition Above Newer
|
||||||
, className =? "sioyek" -?> insertPosition Below Older
|
, className =? "sioyek" -?> insertPosition Below Older
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue