wmstartup: Add a path to not kill Plasma

This commit is contained in:
Salt 2018-08-25 00:35:50 -05:00
parent dcc88306fa
commit aacaba1a5b
2 changed files with 12 additions and 3 deletions

View File

@ -23,6 +23,8 @@
## Clean up some variables that I use in device-specific scripts
# General
unset TERMINAL
# Specific to this script
unset DTF_KILL_EXTRA
# Polybar
unset PB_MONITOR
unset PB_WM_RESTACK
@ -65,11 +67,17 @@ xrdbupdate
## SERVICES AND DAEMONS
# Kill everything
printf "[INFO] Stopping existing services\n"
services="plasmashell xembedsniproxy krunner xfdesktop polybar compton conky sxhkd dunst xob"
services="krunner xfdesktop polybar compton conky sxhkd dunst xob"
for service in $services; do
printf " [INFO] Sending signal to all $service\n"
killall $service
done
# Kill more everything
printf "[INFO] Running secondary kill tasks\n"
for service in $DTF_KILL_EXTRA; do
printf " [INFO] Sending signal to all $service\n"
killall $service
done
# Wait for them to die
for service in $services; do
i=0
@ -167,7 +175,9 @@ fi
# Wallpaper management
printf "[INFO] Setting wallpaper\n"
if which xfdesktop > /dev/null 2>&1; then
if pgrep plasmashell > /dev/null 2>&1; then
printf " [INFO] Plasma is already doing that\n"
elif which xfdesktop > /dev/null 2>&1; then
printf " [INFO] Starting xfdesktop\n"
xfdesktop --disable-wm-check&
elif which feh > /dev/null 2>&1; then

View File

@ -291,7 +291,6 @@ activate task manager entry 7=Meta+7,Meta+7,Activate Task Manager Entry 7
activate task manager entry 8=Meta+8,Meta+8,Activate Task Manager Entry 8
activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9
activate widget 25=none,none,Activate Pager Widget
activate widget 3=,none,Activate Application Launcher Widget
activate widget 4=,none,Activate Application Launcher Widget
activate widget 50=Alt+F1,none,Activate Application Launcher Widget
clear-history=none,none,Clear Clipboard History