From 261ba7e8b2d90a7b5e6ce2779892e2bd46db97b9 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 8 Aug 2021 19:28:59 -0600 Subject: [PATCH 1/2] [XMonad] Use ewmhFullscreen instead of fullscreenEventHook See https://github.com/xmonad/xmonad-contrib/blob/2813694dc72e51e0a883a5c3e2f2d2d140092fd3/CHANGES.md#L35 --- dotfiles/config/xmonad/xmonad.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/config/xmonad/xmonad.hs b/dotfiles/config/xmonad/xmonad.hs index b5101451..1ae21755 100644 --- a/dotfiles/config/xmonad/xmonad.hs +++ b/dotfiles/config/xmonad/xmonad.hs @@ -105,7 +105,7 @@ myConfig = def toggleFadeInactiveLogHook 0.9 <> workspaceHistoryHook <> setWorkspaceNames <> activateLogHook (reader W.focusWindow >>= doF) <+> logHook def , handleEventHook = - fullscreenEventHook <> followIfNoMagicFocus <> minimizeEventHook <> restartEventHook + followIfNoMagicFocus <> minimizeEventHook <> restartEventHook , startupHook = myStartup , keys = customKeys (const []) addKeys } @@ -125,6 +125,7 @@ main = do . docks . pagerHints . ewmh + . ewmhFullscreen . withNavigation2DConfig myNavigation2DConfig $ myConfig -- Utility functions From 82f0dbc1e4907c003bb92cb7e1d8113201b403f4 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 8 Aug 2021 19:29:46 -0600 Subject: [PATCH 2/2] Make sure that element desktop handles element uris --- dotfiles/config/mimeapps.list | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/config/mimeapps.list b/dotfiles/config/mimeapps.list index 8844123b..389934d3 100644 --- a/dotfiles/config/mimeapps.list +++ b/dotfiles/config/mimeapps.list @@ -9,6 +9,7 @@ application/pdf=okularApplication_pdf.desktop; image/png=okularApplication_kimgio.desktop; video/mp4=vlc.desktop;org.gnome.Totem.desktop; x-scheme-handler/magnet=userapp-transmission-gtk-24GQLZ.desktop; +element=element-desktop.desktop [Default Applications] text/html=google-chrome.desktop