Update XMonad config
This commit is contained in:
@@ -68,6 +68,14 @@ myScreenshotDir = "/home/fuxino/Pictures/Screenshots/"
|
|||||||
myScreenshotName :: String
|
myScreenshotName :: String
|
||||||
myScreenshotName = "Screenshot-%Y-%m-%d-%H%M%S.png"
|
myScreenshotName = "Screenshot-%Y-%m-%d-%H%M%S.png"
|
||||||
|
|
||||||
|
myScreenSetup :: String
|
||||||
|
myScreenSetup =
|
||||||
|
"sleep 1 && xrandr --output HDMI-1-0 --preferred --primary --output eDP-1 --right-of HDMI-1-0 --preferred && ~/.fehbg"
|
||||||
|
++ " && picom -b -c"
|
||||||
|
++ " && trayer -l --edge top --align right --SetDockType true \
|
||||||
|
\--SetPartialStrut true --expand true --widthtype request \
|
||||||
|
\--tint 0x232634 --height 18 --monitor 1"
|
||||||
|
|
||||||
myScratchpads :: [NamedScratchpad]
|
myScratchpads :: [NamedScratchpad]
|
||||||
myScratchpads =
|
myScratchpads =
|
||||||
[ NS "Riseup-vpn" "riseup-vpn" (className =? "RiseupVPN") (customFloating $ W.RationalRect 0.15 0.4 0.15 0.4),
|
[ NS "Riseup-vpn" "riseup-vpn" (className =? "RiseupVPN") (customFloating $ W.RationalRect 0.15 0.4 0.15 0.4),
|
||||||
@@ -190,15 +198,15 @@ myXmobarPP =
|
|||||||
myStartupHook :: X ()
|
myStartupHook :: X ()
|
||||||
myStartupHook = do
|
myStartupHook = do
|
||||||
spawnOnce "xsetroot -cursor_name left_ptr"
|
spawnOnce "xsetroot -cursor_name left_ptr"
|
||||||
-- spawnOnce "mons -e left && ~/.fehbg"
|
spawnOnce myScreenSetup
|
||||||
spawnOnce $
|
-- spawnOnce $
|
||||||
"xrandr --output HDMI-1-0 --preferred --primary --output eDP-1 --right-of HDMI-1-0 --preferred && ~/.fehbg"
|
-- "xrandr --output HDMI-1-0 --preferred --primary --output eDP-1 --right-of HDMI-1-0 --preferred && ~/.fehbg"
|
||||||
++ " && picom -b -c"
|
-- ++ " && picom -b -c"
|
||||||
spawnOnce "xautolock -time 10 -locker slock -detectsleep"
|
spawnOnce "xautolock -time 10 -locker slock -detectsleep"
|
||||||
spawnOnce
|
-- spawnOnce
|
||||||
"trayer -l --edge top --align right --SetDockType true \
|
-- "trayer -l --edge top --align right --SetDockType true \
|
||||||
\--SetPartialStrut true --expand true --widthtype request \
|
-- \--SetPartialStrut true --expand true --widthtype request \
|
||||||
\--tint 0x232634 --height 18 --monitor 1"
|
-- \--tint 0x232634 --height 18 --monitor 1"
|
||||||
spawnOnce "redshift-gtk"
|
spawnOnce "redshift-gtk"
|
||||||
spawnOnce "udiskie"
|
spawnOnce "udiskie"
|
||||||
spawnOnce "nm-applet"
|
spawnOnce "nm-applet"
|
||||||
|
|||||||
Reference in New Issue
Block a user