minor xmonad fixes

This commit is contained in:
Max Hohlfeld 2022-11-22 08:46:58 +01:00
parent 82a899f196
commit 6808f4aab9
2 changed files with 14 additions and 12 deletions

View File

@ -122,7 +122,7 @@ myAdditionalKeys =
, ("M-S-j", windows W.swapDown) , ("M-S-j", windows W.swapDown)
, ("M-S-k", windows W.swapUp) , ("M-S-k", windows W.swapUp)
, ("M-h", sendMessage Shrink) , ("M-h", sendMessage Shrink)
, ("M-j", sendMessage Expand) , ("M-l", sendMessage Expand)
, ("M-,", sendMessage (IncMasterN 1)) , ("M-,", sendMessage (IncMasterN 1))
, ("M-S-,", sendMessage (IncMasterN (-1))) , ("M-S-,", sendMessage (IncMasterN (-1)))
, ("M-.", sendMessage ToggleStruts) , ("M-.", sendMessage ToggleStruts)

View File

@ -63,6 +63,7 @@ myScratchpads =
[ NS "keepassxc" "keepassxc ~/db.kdbx" (title =? "it factum Max Hohlfeld - KeePassXC" <||> title =? "db.kdbx [Gesperrt] - KeePassXC") defaultFloating [ NS "keepassxc" "keepassxc ~/db.kdbx" (title =? "it factum Max Hohlfeld - KeePassXC" <||> title =? "db.kdbx [Gesperrt] - KeePassXC") defaultFloating
, NS "nnn" "st -t nnn -e nnnwrapper" (title =? "nnn") (customFloating $ W.RationalRect (1/4) (1/6) (2/4) (4/6)) , NS "nnn" "st -t nnn -e nnnwrapper" (title =? "nnn") (customFloating $ W.RationalRect (1/4) (1/6) (2/4) (4/6))
, NS "vimwiki" "st -t vimwiki -e vwwrapper" (title =? "vimwiki") (customFloating $ W.RationalRect (1/6) (1/6) (2/3) (2/3)) , NS "vimwiki" "st -t vimwiki -e vwwrapper" (title =? "vimwiki") (customFloating $ W.RationalRect (1/6) (1/6) (2/3) (2/3))
, NS "pavucontrol" "pavucontrol" (title =? "Lautstärkeregler") (customFloating $ W.RationalRect (1/6) (1/6) (2/3) (2/3))
] ]
-- Topic Space -- Topic Space
@ -74,7 +75,7 @@ topicItems =
, noAction "4" "~/" , noAction "4" "~/"
, noAction "5" "~/" , noAction "5" "~/"
, TI "alkaa" "~/projekte/alkaa" (switchToLayout "Programming" *> spawnShell *> spawnEditor) , TI "alkaa" "~/projekte/alkaa" (switchToLayout "Programming" *> spawnShell *> spawnEditor)
, TI "IHD_Backend" "~/projekte/IHD/Tractatio_Backend/" (switchToLayout "Programming" *> spawn "rider") , TI "IHD_Backend" "~/projekte/IHD/Tractatio_Backend/" (switchToLayout "Programming" *> spawn "rider ~/projekte/IHD/Tractatio_Backend/IHD_Tractatio.sln")
, TI "IHD_Frontend" "~/projekte/IHD/Demonstrare_Frontend/" (switchToLayout "Programming" *> spawnShellAndExecute "npm start" *> spawnShell *> spawnEditor) , TI "IHD_Frontend" "~/projekte/IHD/Demonstrare_Frontend/" (switchToLayout "Programming" *> spawnShellAndExecute "npm start" *> spawnShell *> spawnEditor)
] ]
@ -136,7 +137,7 @@ myAdditionalKeys =
, ("M-S-j", windows W.swapDown) , ("M-S-j", windows W.swapDown)
, ("M-S-k", windows W.swapUp) , ("M-S-k", windows W.swapUp)
, ("M-h", sendMessage Shrink) , ("M-h", sendMessage Shrink)
, ("M-j", sendMessage Expand) , ("M-l", sendMessage Expand)
, ("M-,", sendMessage (IncMasterN 1)) , ("M-,", sendMessage (IncMasterN 1))
, ("M-S-,", sendMessage (IncMasterN (-1))) , ("M-S-,", sendMessage (IncMasterN (-1)))
, ("M-.", sendMessage ToggleStruts) , ("M-.", sendMessage ToggleStruts)
@ -149,7 +150,8 @@ myAdditionalKeys =
-- scratchpads -- scratchpads
, ("M-n", namedScratchpadAction myScratchpads "nnn") , ("M-n", namedScratchpadAction myScratchpads "nnn")
, ("M-S-a", namedScratchpadAction myScratchpads "keepassxc") , ("M-S-a", namedScratchpadAction myScratchpads "keepassxc")
, ("M-v", namedScratchpadAction myScratchpads "vimwiki") , ("M-s-v", namedScratchpadAction myScratchpads "vimwiki")
, ("M-s-a", namedScratchpadAction myScratchpads "pavucontrol")
-- open terminal -- open terminal
, ("M-S-<Return>", spawnShell) , ("M-S-<Return>", spawnShell)