brightness

This commit is contained in:
Sakooooo 2023-09-19 10:58:49 +04:00
parent 2f6a76e8e7
commit 3dad87f325
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -136,6 +136,10 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
, ((0, xF86XK_AudioLowerVolume), spawn "pactl set-sink-volume @DEFAULT_SINK@ -10%")
, ((0, xF86XK_AudioRaiseVolume), spawn "pactl set-sink-volume @DEFAULT_SINK@ +10%")
-- Brightness
, ((0, xF86XK_MonBrightnessUp), spawn "brightnessctl s +100")
, ((0, xF86XK_MonBrightnessDown), spawn "brightnessctl s 100-")
-- Fullscreen
, ((modm, xK_f), sendMessage $ JumpToLayout "Full" )