adjusted laptop config files with input from desktop files
This commit is contained in:
Binary file not shown.
@@ -1,14 +1,14 @@
|
||||
|
||||
xmonad.hs:401:43: warning: [-Wdeprecations]
|
||||
xmonad.hs:300:3: warning: [-Wtabs]
|
||||
Tab character found here, and in 12 further locations.
|
||||
Please use spaces instead.
|
||||
|
|
||||
300 | spawn "polybar-msg cmd toggle")
|
||||
| ^^^^^^
|
||||
|
||||
xmonad.hs:412:43: warning: [-Wdeprecations]
|
||||
In the use of ‘spacing’ (imported from XMonad.Layout.Spacing):
|
||||
Deprecated: "Use spacingRaw instead."
|
||||
|
|
||||
401 | addSpace = renamed [CutWordsLeft 2] . spacing gap
|
||||
412 | addSpace = renamed [CutWordsLeft 2] . spacing gap
|
||||
| ^^^^^^^
|
||||
|
||||
xmonad.hs:459:1: warning: [-Wtabs]
|
||||
Tab character found here, and in 10 further locations.
|
||||
Please use spaces instead.
|
||||
|
|
||||
459 | , className =? "thunderbird" --> doShift "9: mail"
|
||||
| ^^^^^^^^
|
||||
|
||||
+16
-5
@@ -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),
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user