mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 02:50:24 +10:00
Adding dm-logout keybindings.
This commit is contained in:
@@ -140,8 +140,8 @@ keys = [
|
||||
desc='Restart Qtile'
|
||||
),
|
||||
Key([mod, "shift"], "q",
|
||||
lazy.shutdown(),
|
||||
desc='Shutdown Qtile'
|
||||
lazy.spawn("dm-logout"),
|
||||
desc='Logout menu'
|
||||
),
|
||||
Key(["control", "shift"], "e",
|
||||
lazy.spawn("emacsclient -c -a emacs"),
|
||||
|
||||
@@ -49,8 +49,8 @@ keys = [
|
||||
desc='Restart Qtile'
|
||||
),
|
||||
Key([mod, "shift"], "q",
|
||||
lazy.shutdown(),
|
||||
desc='Shutdown Qtile'
|
||||
lazy.spawn("dm-logout"),
|
||||
desc='Logout menu'
|
||||
),
|
||||
Key(["control", "shift"], "e",
|
||||
lazy.spawn("emacsclient -c -a emacs"),
|
||||
|
||||
@@ -26,8 +26,12 @@ super + shift + Return
|
||||
dm-run
|
||||
|
||||
# quit/restart bspwm
|
||||
super + shift + {q,r}
|
||||
bspc {quit,wm -r}
|
||||
super + shift + q
|
||||
dm-logout
|
||||
|
||||
# quit/restart bspwm
|
||||
super + shift + r
|
||||
bspc wm -r
|
||||
|
||||
# close and kill
|
||||
super + shift + c
|
||||
|
||||
@@ -645,8 +645,8 @@ myKeys c =
|
||||
subKeys "Xmonad Essentials"
|
||||
[ ("M-C-r", addName "Recompile XMonad" $ spawn "xmonad --recompile")
|
||||
, ("M-S-r", addName "Restart XMonad" $ spawn "xmonad --restart")
|
||||
, ("M-S-q", addName "Quit XMonad" $ sequence_ [spawn (mySoundPlayer ++ shutdownSound), io exitSuccess])
|
||||
--, ("M-S-q", addName "Quit XMonad" $ spawn "dm-logout")
|
||||
--, ("M-S-q", addName "Quit XMonad" $ sequence_ [spawn (mySoundPlayer ++ shutdownSound), io exitSuccess])
|
||||
, ("M-S-q", addName "Quit XMonad" $ spawn "dm-logout")
|
||||
, ("M-S-c", addName "Kill focused window" $ kill1)
|
||||
, ("M-S-a", addName "Kill all windows on WS" $ killAll)
|
||||
, ("M-S-<Return>", addName "Run prompt" $ sequence_ [spawn (mySoundPlayer ++ dmenuSound), spawn "~/.local/bin/dm-run"])
|
||||
|
||||
@@ -657,8 +657,8 @@ myKeys c =
|
||||
subKeys "Xmonad Essentials"
|
||||
[ ("M-C-r", addName "Recompile XMonad" $ spawn "xmonad --recompile")
|
||||
, ("M-S-r", addName "Restart XMonad" $ spawn "xmonad --restart")
|
||||
, ("M-S-q", addName "Quit XMonad" $ sequence_ [spawn (mySoundPlayer ++ shutdownSound), io exitSuccess])
|
||||
--, ("M-S-q", addName "Quit XMonad" $ spawn "dm-logout")
|
||||
--, ("M-S-q", addName "Quit XMonad" $ sequence_ [spawn (mySoundPlayer ++ shutdownSound), io exitSuccess])
|
||||
, ("M-S-q", addName "Quit XMonad" $ spawn "dm-logout")
|
||||
, ("M-S-c", addName "Kill focused window" $ kill1)
|
||||
, ("M-S-a", addName "Kill all windows on WS" $ killAll)
|
||||
, ("M-S-<Return>", addName "Run prompt" $ sequence_ [spawn (mySoundPlayer ++ dmenuSound), spawn "~/.local/bin/dm-run"])
|
||||
|
||||
@@ -499,8 +499,8 @@ myKeys c =
|
||||
subKeys "Xmonad Essentials"
|
||||
[ ("M-C-r", addName "Recompile XMonad" $ spawn "xmonad --recompile")
|
||||
, ("M-S-r", addName "Restart XMonad" $ spawn "xmonad --restart")
|
||||
, ("M-S-q", addName "Quit XMonad" $ sequence_ [spawn (mySoundPlayer ++ shutdownSound), io exitSuccess])
|
||||
--, ("M-S-q", addName "Quit XMonad" $ spawn "dm-logout")
|
||||
--, ("M-S-q", addName "Quit XMonad" $ sequence_ [spawn (mySoundPlayer ++ shutdownSound), io exitSuccess])
|
||||
, ("M-S-q", addName "Quit XMonad" $ spawn "dm-logout")
|
||||
, ("M-S-c", addName "Kill focused window" $ kill1)
|
||||
, ("M-S-a", addName "Kill all windows on WS" $ killAll)
|
||||
, ("M-S-<Return>", addName "Run prompt" $ sequence_ [spawn (mySoundPlayer ++ dmenuSound), spawn "~/.local/bin/dm-run"])
|
||||
|
||||
Reference in New Issue
Block a user