sauvegarder les fichiers d'origine
% sudo cp /usr/share/nakedrasi/nakedquit.rasi /usr/share/nakedrasi/nakedquit.rasi_bak sudo cp /usr/bin/nakedquit /usr/bin/nakedquit_bak %
Pour l'icone font forkawesome unicode U+F019
puis j'ai modifier les 2 fichiers comme ceci
% nakedquit.rasi /** * nakeDebc rofi theme by arpinux based on Pop Dark rofi theme * used for exit dialog * color scheme : NordTheme */ * { foreground: #eceff4; background: #2e3440; background-color: #2e3440; lightbg: #434c5e; blue: #5e81ac; } #window { fullscreen: false; width: 835px; border: 5px; border-color: @blue; background-color: @background; text-color: @foreground; font: "forkawesome 30"; padding: 20px; children:[horibox]; } #horibox { orientation: horizontal; children: [listview]; } #listview { layout: horizontal; spacing: 20px; text-color: @foreground; expand: true; } #element { border: 0; padding: 10px 31px; } #element selected { text-color: @foreground; background-color: @blue; } #element normal { text-color: @blue; background-color: @lightbg; } %
% nakedquit #!/bin/bash # a simple logout dialog # launch exit menu choice=$(printf "\n\n\n\n\n\n" | \ rofi -theme /usr/share/nakedrasi/nakedquit.rasi -dmenu) # execute the choice in background case "$choice" in ) pgrep -x i3 > /dev/null && i3-msg exit || xdotool key Ctrl+Alt+BackSpace & ;; ) i3lock-fancy & ;; ) systemctl suspend & ;; ) systemctl hibernate & ;; ) systemctl reboot & ;; ) systemctl poweroff & ;; ) exit ;; esac %
forcement les icones n'apparaissent pas ici , mais avec un copié coller dans son terminale se doit etre bon
:: @croutons ajouté le 16 Apr ’22 · 12:09
une petite capture d'écran qui vas bien
https://zupimages.net/viewer.php?id=22/15/r9mn.png