xmonad: added brightness controls
This commit is contained in:
parent
a5d0731b6e
commit
d3c56cfffd
|
@ -155,7 +155,7 @@ projects =
|
||||||
{ projectName = wsADA,
|
{ projectName = wsADA,
|
||||||
projectDirectory = "~/",
|
projectDirectory = "~/",
|
||||||
projectStartHook = Just $ do spawnOn wsADA daedalus
|
projectStartHook = Just $ do spawnOn wsADA daedalus
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
promptTheme :: XPConfig
|
promptTheme :: XPConfig
|
||||||
|
@ -174,7 +174,9 @@ promptTheme =
|
||||||
-- Applications --
|
-- Applications --
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
browser, discord, editor, element, incognitoBrowser, iogBrowser, launcher, logseq, musicPlayer, obs, screenshot, slack, myTerminal :: String
|
brightnessDown, brightnessUp, browser, discord, editor, element, incognitoBrowser, iogBrowser, launcher, logseq, musicPlayer, obs, screenshot, slack, myTerminal :: String
|
||||||
|
brightnessDown = "light -U 5"
|
||||||
|
brightnessUp = "light -A 5"
|
||||||
browser = "brave"
|
browser = "brave"
|
||||||
daedalus = "daedalus"
|
daedalus = "daedalus"
|
||||||
discord = "discord"
|
discord = "discord"
|
||||||
|
@ -216,7 +218,10 @@ myKeybinds =
|
||||||
("M-C-S-l", spawn myScreenLock),
|
("M-C-S-l", spawn myScreenLock),
|
||||||
("M-C-d", setLayout $ Layout (layoutHook myConfig)),
|
("M-C-d", setLayout $ Layout (layoutHook myConfig)),
|
||||||
("M-C-w", shiftToProjectPrompt promptTheme),
|
("M-C-w", shiftToProjectPrompt promptTheme),
|
||||||
("M-w", switchProjectPrompt promptTheme)
|
("M-w", switchProjectPrompt promptTheme),
|
||||||
|
-- Environment controls
|
||||||
|
("<XF86MonBrightnessDown>", spawn brightnessDown),
|
||||||
|
("<XF86MonBrightnessUp>", spawn brightnessUp)
|
||||||
]
|
]
|
||||||
-- Navigation
|
-- Navigation
|
||||||
++ zipWith (makeKeybindZipper "M-" windowGo) htnsKeys dirs
|
++ zipWith (makeKeybindZipper "M-" windowGo) htnsKeys dirs
|
||||||
|
|
Loading…
Reference in a new issue