gmc-holle / xfdashboard

Maybe a Gnome shell like dashboard for Xfce
GNU General Public License v2.0
120 stars 14 forks source link

[Question] How to hide the search bar and the app list button using the CSS? #205

Closed benyaminl closed 1 year ago

benyaminl commented 1 year ago

Hello, I want to ask kind of dumb question, is there anyway to hide the search bar, and only show th desktop and the opened apps? Is that possible? Thank you

gmc-holle commented 1 year ago

Hi,

this approach is very similar to the one describe at #201 and yes, that is already easily possible although there is no option in the settings. Just create an a file at $HOME/.config/xfdashboard/themes/global.css (loaded by all themes) or at $HOME/.config/xfdashboard/themes/user-[THEME_NAME].css (only loaded by the theme [THEME_NAME]) with the following content:

#searchbox
{
  visibility: false;
}

Setting "visibility" to false is similar to "display: none;" for CSS of HTML.

Regards, Stephan