Handle Win+P to cycle display settings

master
Lars Vierbergen 8 years ago
parent 33537a1d03
commit dbf2f7f6b4
  1. 2
      action-manager
  2. 8
      xmonad.hs

@ -1 +1 @@
Subproject commit 02592c98709bec21624eaf5afdb6602c54a2093c
Subproject commit 8d31f95212608b8cc091eeacbec021df8a61babd

@ -125,9 +125,11 @@ main = do
, ((0, 0x1008ff15), spawn "clementine --stop")
, ((0, 0x1008ff16), spawn "clementine --restart-or-previous")
, ((0, 0x1008ff17), spawn "clementine --next")
-- Brightness buttons
, ((0, 0x1008ff02), spawn "~/.xmonad/brightness-adjust +")
, ((0, 0x1008ff03), spawn "~/.xmonad/brightness-adjust -")
-- Brightness buttons
, ((0, 0x1008ff02), spawn "~/.xmonad/brightness-adjust +")
, ((0, 0x1008ff03), spawn "~/.xmonad/brightness-adjust -")
-- Displays button (Win+P)
, ((mod4Mask, xK_p), spawn "~/.xmonad/action-manager/command.sh screenlayout ~/.xmonad/actioncontrol")
]
`additionalKeys`
--

Loading…
Cancel
Save