fixing xmonad

This commit is contained in:
Solomon Laing 2021-11-27 09:12:21 +10:30
parent 7c0481af47
commit c600d664c5
3 changed files with 28 additions and 2 deletions

9
.xmonad/start-xmonad.sh Normal file
View File

@ -0,0 +1,9 @@
!#/bin/sh
# Not sure if this is the correct way of doing this but
# the standard desktop entry does not work, I've been
# using my .xprofile up till now but that doesn't work
# with multiple DEs.
xmonad --recompile
xmonad --restart

View File

@ -70,7 +70,7 @@ import XMonad.Util.SpawnOnce
-- A simple way to switch between desktop and laptop related things -- A simple way to switch between desktop and laptop related things
isLaptop :: Bool isLaptop :: Bool
isLaptop = False isLaptop = True
--THEME --THEME
@ -569,7 +569,7 @@ myStartupHook = do
spawnOnce "nextcloud &" spawnOnce "nextcloud &"
spawnOnce "slack &" spawnOnce "slack &"
spawnOnce "element-desktop --hidden &" spawnOnce "element-desktop --hidden &"
spawnOnce "protonvpn" -- spawnOnce "protonvpn"
-- Start trayer last -- Start trayer last
spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282a36 --height 20 &" spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282a36 --height 20 &"

17
.xprofile Normal file
View File

@ -0,0 +1,17 @@
# keyboard layout
setxkbmap dvorak &
# wallpaper
nitrogen --restore &
# compositor
picom --experimental-backend &
# numlock
numlockx
# cursor
xsetroot -cursor_name left_ptr
# screenlayout
/home/solomon/.screenlayout/normal.sh