conky, wmstartup.sh: Change Conky head, fix eternal wait in wmstartup

This commit is contained in:
Salt 2018-08-11 13:30:41 -05:00
parent 7482463203
commit 305d0df7c4
3 changed files with 12 additions and 4 deletions

View File

@ -28,7 +28,7 @@ conky.config = {
color9 = 'd3869b', -- Magenta (Memory)
alignment = 'top_left',
xinerama_head = 2,
xinerama_head = 0,
minimum_height = 4000,
minimum_width = 300,
border_width = 6,

View File

@ -65,10 +65,18 @@ for service in $services; do
done
# Wait for them to die
for service in $services; do
i=0
while pgrep $service > /dev/null 2>&1; do
printf " [INFO] Waiting on $service\n"
sleep 0.5
if [[ "$i" = "10" ]]; then
printf " [INFO] Waited too long, killing $service with prejudice\n"
killall -9 $service
else
printf " [INFO] Waiting on $service\n"
sleep 0.5
i=$(expr i + 1)
fi
done
unset i
done
# Start them back up

View File

@ -3,7 +3,7 @@ update_info=powerdevil_move_shortcuts.upd:powerdevil_move_shortcuts
[KDE Keyboard Layout Switcher]
Switch to Next Keyboard Layout=Ctrl+Alt+K,none,Switch to Next Keyboard Layout
_k_friendly_name=System Settings
_k_friendly_name=KDE Daemon
[kaccess]
Toggle Screen Reader On and Off=Meta+Alt+S,Meta+Alt+S,Toggle Screen Reader On and Off