xmonad: notes on non-floating scratchpad windows
Short version: You can do it, but it's kind of a bad idea, at least the way I'm using them.
1 year ago
1 changed files
Download Patch File
Download Diff File
@ -83,8 +83,20 @@ myManageHook = composeAll
-- Named scratchpads - a terminal and a tmux session for editing notes in. I
-- use gnome-terminal with a role for both of these instead of uxterm with a
-- title, because title gets changed by running stuff inside of xterms, seemingly
-- no matter how things are configured. See also /bin/notesession.
-- title, because title gets changed by running stuff inside of xterms,
-- seemingly no matter how things are configured.
-- NamedScratchpad docs:
-- If you want a regular window here instead of a floaty one, use
-- `(nonFloating)` instead of (customFloating ...). It turns out that the
-- floating ones are a lot easier to toggle over a workspace without otherwise
-- messing with window management, since you don't have to muck around with
-- layouts at all, size is predictable, etc. You probably want floating.
-- See also /bin/notesession.
gnome-terminal --role scratch
-- this goes: start-x, start-y, width (1.0 is full screen), height: