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 xmonad
-- Fix all java things that don't scale with 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 -- https://wiki.archlinux.org/title/java#Gray_window,_applications_not_resizing_with_WM,_menus_immediately_closing
. javaHack $ javaHack
. withSB xmobarConfig . docks $ withSB xmobarConfig . docks
. setEwmhActivateHook myActivateHook $ setEwmhActivateHook myActivateHook
. ewmhFullscreen . ewmh $ ewmhFullscreen . ewmh
$ def $ def
{ modMask = superMask { modMask = superMask
, borderWidth = 5 , borderWidth = 5
@ -69,8 +69,9 @@ myLayout =
$ RTFixDescription $ RTFixDescription
$ 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
mag tallr ||| focusTracking Full $ smartBorders
$ mag tallr ||| focusTracking Full
isSioyek :: Query Bool isSioyek :: Query Bool
isSioyek = className =? "sioyek" isSioyek = className =? "sioyek"