adjusted laptop config files with input from desktop files

This commit is contained in:
2021-03-22 18:35:28 +01:00
parent 8f3b76726b
commit 7122968b55
5 changed files with 26 additions and 14 deletions
+16 -5
View File
@@ -94,10 +94,10 @@ green = "#859900"
-- sizes
gap = 10
topbar = 10
topbar = 5
border = 0
prompt = 10
status = 10
prompt = 5
status = 5
active = orange
activeWarn = red
@@ -203,6 +203,9 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
-- Audio previous.
, ((modMask, xF86XK_AudioLowerVolume),
spawn "playerctl previous")
, ((0, xF86XK_AudioPrev),
spawn "playerctl previous")
-- Play/pause.
, ((0, xF86XK_AudioPlay),
@@ -211,6 +214,9 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
-- Audio next.
, ((modMask, xF86XK_AudioRaiseVolume),
spawn "playerctl next")
, ((0, xF86XK_AudioNext),
spawn "playerctl next")
-- Increase brigthness
, ((0, xF86XK_MonBrightnessUp),
@@ -289,8 +295,13 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
, ((modMask, xK_period),
sendMessage (IncMasterN (-1)))
-- Toggle the status bar gap.
-- TODO: update this binding with avoidStruts, ((modMask, xK_b),
-- Toggle polybar
, ((modMask .|. shiftMask, xK_f),
spawn "polybar-msg cmd toggle")
-- lock screen
, ((modMask .|. shiftMask, xK_0),
spawn "light-locker-command -l")
-- Quit xmonad.
, ((modMask .|. shiftMask, xK_q),