miau
This commit is contained in:
parent
8683bfee42
commit
63de3a8832
9 changed files with 817 additions and 65 deletions
|
@ -22,6 +22,7 @@ import XMonad.Layout.Tabbed
|
|||
|
||||
import XMonad.Prompt
|
||||
import XMonad.Prompt.Layout
|
||||
import Graphics.X11.ExtraTypes.XF86
|
||||
|
||||
-- The preferred terminal program, which is used in a binding below and by
|
||||
-- certain contrib modules.
|
||||
|
@ -115,6 +116,15 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
|||
, ((modm , xK_comma ), sendMessage (IncMasterN 1))
|
||||
, ((modm , xK_period), sendMessage (IncMasterN (-1)))
|
||||
|
||||
-- Brightness n stuff
|
||||
, ((0, xF86XK_AudioRaiseVolume), spawn "amixer -D pulse sset Master 10%+")
|
||||
, ((0, xF86XK_AudioLowerVolume), spawn "amixer -D pulse sset Master 10%-")
|
||||
, ((0, xF86XK_AudioMute), spawn "amixer -D pulse sset Master toggle")
|
||||
, ((0, xF86XK_MonBrightnessUp), spawn "brightnessctl set +10%")
|
||||
, ((0, xF86XK_MonBrightnessDown), spawn "brightnessctl set 10%-")
|
||||
, ((0, xF86XK_KbdBrightnessUp), spawn "brightnessctl -d \"kbd_backlight\" set +10%")
|
||||
, ((0, xF86XK_KbdBrightnessDown), spawn "brightnessctl -d \"kbd_backlight\" set 10%-")
|
||||
|
||||
-- Toggle the status bar gap
|
||||
-- Use this binding with avoidStruts from Hooks.ManageDocks.
|
||||
-- See also the statusBar function from Hooks.DynamicLog.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue