From 3dad87f325500284a312c982c518719b22e48e3a Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:58:49 +0400 Subject: [PATCH] brightness --- config/xmonad/xmonad.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index e6867b19..767bd665 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -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" )