wmstartup: Polish the plasma path a bit
This commit is contained in:
parent
aacaba1a5b
commit
53c55f948d
@ -67,7 +67,7 @@ xrdbupdate
|
|||||||
## SERVICES AND DAEMONS
|
## SERVICES AND DAEMONS
|
||||||
# Kill everything
|
# Kill everything
|
||||||
printf "[INFO] Stopping existing services\n"
|
printf "[INFO] Stopping existing services\n"
|
||||||
services="krunner xfdesktop polybar compton conky sxhkd dunst xob"
|
services="plasmashell krunner xfdesktop polybar compton conky sxhkd dunst xob"
|
||||||
for service in $services; do
|
for service in $services; do
|
||||||
printf " [INFO] Sending signal to all $service\n"
|
printf " [INFO] Sending signal to all $service\n"
|
||||||
killall $service
|
killall $service
|
||||||
@ -175,8 +175,9 @@ fi
|
|||||||
|
|
||||||
# Wallpaper management
|
# Wallpaper management
|
||||||
printf "[INFO] Setting wallpaper\n"
|
printf "[INFO] Setting wallpaper\n"
|
||||||
if pgrep plasmashell > /dev/null 2>&1; then
|
if which plasmashell > /dev/null 2>&1; then
|
||||||
printf " [INFO] Plasma is already doing that\n"
|
printf " [INFO] Starting Plasma\n"
|
||||||
|
plasmashell &
|
||||||
elif which xfdesktop > /dev/null 2>&1; then
|
elif which xfdesktop > /dev/null 2>&1; then
|
||||||
printf " [INFO] Starting xfdesktop\n"
|
printf " [INFO] Starting xfdesktop\n"
|
||||||
xfdesktop --disable-wm-check&
|
xfdesktop --disable-wm-check&
|
||||||
|
Reference in New Issue
Block a user