On the MX Linux forum, there is one nice Yad script for another Exit menu.
Click hereI want to use my own colors for the frame (#ffffff (white) and buttons (#4f94ce (blue). Could not find a color solution in Yad, but instead trying to use a simple gtk3 theme, copied from this page.
Click hereI made one new theme folder
$HOME/.themes/Exit-menu/gtk-3.0/gtk.css
Added GTK_THEME="Exit-menu" in the Yad script.
GTK_THEME="Exit-menu" \
yad --center --borders=4 --class="yad-fblogout" --window-title="Exit actions" --title="Exit actions" --keep-icon-size --buttons-layout=center --skip-taskbar --sticky --single-click $nodeco $timer $tbar \
--button="... Lock ... \
--button=".... Logout ... \
--button=".... Suspend .... \
--button="...... Reboot .... \
--button="...... Shutdown
In gtk.css this script....
/* The background of the entire window */
/*
box {
background-color: #ffffff;
} */
button {
color: white;
background-image: image(rgb(79,148,206));
}
The background color is always black instead of white. This is the result... click
screenshotWith the box script, the buttons are white with a black frame.
box {
background-color: #ffffff;
}
Any solution,
Markku