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-<F2>", "restart xmonad", runCleanup ts >> runRestart)
|
||||
, ("M-<F3>", "recompile xmonad", runRecompile)
|
||||
, ("M-<F8>", "select autorandr profile", runAutorandrMenu)
|
||||
, ("M-<F9>", "toggle ethernet", runToggleEthernet)
|
||||
, ("M-<F10>", "toggle bluetooth", runToggleBluetooth)
|
||||
, ("M-<F11>", "toggle screensaver", runToggleDPMS)
|
||||
|
|
|
@ -10,6 +10,7 @@ module XMonad.Internal.Command.DMenu
|
|||
, runDevMenu
|
||||
, runBwMenu
|
||||
, runShowKeys
|
||||
, runAutorandrMenu
|
||||
) where
|
||||
|
||||
import Control.Monad.Reader
|
||||
|
@ -84,3 +85,6 @@ runWinMenu = spawnDmenuCmd ["-show", "window"]
|
|||
|
||||
runNetMenu :: X ()
|
||||
runNetMenu = spawnCmd "networkmanager_dmenu" $ themeArgs "#ff3333"
|
||||
|
||||
runAutorandrMenu :: X ()
|
||||
runAutorandrMenu = spawnCmd "rofi-autorandr" $ themeArgs "#ff0066"
|
||||
|
|
Loading…
Reference in New Issue