311 |
# add shutdown, reboot icons |
# add shutdown, reboot icons |
312 |
for i in shutdown reboot |
for i in shutdown reboot |
313 |
do |
do |
|
# abort if empty |
|
|
[[ -z ${i} ]] && continue |
|
|
|
|
314 |
# new line if x > xres |
# new line if x > xres |
315 |
if [ ${x} -ge ${xres} ] |
if [ ${x} -ge ${xres} ] |
316 |
then |
then |
329 |
fi |
fi |
330 |
|
|
331 |
case ${i} in |
case ${i} in |
332 |
shutdown) name="Herunterfahren" |
shutdown) name="Herunterfahren" ;; |
333 |
reboot) name="Neustarten" |
reboot) name="Neustarten" ;; |
334 |
esac |
esac |
335 |
|
|
336 |
generate_icon \ |
generate_icon \ |