wmstartup: Add a path to not kill Plasma
This commit is contained in:
parent
dcc88306fa
commit
aacaba1a5b
@ -23,6 +23,8 @@
|
|||||||
## Clean up some variables that I use in device-specific scripts
|
## Clean up some variables that I use in device-specific scripts
|
||||||
# General
|
# General
|
||||||
unset TERMINAL
|
unset TERMINAL
|
||||||
|
# Specific to this script
|
||||||
|
unset DTF_KILL_EXTRA
|
||||||
# Polybar
|
# Polybar
|
||||||
unset PB_MONITOR
|
unset PB_MONITOR
|
||||||
unset PB_WM_RESTACK
|
unset PB_WM_RESTACK
|
||||||
@ -65,11 +67,17 @@ xrdbupdate
|
|||||||
## SERVICES AND DAEMONS
|
## SERVICES AND DAEMONS
|
||||||
# Kill everything
|
# Kill everything
|
||||||
printf "[INFO] Stopping existing services\n"
|
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
|
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
|
||||||
done
|
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
|
# Wait for them to die
|
||||||
for service in $services; do
|
for service in $services; do
|
||||||
i=0
|
i=0
|
||||||
@ -167,7 +175,9 @@ fi
|
|||||||
|
|
||||||
# Wallpaper management
|
# Wallpaper management
|
||||||
printf "[INFO] Setting wallpaper\n"
|
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"
|
printf " [INFO] Starting xfdesktop\n"
|
||||||
xfdesktop --disable-wm-check&
|
xfdesktop --disable-wm-check&
|
||||||
elif which feh > /dev/null 2>&1; then
|
elif which feh > /dev/null 2>&1; then
|
||||||
|
@ -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 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 task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9
|
||||||
activate widget 25=none,none,Activate Pager Widget
|
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 4=,none,Activate Application Launcher Widget
|
||||||
activate widget 50=Alt+F1,none,Activate Application Launcher Widget
|
activate widget 50=Alt+F1,none,Activate Application Launcher Widget
|
||||||
clear-history=none,none,Clear Clipboard History
|
clear-history=none,none,Clear Clipboard History
|
||||||
|
Reference in New Issue
Block a user