From c600d664c5fd5c39f544d631aaf2e4446314941e Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sat, 27 Nov 2021 09:12:21 +1030 Subject: [PATCH] fixing xmonad --- .xmonad/start-xmonad.sh | 9 +++++++++ .xmonad/xmonad.hs | 4 ++-- .xprofile | 17 +++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .xmonad/start-xmonad.sh create mode 100644 .xprofile diff --git a/.xmonad/start-xmonad.sh b/.xmonad/start-xmonad.sh new file mode 100644 index 0000000..a334197 --- /dev/null +++ b/.xmonad/start-xmonad.sh @@ -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 diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index fa8013e..1894884 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -70,7 +70,7 @@ import XMonad.Util.SpawnOnce -- A simple way to switch between desktop and laptop related things isLaptop :: Bool -isLaptop = False +isLaptop = True --THEME @@ -569,7 +569,7 @@ myStartupHook = do spawnOnce "nextcloud &" spawnOnce "slack &" spawnOnce "element-desktop --hidden &" - spawnOnce "protonvpn" + -- spawnOnce "protonvpn" -- 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 &" diff --git a/.xprofile b/.xprofile new file mode 100644 index 0000000..b19c168 --- /dev/null +++ b/.xprofile @@ -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