Browse Source

just for fun

pull/4/head
François 1 year ago
parent
commit
0249ac49b8
  1. 11
      bin/.updateLook-completion.bash
  2. BIN
      bin/look/kaz/kaz-tete.png
  3. BIN
      bin/look/kaz/kazdate.png
  4. BIN
      bin/look/kaz/kazmel.png
  5. BIN
      bin/look/noel/kaz-tete.png
  6. BIN
      bin/look/noel/kazdate.png
  7. BIN
      bin/look/noel/kazmel.png
  8. 25
      bin/updateLook.sh

11
bin/.updateLook-completion.bash

@ -0,0 +1,11 @@
#/usr/bin/env bash
_update_look_nas_completion () {
COMPREPLY=()
local cur=${COMP_WORDS[COMP_CWORD]}
local THEMES=$(cd "$(dirname ${COMP_WORDS[0]})"/look ; ls -F -- '.' | grep '/$' | sed 's%/%%' | tr '\n' ' ' | sed 's% $%%')
COMPREPLY=($(compgen -W "${THEMES}" -- "${cur}"))
return 0
}
complete -F _update_look_nas_completion updateLook.sh

BIN
bin/look/kaz/kaz-tete.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
bin/look/kaz/kazdate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
bin/look/kaz/kazmel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
bin/look/noel/kaz-tete.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
bin/look/noel/kazdate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
bin/look/noel/kazmel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

25
bin/updateLook.sh

@ -0,0 +1,25 @@
#!/bin/bash
KAZ_ROOT=$(cd "$(dirname $0)"/..; pwd)
. "${KAZ_ROOT}/bin/.commonFunctions.sh"
setKazVars
cd "${KAZ_BIN_DIR}/look"
THEMES=$(ls -F -- '.' | grep '/$' | sed 's%/%%' | tr '\n' '|' | sed 's%|$%%')
usage () {
echo "usage $0 {${THEMES}}"
exit
}
[ -z "$1" ] && usage
[ -d "$1" ] || usage
cd $1
docker cp kaz-tete.png jirafeauServ:/var/jirafeau/media/kaz/kaz.png
docker cp kazdate.png framadateServ:/var/framadate/images/logo-framadate.png
docker cp kazmel.png roundcubeServ:/var/www/html/skins/elastic/images/kazmel.png
docker cp kaz-tete.png sympaServ:/usr/share/sympa/static_content/icons/logo_sympa.png
docker cp kaz-tete.png dokuwikiServ:/dokuwiki/lib/tpl/docnavwiki/images/logo.png
Loading…
Cancel
Save