diff options
| author | Christian <[email protected]> | 2026-05-25 13:15:00 -0500 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-05-25 13:15:00 -0500 |
| commit | 0c011bc0e0b69e306bc1405abe13b02cc8ae76d0 (patch) | |
| tree | 19ebeabd5fdc0cc538f6b457fedf89db1e6b38d6 /modules | |
| parent | cb0ef2c9faff1de5c3e6185e89b1b0c04d10c996 (diff) | |
Run wmname LG3D at XMonad startup to fix Java app tiling
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/common.nix | 1 | ||||
| -rw-r--r-- | modules/xmonad.hs | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/modules/common.nix b/modules/common.nix index 0abdb7a..3e14abb 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -63,6 +63,7 @@ man-pages man-pages-posix mosh + wmname ]; documentation.dev.enable = true; diff --git a/modules/xmonad.hs b/modules/xmonad.hs index 6f88748..3c5c729 100644 --- a/modules/xmonad.hs +++ b/modules/xmonad.hs @@ -1,5 +1,6 @@ import XMonad import XMonad.Util.EZConfig (additionalKeys) +import XMonad.Util.SpawnOnce (spawnOnce) import XMonad.Hooks.ManageDocks import XMonad.Hooks.StatusBar import XMonad.Hooks.StatusBar.PP @@ -21,7 +22,8 @@ myConfig = defaultConfig { modMask = mod1Mask , layoutHook = myLayout , focusedBorderColor = "#4eb4fa" - , terminal = "alacritty" } + , terminal = "alacritty" + , startupHook = spawnOnce "wmname LG3D" } `additionalKeys` [ ( (mod1Mask, xK_q), restart "xmonad" True ) , ( (mod1Mask, xK_f), sendMessage ToggleStruts ) ] |
