updated amixer command

This commit is contained in:
Inkletblot 2021-03-08 10:30:11 +10:30
parent d1ebb42b6e
commit 7098e6d2ea

View File

@ -231,10 +231,10 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
-- --
[ [
-- decrease volume with mod+f11 -- decrease volume with mod+f11
((modm, xK_F11), spawn "amixer -c 3 set Master 5%-") ((modm, xK_F11), spawn "amixer -c 2 set Master 5%-")
-- increase volume with mod+f12 -- increase volume with mod+f12
,((modm, xK_F12), spawn "amixer -c 3 set Master 5%+") ,((modm, xK_F12), spawn "amixer -c 2 set Master 5%+")
] ]
++ ++
@ -278,7 +278,7 @@ myMouseBindings (XConfig {XMonad.modMask = modm}) = M.fromList $
--Makes setting the spacingRaw simpler to write. The spacingRaw module adds a configurable amount of space around windows. --Makes setting the spacingRaw simpler to write. The spacingRaw module adds a configurable amount of space around windows.
mySpacing :: Integer -> l a -> XMonad.Layout.LayoutModifier.ModifiedLayout Spacing l a mySpacing :: Integer -> l a -> XMonad.Layout.LayoutModifier.ModifiedLayout Spacing l a
mySpacing i = spacingRaw False (Border i i i i) True (Border i i i i) True mySpacing i = spacingRaw True (Border i i i i) True (Border i i i i) True
-- Defining a bunch of layouts, many that I don't use. -- Defining a bunch of layouts, many that I don't use.
-- limitWindows n sets maximum number of windows displayed for layout. -- limitWindows n sets maximum number of windows displayed for layout.