Adding dm-logout keybindings.

This commit is contained in:
Derek Taylor
2023-04-01 13:45:40 -05:00
parent 30237be670
commit 59698df265
6 changed files with 16 additions and 12 deletions

View File

@@ -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"),

View File

@@ -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"),

View File

@@ -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

View File

@@ -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"])

View File

@@ -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"])

View File

@@ -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"])