如何防止 notifiedd 通知在 Xmonad 和 XFCE 中占据焦点?
答案1
从https://bbs.archlinux.org/viewtopic.php?pid=1065196,在你的 ManageHook 中为 Xfce4-notifyd 添加 doIgnore。参见 xmonad.hs 中的以下内容:
import XMonad
import XMonad.Config.Xfce
import XMonad.Hooks.ManageHelpers
main = xmonad xfceConfig {
, manageHook = myManageHook <+> manageHook xfceConfig
}
myManageHook = composeAll
[
, className =? "Xfce4-notifyd" --> doIgnore
]