Change className to title for terminator

It is possible to match windows by title in manage hook, so I changed
this because this way I can have have terminator set as terminal
emulator that I lauch by keybinding and have terminator with custom
title started automatically and this one window will open on the
specified workspace.
This commit is contained in:
c47 2024-01-27 15:47:54 +01:00
parent 059412b0d6
commit 5acb0241f2

View file

@ -8,7 +8,7 @@ import XMonad.Hooks.ManageDocks -- For the manageHook
----------------------------------------------------------------------------------------------------------------
myTerminal = "gnome-terminal"
myTerminal = "terminator"
myModMask = mod4Mask
myXmobarrc = "~/.config/xmobar/xmobarrc"
@ -16,7 +16,7 @@ myXmobarrc = "~/.config/xmobar/xmobarrc"
myManageHook = composeAll . concat $
[ [ className =? "DailyFox" --> doShift "1" ]
, [ className =? "DailyShell" --> doShift "2" ]
, [ title =? "DailyShell" --> doShift "2" ]
, [ className =? "Signal" --> doShift "3" ]
, [ className =? "SchildiChat" --> doShift "3" ]
, [ className =? "Skype" --> doShift "3" ]