vanadium/xmonad: make more money

This commit is contained in:
Primrose 2025-11-19 17:22:00 +08:00
parent 33aa3065c3
commit 3e603eb1e0
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -39,10 +39,10 @@ main =
xmonad
-- Fix all java things that don't scale with XMonad
-- https://wiki.archlinux.org/title/java#Gray_window,_applications_not_resizing_with_WM,_menus_immediately_closing
. javaHack
. withSB xmobarConfig . docks
. setEwmhActivateHook myActivateHook
. ewmhFullscreen . ewmh
$ javaHack
$ withSB xmobarConfig . docks
$ setEwmhActivateHook myActivateHook
$ ewmhFullscreen . ewmh
$ def
{ modMask = superMask
, borderWidth = 5
@ -69,8 +69,9 @@ myLayout =
$ RTFixDescription
$ ResizableTall 1 (1/10) (3/7) []
mag = magnifyxy 1.05 1.3 (NoMaster 3) False
in avoidStruts . smartBorders $
mag tallr ||| focusTracking Full
in avoidStruts
$ smartBorders
$ mag tallr ||| focusTracking Full
isSioyek :: Query Bool
isSioyek = className =? "sioyek"