mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue