LXQT Panel theme for Meilix
Panel theming is available via the LXQt Configuration Center –> LXQt Appearance –> LXQt Theme. For Meilix we have attempted making the light color theme with some new things like taskbar manager to highlight the active window and hover actions.
Meilix taskbar in panel
Theme folders of LXQT is in the directory /usr/share/lxqt/themes/.
Meilix LXQT theme directory
For theming the panel we start by creating a lxqt-panel.qss this file is like a style sheet for LXQt panel.
LXQtPanel #BackgroundWidget { background:rgba(240, 240, 240, 100%); } QToolTip { border-radius: 4px; border: 1px solid rgba(155, 155, 155, 100%); background:rgba(240, 240, 240, 100%); padding: 2px; margin: 0px; color: #313639; }
Where we are defining the values of property like background for LXQTPanel1 which is the primary panel but if we want to theme the second panel differently then we need to use LXQTPanel2 and if we require same theme then no need to add the property for second panel it will take the property of panel 1 only,
We can define appearance of things like tooltip using QToolTip , LXQtPanelPlugin for plugins area and property of widgets like calendar using QCalendarWidget like
QCalendarWidget #qt_calendar_navigationbar, QCalendarWidget #qt_calendar_navigationbar * { background:rgba(240, 240, 240, 100%); color: rgba(54, 54, 54, 100%); } QCalendarWidget QToolButton { margin: 3px; border-radius: 4px; border: 1px solid transparent; padding: 4px; }
We can also add or change the icons like the default icon for LXQt main menu it the LXQT logo but we want it to be something else like the logo of Meilix. We can add the path of the icon in the QSS file like
#MainMenu { qproperty-icon: url(mainmenu.svg); }
To check all the changes made in LXQT panel theme without restart or logout and login again we can use the following commands.
killall lxqt-panel lxqt-panel
You must be logged in to post a comment.