Add window bringer action through rofi to xmonad

This commit is contained in:
Ivan Malison 2016-09-16 12:53:09 -07:00
parent f576e2be24
commit a97cf4ec8e
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,4 +1,5 @@
import XMonad hiding ( (|||) ) import XMonad hiding ( (|||) )
import XMonad.Actions.WindowBringer
import XMonad.Config () import XMonad.Config ()
import XMonad.Hooks.EwmhDesktops import XMonad.Hooks.EwmhDesktops
import XMonad.Hooks.ManageDocks import XMonad.Hooks.ManageDocks
@ -31,7 +32,7 @@ addKeys conf@XConfig {modMask = modm} =
, ((modm, xK_g), spawn "rofi -show window") , ((modm, xK_g), spawn "rofi -show window")
-- , ((modm, xK_s), sequence_ [shiftNextScreen, nextScreen]) -- , ((modm, xK_s), sequence_ [shiftNextScreen, nextScreen])
-- TODO: Change this to bringing the window to the current workspace -- TODO: Change this to bringing the window to the current workspace
, ((modm, xK_b), spawn "rofi -show run") , ((modm, xK_b), bringMenuArgs' "rofi" ["-dmenu"])
, ((modm .|. controlMask, xK_space), sendMessage $ JumpToLayout "Full") , ((modm .|. controlMask, xK_space), sendMessage $ JumpToLayout "Full")
, ((modm, xK_slash), sendMessage $ Toggle MIRROR) , ((modm, xK_slash), sendMessage $ Toggle MIRROR)
] ++ ] ++