aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/Keys.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2021-11-02 20:15:32 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:45 -0600
commitb08e88ef0c569cd000cae836f3c86801a661f8cb (patch)
tree35513423208a35a7f45048954f005f91fd94885a /src/Internal/Keys.hs
parentcf47b5282be2a62da2aba1a88c8f9599a333b961 (diff)
downloadrde-b08e88ef0c569cd000cae836f3c86801a661f8cb.tar.gz
rde-b08e88ef0c569cd000cae836f3c86801a661f8cb.tar.bz2
rde-b08e88ef0c569cd000cae836f3c86801a661f8cb.zip
More XMobar sexiness.
Revamped the install script to make it easier to handle the install process.
Diffstat (limited to 'src/Internal/Keys.hs')
-rw-r--r--src/Internal/Keys.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index c97736f..3dff864 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -85,7 +85,8 @@ newKeys markContext =
, ((modm .|. mod1Mask, xK_s), (void $ spawn "sudo systemctl suspend && xsecurelock"))
, ((modm .|. shiftMask, xK_c), kill)
, ((modm .|. shiftMask, xK_t), withFocused $ windows . W.sink)
- , ((mod4Mask, xK_Escape), (void $ spawn "xterm"))
+ , ((mod4Mask, xK_BackSpace), (void $ spawn "xterm"))
+ , ((mod3Mask, xK_BackSpace), (void $ spawn "pkill -SIGUSR1 xmobar"))
, ((mod3Mask, xK_t), (void $ spawn (terminal config)))
, ((modm, xK_m), (submap $ mapAlpha modm (markCurrentWindow markContext)))
, ((modm, xK_w), runXPlus markContext config windowJump)
@@ -122,6 +123,9 @@ newKeys markContext =
, ((modm, xK_q), spawn "xmonad --recompile && xmonad --restart")
, ((modm, xK_z), sendMessage ToggleZoom)
+ , ((modm, xK_x), spawn "bluetooth-select.sh")
+ , ((modm .|. shiftMask, xK_x), spawn "bluetoothctl -- disconnect")
+
, ((modm, xK_Tab), windows W.focusDown)
, ((modm .|. shiftMask, xK_Tab), windows W.focusUp)