desktop xmonad config setup
This commit is contained in:
parent
dfaddd9546
commit
32fe2ebf82
@ -199,6 +199,10 @@ myEZKeys =
|
||||
, ("M-d m", spawn "/usr/local/bin/dmenumount") -- launch mounter
|
||||
, ("M-d u", spawn "/usr/local/bin/dmenuumount") -- launch unmounter
|
||||
|
||||
--NOTE backlight controls
|
||||
, ("<XF86MonBrightnessUp>", spawn "/usr/local/bin/mod_backlight +10") -- increase backlight brightness by 10
|
||||
, ("<XF86MonBrightnessDown>", spawn "/usr/local/bin/mod_backlight -10") -- decrease backlight brightness by 10
|
||||
|
||||
--NOTE music and audio controls
|
||||
, ("M-S-o", spawn "/usr/local/bin/set-default-sink") -- set default output
|
||||
, ("M-S-i", spawn "/usr/local/bin/set-default-source") -- set default input
|
||||
@ -391,6 +395,8 @@ myStartupHook = do
|
||||
-- Startup Applications
|
||||
spawnOnce "barrier &"
|
||||
spawnOnce "nextcloud &"
|
||||
spawnOnce "slack &"
|
||||
spawnOnce "todoist &"
|
||||
spawnOnce "element-desktop --hidden &"
|
||||
spawnOnce "flameshot"
|
||||
|
||||
@ -414,6 +420,8 @@ main = do
|
||||
-- xmproc0 <- spawnPipe toProc
|
||||
|
||||
xmproc0 <- spawnPipe "xmobar -x 0 /home/solomon/.config/xmobar/xmobarrc-main.hs"
|
||||
xmproc1 <- spawnPipe "xmobar -x 1 /home/solomon/.config/xmobar/xmobarrc-sub.hs"
|
||||
xmproc2 <- spawnPipe "xmobar -x 2 /home/solomon/.config/xmobar/xmobarrc-sub.hs"
|
||||
|
||||
xmonad $ ewmh $ docks def
|
||||
-- defaults = def
|
||||
@ -439,6 +447,8 @@ main = do
|
||||
-- logHook = myLogHook,
|
||||
logHook = myLogHook <+> dynamicLogWithPP xmobarPP
|
||||
{ ppOutput = \x -> hPutStrLn xmproc0 x
|
||||
>> hPutStrLn xmproc1 x
|
||||
>> hPutStrLn xmproc2 x
|
||||
, ppCurrent = xmobarColor "#a8de45" "" . wrap "[" "]" -- Current workspace in xmobar
|
||||
, ppVisible = xmobarColor "#88ae55" "" . clickable -- Visible but not current workspace
|
||||
, ppHidden = xmobarColor "#82AAFF" "" . wrap "*" "" . clickable -- Hidden workspaces in xmobar
|
||||
|
||||
Loading…
Reference in New Issue
Block a user