ADD autorandr selector
This commit is contained in:
parent
b77edbfcbb
commit
8c98ab5939
|
@ -498,6 +498,7 @@ mkKeys ts c =
|
||||||
-- M-<F1> reserved for showing the keymap
|
-- M-<F1> reserved for showing the keymap
|
||||||
, ("M-<F2>", "restart xmonad", runCleanup ts >> runRestart)
|
, ("M-<F2>", "restart xmonad", runCleanup ts >> runRestart)
|
||||||
, ("M-<F3>", "recompile xmonad", runRecompile)
|
, ("M-<F3>", "recompile xmonad", runRecompile)
|
||||||
|
, ("M-<F8>", "select autorandr profile", runAutorandrMenu)
|
||||||
, ("M-<F9>", "toggle ethernet", runToggleEthernet)
|
, ("M-<F9>", "toggle ethernet", runToggleEthernet)
|
||||||
, ("M-<F10>", "toggle bluetooth", runToggleBluetooth)
|
, ("M-<F10>", "toggle bluetooth", runToggleBluetooth)
|
||||||
, ("M-<F11>", "toggle screensaver", runToggleDPMS)
|
, ("M-<F11>", "toggle screensaver", runToggleDPMS)
|
||||||
|
|
|
@ -10,6 +10,7 @@ module XMonad.Internal.Command.DMenu
|
||||||
, runDevMenu
|
, runDevMenu
|
||||||
, runBwMenu
|
, runBwMenu
|
||||||
, runShowKeys
|
, runShowKeys
|
||||||
|
, runAutorandrMenu
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Control.Monad.Reader
|
import Control.Monad.Reader
|
||||||
|
@ -84,3 +85,6 @@ runWinMenu = spawnDmenuCmd ["-show", "window"]
|
||||||
|
|
||||||
runNetMenu :: X ()
|
runNetMenu :: X ()
|
||||||
runNetMenu = spawnCmd "networkmanager_dmenu" $ themeArgs "#ff3333"
|
runNetMenu = spawnCmd "networkmanager_dmenu" $ themeArgs "#ff3333"
|
||||||
|
|
||||||
|
runAutorandrMenu :: X ()
|
||||||
|
runAutorandrMenu = spawnCmd "rofi-autorandr" $ themeArgs "#ff0066"
|
||||||
|
|
Loading…
Reference in New Issue