From 7d68d0c122cd1a2b988f7732945f55b8d251a5e5 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Fri, 15 May 2020 22:33:01 +0200 Subject: Cleaned xinit.sh and added checks for already running programs. --- xinit.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'xinit.sh') diff --git a/xinit.sh b/xinit.sh index 534700b..6048726 100755 --- a/xinit.sh +++ b/xinit.sh @@ -2,15 +2,12 @@ # To be run by the window manager or desktop environment when starting an X session xrdb ~/.Xresources -picom -b -dunst & -#feh --bg-max ~/images/wallpapers/bg_* +pgrep -x picom || picom -b +pgrep -x dunst || dunst & setRandomBG.sh setxkbmap -layout es -option caps:swapescape xset -b -unclutter --idle 1 & +pgrep -x unclutter || unclutter --idle 1 & #touchpad.sh urxvt -e tmux new -s main & -#optimus-manager-qt & pgrep -x sxhkd || sxhkd >~/logs/sxhkd.log & - -- cgit v1.2.1