yautostart,mwelcome update
parent
3370391262
commit
b58d58748a
|
@ -73,7 +73,7 @@ OSVERSION=$(lsb_release -r | awk '{print $2}')
|
|||
OSCODE=$(lsb_release -c | awk '{print $2}')
|
||||
FONT="foreground='dark green' font='14'"
|
||||
|
||||
values=($(yad --window-icon=distributor-logo-mabox --center --undecorated --buttons-layout="edge" --borders=20 --width=520 --height=380 \
|
||||
values=($(yad --window-icon=distributor-logo-mabox --center --buttons-layout="edge" --borders=20 --width=520 --height=380 \
|
||||
--image=/usr/share/icons/mabox_trans_64.png --image-on-top \
|
||||
--text="<span $FONT>$OSNAME $OSVERSION $OSCODE</span>\n\n$TXT1" \
|
||||
--title="$TITLE" \
|
||||
|
|
|
@ -10,6 +10,7 @@ case $LANG in
|
|||
NAME="Nazwa"
|
||||
COMMENT="Komentarz"
|
||||
NO_DESC="brak opisu"
|
||||
CANCEL="Anuluj"
|
||||
;;
|
||||
*)
|
||||
TITLE="XDG Autostart Editor"
|
||||
|
@ -19,6 +20,7 @@ case $LANG in
|
|||
NAME="Name"
|
||||
COMMENT="Comment"
|
||||
NO_DESC="no description"
|
||||
CANCEL="Cancel"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -43,7 +45,7 @@ for f in $config_dir/autostart/*.desktop; do
|
|||
[ ! -z "$comment" ] && echo $comment || echo "$NO_DESC"
|
||||
done | yad --width=400 --height=400 --title="$TITLE" --image="gtk-execute" \
|
||||
--text="$DESC" --list --print-all --bool-fmt="t" \
|
||||
--checklist --column="$ENABLE:CHK" --column="$FILE:HD" --column="$NAME" --column="$COMMENT:HD" --tooltip-column=4 > $results
|
||||
--checklist --column="$ENABLE:CHK" --column="$FILE:HD" --column="$NAME" --column="$COMMENT:HD" --tooltip-column=4 --button=OK:0 --button="$CANCEL:1" > $results
|
||||
|
||||
if [[ ${PIPESTATUS[1]} -eq 0 ]]; then
|
||||
i=0
|
||||
|
|
Loading…
Reference in New Issue