From c8a6045954849b5266b3d0870a38a79f515f966f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 27 Jan 2022 21:45:58 -0700 Subject: [PATCH] [XMonad] Tweaks --- dotfiles/config/xmonad/xmonad | 2 +- dotfiles/config/xmonad/xmonad-contrib | 2 +- dotfiles/config/xmonad/xmonad.hs | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dotfiles/config/xmonad/xmonad b/dotfiles/config/xmonad/xmonad index 33a86c0c..a4fbe5a5 160000 --- a/dotfiles/config/xmonad/xmonad +++ b/dotfiles/config/xmonad/xmonad @@ -1 +1 @@ -Subproject commit 33a86c0cdb9aa481e23cc5527a997adef5e32d42 +Subproject commit a4fbe5a5557a51cb52a14593b0ca78154b086f91 diff --git a/dotfiles/config/xmonad/xmonad-contrib b/dotfiles/config/xmonad/xmonad-contrib index 98ef7dda..fab8e2de 160000 --- a/dotfiles/config/xmonad/xmonad-contrib +++ b/dotfiles/config/xmonad/xmonad-contrib @@ -1 +1 @@ -Subproject commit 98ef7dda40f39fd50f1a2e4539798e6e5dec0417 +Subproject commit fab8e2de73470b29e8d700f0820d44e397126521 diff --git a/dotfiles/config/xmonad/xmonad.hs b/dotfiles/config/xmonad/xmonad.hs index 4ae02337..86a43f08 100644 --- a/dotfiles/config/xmonad/xmonad.hs +++ b/dotfiles/config/xmonad/xmonad.hs @@ -57,6 +57,7 @@ import XMonad.Core (getDirectories) import XMonad.Hooks.DynamicProperty import XMonad.Hooks.EwmhDesktops import XMonad.Hooks.FadeInactive +import XMonad.Hooks.Focus hiding (currentWorkspace) import XMonad.Hooks.ManageDocks import XMonad.Hooks.ManageHelpers import XMonad.Hooks.Minimize @@ -105,7 +106,6 @@ myConfig = def <> toggleFadeInactiveLogHook 0.9 <> workspaceHistoryHook <> setWorkspaceNames - <> activateLogHook (reader W.focusWindow >>= doF) <> logHook def , handleEventHook = followIfNoMagicFocus @@ -141,6 +141,7 @@ main = xmonad . docks . pagerHints + . setEwmhActivateHook activateSwitchWs . ewmh . ewmhFullscreen . withNavigation2DConfig myNavigation2DConfig $ myConfig