mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/xmonad: don't lose focus when hovering over float
This commit is contained in:
parent
9b1399e0e6
commit
33aa3065c3
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ import XMonad.Hooks.ManageHelpers
|
||||||
import XMonad.Hooks.OnPropertyChange
|
import XMonad.Hooks.OnPropertyChange
|
||||||
import XMonad.Hooks.RefocusLast
|
import XMonad.Hooks.RefocusLast
|
||||||
import XMonad.Hooks.StatusBar
|
import XMonad.Hooks.StatusBar
|
||||||
|
import XMonad.Layout.FocusTracking
|
||||||
import XMonad.Layout.NoBorders
|
import XMonad.Layout.NoBorders
|
||||||
import XMonad.Layout.Reflect
|
import XMonad.Layout.Reflect
|
||||||
import XMonad.Layout.Reflect.Message
|
import XMonad.Layout.Reflect.Message
|
||||||
|
|
@ -69,7 +70,7 @@ myLayout =
|
||||||
$ ResizableTall 1 (1/10) (3/7) []
|
$ ResizableTall 1 (1/10) (3/7) []
|
||||||
mag = magnifyxy 1.05 1.3 (NoMaster 3) False
|
mag = magnifyxy 1.05 1.3 (NoMaster 3) False
|
||||||
in avoidStruts . smartBorders $
|
in avoidStruts . smartBorders $
|
||||||
mag tallr ||| Full
|
mag tallr ||| focusTracking Full
|
||||||
|
|
||||||
isSioyek :: Query Bool
|
isSioyek :: Query Bool
|
||||||
isSioyek = className =? "sioyek"
|
isSioyek = className =? "sioyek"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue