minor xmonad fixes
This commit is contained in:
parent
82a899f196
commit
6808f4aab9
@ -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)
|
||||||
|
@ -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)
|
||||||
@ -147,13 +148,14 @@ myAdditionalKeys =
|
|||||||
, ("M-p k", spawn "dm-kill")
|
, ("M-p k", spawn "dm-kill")
|
||||||
|
|
||||||
-- 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)
|
||||||
, ("M-b", spawn "firefox")
|
, ("M-b", spawn "firefox")
|
||||||
|
|
||||||
-- layout
|
-- layout
|
||||||
, ("M-t t", switchToLayout "Tall")
|
, ("M-t t", switchToLayout "Tall")
|
||||||
@ -163,13 +165,13 @@ myAdditionalKeys =
|
|||||||
, ("M-S-f", withFocused $ windows . W.sink)
|
, ("M-S-f", withFocused $ windows . W.sink)
|
||||||
|
|
||||||
-- media keys
|
-- media keys
|
||||||
, ("<XF86AudioMute>", spawn "pamixer -t")
|
, ("<XF86AudioMute>", spawn "pamixer -t")
|
||||||
, ("<XF86AudioLowerVolume>", spawn "pamixer -d 5")
|
, ("<XF86AudioLowerVolume>", spawn "pamixer -d 5")
|
||||||
, ("<XF86AudioRaiseVolume>", spawn "pamixer -i 5")
|
, ("<XF86AudioRaiseVolume>", spawn "pamixer -i 5")
|
||||||
, ("<XF86AudioMicMute>", spawn "pamixer --default-source -t")
|
, ("<XF86AudioMicMute>", spawn "pamixer --default-source -t")
|
||||||
|
|
||||||
-- lock screen
|
-- lock screen
|
||||||
, ("M-S-l", spawn "slock")
|
, ("M-S-l", spawn "slock")
|
||||||
|
|
||||||
-- workspace switching
|
-- workspace switching
|
||||||
, ("M-<Tab>", toggleTopic)
|
, ("M-<Tab>", toggleTopic)
|
||||||
|
Loading…
Reference in New Issue
Block a user