Re: MX-16 Screenshots
Posted: Wed May 16, 2018 2:45 pm
Very handsome, and witty too.
asqwerth wrote: ↑Wed May 16, 2018 1:30 pm Latest screenshot from my test MX15 (Jessie) partition that I'm still using.
The Lollypop media player running is the flatpak version since Jessie's gtk+ version is too old to run Lollypop otherwise.
It works but not for themeing. No matter what gtk theme you apply, flatpak Lollypop will just show up in standard Adwaita theme....
Male is the capital of the Maldives and its wonderful people.asqwerth wrote:by @male
Code: Select all
#!/bin/bash
#------------------------------------------------------------------------------------------------------#
#inspiration: jpdipsy help-scripting: daniel38100 idea: ragamatrix from forum ubuntu-fr
#Examples how-to
#syntaxe calling cartouche BG :
#~/bin/draw_bg_convert.sh crea_cart "BG" "715x105" "cadre" "red" "0" "blue" "5"
#crea_cart "BG" "715x102" "cadre" "#00000000" "0" "#00000060" "5" #BG without square
#crea_cart "BG" "715x105" "cadre" "silver" "0" "#00000040" "5" #BG with square
# ^name.png ^size(x-y) ^frame | | | | |
# color frame | |
# | | |
# thickness frame |
# | |
# color background
# |
# corner radius
#------------------------------------------------------------------------------------------------------#
#You can change the reptemp path by your /pathes/choices you want
if [ ! -z $9 ];then
reptemp="$9"
elif [ -z $4 ];then
reptemp=/tmp
elif [ $4 != "cadre" ];then
reptemp=$4
else
reptemp=/tmp
fi
echo $reptemp > ~/test.log
case "$1" in
crea_cart )
nom="$reptemp/$2.png" ;export image_"$2"="$nom" ;taille="$3";cadre="$4";couleur="$5";bordure="$6";couleurfond="$7";arrondi="$8"
if [[ $4 = "cadre" ]];then
# rectangle 1px de moins sur la taille
L=$(echo $taille|cut -d x -f1);L=$((L - 1))
H=$(echo $taille|cut -d x -f2);H=$((H - 1))
convert -size "$taille" xc:none -fill "$couleurfond" -strokewidth "$bordure" -stroke "$couleur" -draw "roundrectangle 1,1 $L,$H $arrondi,$arrondi" "$nom"
else
convert -size "$taille" xc:none "$nom"
fi
;;
esac
exit
Thanks, @male. I don't know when I'll get down to testing this script, but some preliminary questions:male wrote: ↑Sun Jul 01, 2018 2:39 pm ....
I'd like to give you this script. The how-to is written at the beginning (you will understand it). It makes backgrounds for your Conky's in a simple way. I got it from a good friend
draw_bg_convert.shCode: Select all
#!/bin/bash #------------------------------------------------------------------------------------------------------# #inspiration: jpdipsy help-scripting: daniel38100 idea: ragamatrix from forum ubuntu-fr #Examples how-to #syntaxe calling cartouche BG : #~/bin/draw_bg_convert.sh crea_cart "BG" "715x105" "cadre" "red" "0" "blue" "5" #crea_cart "BG" "715x102" "cadre" "#00000000" "0" "#00000060" "5" #BG without square #crea_cart "BG" "715x105" "cadre" "silver" "0" "#00000040" "5" #BG with square # ^name.png ^size(x-y) ^frame | | | | | # color frame | | # | | | # thickness frame | # | | # color background # | # corner radius #------------------------------------------------------------------------------------------------------# #You can change the reptemp path by your /pathes/choices you want if [ ! -z $9 ];then reptemp="$9" elif [ -z $4 ];then reptemp=/tmp elif [ $4 != "cadre" ];then reptemp=$4 else reptemp=/tmp fi echo $reptemp > ~/test.log case "$1" in crea_cart ) nom="$reptemp/$2.png" ;export image_"$2"="$nom" ;taille="$3";cadre="$4";couleur="$5";bordure="$6";couleurfond="$7";arrondi="$8" if [[ $4 = "cadre" ]];then # rectangle 1px de moins sur la taille L=$(echo $taille|cut -d x -f1);L=$((L - 1)) H=$(echo $taille|cut -d x -f2);H=$((H - 1)) convert -size "$taille" xc:none -fill "$couleurfond" -strokewidth "$bordure" -stroke "$couleur" -draw "roundrectangle 1,1 $L,$H $arrondi,$arrondi" "$nom" else convert -size "$taille" xc:none "$nom" fi ;; esac exit