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):
|
In the use of ‘spacing’ (imported from XMonad.Layout.Spacing):
|
||||||
Deprecated: "Use spacingRaw instead."
|
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
|
-- sizes
|
||||||
gap = 10
|
gap = 10
|
||||||
topbar = 10
|
topbar = 5
|
||||||
border = 0
|
border = 0
|
||||||
prompt = 10
|
prompt = 5
|
||||||
status = 10
|
status = 5
|
||||||
|
|
||||||
active = orange
|
active = orange
|
||||||
activeWarn = red
|
activeWarn = red
|
||||||
@@ -203,6 +203,9 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
|
|||||||
-- Audio previous.
|
-- Audio previous.
|
||||||
, ((modMask, xF86XK_AudioLowerVolume),
|
, ((modMask, xF86XK_AudioLowerVolume),
|
||||||
spawn "playerctl previous")
|
spawn "playerctl previous")
|
||||||
|
, ((0, xF86XK_AudioPrev),
|
||||||
|
spawn "playerctl previous")
|
||||||
|
|
||||||
|
|
||||||
-- Play/pause.
|
-- Play/pause.
|
||||||
, ((0, xF86XK_AudioPlay),
|
, ((0, xF86XK_AudioPlay),
|
||||||
@@ -211,6 +214,9 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
|
|||||||
-- Audio next.
|
-- Audio next.
|
||||||
, ((modMask, xF86XK_AudioRaiseVolume),
|
, ((modMask, xF86XK_AudioRaiseVolume),
|
||||||
spawn "playerctl next")
|
spawn "playerctl next")
|
||||||
|
, ((0, xF86XK_AudioNext),
|
||||||
|
spawn "playerctl next")
|
||||||
|
|
||||||
|
|
||||||
-- Increase brigthness
|
-- Increase brigthness
|
||||||
, ((0, xF86XK_MonBrightnessUp),
|
, ((0, xF86XK_MonBrightnessUp),
|
||||||
@@ -289,8 +295,13 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
|
|||||||
, ((modMask, xK_period),
|
, ((modMask, xK_period),
|
||||||
sendMessage (IncMasterN (-1)))
|
sendMessage (IncMasterN (-1)))
|
||||||
|
|
||||||
-- Toggle the status bar gap.
|
-- Toggle polybar
|
||||||
-- TODO: update this binding with avoidStruts, ((modMask, xK_b),
|
, ((modMask .|. shiftMask, xK_f),
|
||||||
|
spawn "polybar-msg cmd toggle")
|
||||||
|
|
||||||
|
-- lock screen
|
||||||
|
, ((modMask .|. shiftMask, xK_0),
|
||||||
|
spawn "light-locker-command -l")
|
||||||
|
|
||||||
-- Quit xmonad.
|
-- Quit xmonad.
|
||||||
, ((modMask .|. shiftMask, xK_q),
|
, ((modMask .|. shiftMask, xK_q),
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user