je partage une petite manip pour ceux qui sont intéressé d’intégrer un arrière-plan personnalisé dans nemo ( testé sur la version 4.8.2)
du scrolling est aussi possible, test effectué avec un *.png.
cette manip n'est opérationnelle que sur les thèmes généré par Themix/Oomox theme designer
-copiez votre image dans:
/home/xxxx/.themes/votre theme/gtk-3.20/assets
-ajoutez cette ligne vers la fin du fichier gtk.gresource.xml (pensez a modifier "votre fichier.png")
Code : Tout sélectionner
<file preprocess='to-pixdata'>assets/votre fichier.png</file>
@import url("resource:///org/numixproject/gtk-3.20/dist/gtk.css");
-rajoutez y ces lignes: (pensez a modifier "votre fichier.png")
Code : Tout sélectionner
.nemo-window .nemo-window-pane notebook scrolledwindow.view, window.thunar notebook scrolledwindow.frame.standard-view,
.nautilus-window,
.nautilus-window notebook,
.nautilus-window notebook > stack {
background-image: url("assets/votre fichier.png");
background-size: 512px 166px, 512px 166px;
background-position: center;
background-repeat: no-repeat;
animation: backAnimation 80s linear infinite;
}
-le script suivant fera du scrolling horizontal (lent et très fluide):
Code : Tout sélectionner
.nemo-window .nemo-window-pane notebook scrolledwindow.view, window.thunar notebook scrolledwindow.frame.standard-view,
.nautilus-window,
.nautilus-window notebook,
.nautilus-window notebook > stack {
background-image: url("assets/linux-mint-banniere.png");
background-size: 512px 166px, 512px 166px;
background-position: center;
background-repeat: no-repeat;
animation: backAnimation 80s linear infinite;
}
@keyframes backAnimation {
from { background-position: 0 0; }
to { background-position: 100% 0; }
}