Comments (8)
Closed unintentionally. What I fixed should have nothing to do with your issue.
I do believe that somehow you're still using improper css file. Otherwise the warnings:
Not using units is deprecated. Assuming 'px'.
should not appear. They have been fixed in my version of your drawer.css
.
from nwg-drawer.
You missed #
. Should be:
#category-button {
background-color: transparent;
padding: 1px;
}
from nwg-drawer.
No change.
from nwg-drawer.
Works well for me. With button
defined as above, for transparent buttons you also need box-shadow: none
in #category-button
. BTW: you should use px
in lines 7 and 14.
window {
background-color: rgba (36, 47, 79, 0.95);
color: #eeeeee
}
entry {
box-shadow: 0 0 6px 5px #2e3440;
background-color: #3b4252;
border: none;
border-radius:10px;
}
button {
box-shadow: 0 0 6px 5px #2e3440;
background-color: #3b4252;
border: none;
border-radius:5px;
margin: 4px;
}
#category-button {
background-color: transparent;
box-shadow: none;
padding: 1px;
}
button:hover {
background-color: rgba(129,161,193,0.7);
}
button:focus {
background-color: #5e81ac;
}
#pinned-box {
padding-bottom: 10px;
border-bottom: 1px dotted gray
}
#files-box {
padding: 10px;
border: 1px dotted gray;
}
from nwg-drawer.
Using the exact the drawer.css you gave me it still does work. This is installed from the Chaotic-AUR - up to date with the repo. I previously updated from the version below.
This is what shows after launching it in terminal.
lang: en_GB
Found 113 desktop files
Skipped 0 duplicates; 16 .desktop entries hidden by "NoDisplay=true"
(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:20: Not using units is deprecated. Assuming 'px'.
(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:22: Not using units is deprecated. Assuming 'px'.
(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:21: Not using units is deprecated. Assuming 'px'.
(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:23: Not using units is deprecated. Assuming 'px'.
Using style from /home/aryan/.config/nwg-panel/drawer.css
(nwg-drawer:3564): Gtk-CRITICAL **: 18:54:50.185: gtk_flow_box_set_max_children_per_line: assertion 'n_children > 0' failed
(0x56361539a718,0xc000217640)
(0x56361539a718,0xc000217b80)
(0x56361539a718,0xc000217c50)
Using XDG user dirs from /home/aryan/.config/user-dirs.dirs
** (nwg-drawer:3564): WARNING **: 18:54:50.372: gtk-layer-shell v0.6.0 may not work on GTK v3.24.30. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md
UI created in 300 ms.
Thank you for your patience and
thank you for all your quick responses!
from nwg-drawer.
These warnings:
(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:20: Not using units is deprecated. Assuming 'px'.
(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:22: Not using units is deprecated. Assuming 'px'.
(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:21: Not using units is deprecated. Assuming 'px'.
(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:23: Not using units is deprecated. Assuming 'px'.
come from your version of the css file, and should be absent when using my fixed version.
The next line, starting from (nwg-drawer:3564): Gtk-CRITICAL **: 18:54:50.185:
does not show up for me. It's odd. The only warning you should see is the one coming from gtk-layer shell. That's what it looks like here:
$ nwg-drawer
lang: pl_PL
Found 180 desktop files
Skipped 21 duplicates; 58 .desktop entries hidden by "NoDisplay=true"
Using style from /home/piotr/.config/nwg-panel/drawer.css
Using XDG user dirs from /home/piotr/.config/user-dirs.dirs
** (nwg-drawer:1812): WARNING **: 20:47:03.638: gtk-layer-shell v0.6.0 may not work on GTK v3.24.30. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md
UI created in 284 ms. Thank you for your patience.
It looks as if you're using an old, bugged version. What's the output of nwg-drawer -v
?
[edit] I've just found the reason of the Gtk-CRITICAL
warning: it shows up when no pinned cache was found. I'll fix it.
from nwg-drawer.
Sorry for the wait. No idea why those error still show. I'm using your exact drawer.css.
I'm assuming the problem is with me rather than something with nwg-drawer. Any ideas on any debug I could attempt etc...
from nwg-drawer.
Try another GTK theme to learn if it changes something.
from nwg-drawer.
Related Issues (20)
- Dead icons in nwg-drawer HOT 5
- Dotted lines not in drawer.css HOT 3
- nwg-drawer send string to search from command line HOT 5
- Can't click on waybar when nwg-drawer is open HOT 3
- Categories not showing HOT 14
- [CHANGED BEHAVIOR] New installation opens default list differently, can't fix HOT 6
- Uninstalled apps impossible to unpin HOT 1
- Drawer not following CSS with newest update HOT 2
- New option --config HOT 1
- /tmp/nwg-drawer.lock was owned by other user HOT 1
- nwg-drawer upgrade from 0.2.8 to 0.3.0 broke HOT 1
- Non-ascii character problem in menu name shortening HOT 6
- Specify icon theme HOT 7
- Panic when run pkill -USR1 nwg-drawer HOT 6
- Launching thunar from nwg-drawer opens in sway config directory HOT 2
- feature: prefer most used applications HOT 1
- Add CI HOT 2
- Launching certain apps HOT 10
- Change term overriding variable and improve error handling? HOT 4
- Some icons appear smaller and are offset when searching HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nwg-drawer.