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