summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-03-23 19:44:16 -0700
committerBen Sima <ben@bsima.me>2019-03-23 19:44:16 -0700
commitc355f5c8a9c479314942073164c667d2eead6970 (patch)
tree69fc542ce4b44bb4044f7b701ec25ada52fc231d
parentd1443586e94b89ee21b4609f6aa4d4077e5a4cbf (diff)
Add emacs shortcut
-rw-r--r--xmonad.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmonad.hs b/xmonad.hs
index 4e872b6..7067e47 100644
--- a/xmonad.hs
+++ b/xmonad.hs
@@ -34,9 +34,12 @@ insKeys conf@(XConfig {modMask = modMask}) =
, ((modMask, xK_i), spawn $ "rofi -sidebar-mode -show run")
, ((modMask, xK_o), spawn $ nixBin <> "dmenu_run")
+ , ((modMask, xK_e), spawn "emacsclient -c")
+
-- sticky windows
, ((modMask, xK_a ), windows copyToAll) -- @@ Make focused window always visible
, ((modMask .|. shiftMask, xK_a ), killAllOtherCopies) -- @@ Toggle window state back
+
-- media/ function keys
-- backlight
, ((0, xK_F5), spawn "xbacklight -dec 5")