Comments (8)
Well, you could do it manually:
$ git clone https://github.com/nwg-piotr/psuinfo.git
$ cd psuinfo
$ sudo cp psuinfo /usr/bin
$ sudo mkdir /usr/share/psuinfo
$ sudo cp icons/*.svg /usr/share/psuinfo
$ sudo cp configs/*.tint2rc /usr/share/tint2
Make sure the /usr/bin/psuinfo
file is executable.
In the picture I skipped installing sample config files, since my one and only Debian runs dwm, not Openbox.
from psuinfo.
By the way: @Head-on-a-Stick - would you mind making a Debian package?
from psuinfo.
Thanks! It works!
It doesn't show icons in the tint2 bar, though. The following error is prompted:
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_image_set_never_changes_on_disk();
With the parameter:
image
being NULL. Please fix your program.
When I run the command on a terminal, the first line shows the icon's location, which I made sure it was correct.
from psuinfo.
My script only produces the text output you see in the terminal, and tint2 is due to makes use of it. Does your tint2 display other svg icons? Is your imlib2 library installed and up to date?
from psuinfo.
Yes, my tint2 can display icons and my imlib2 is installed, according to apt.
I just tested it again and noticed that the icon was shown for a split second, but then it disappeared and I got the same error.
from psuinfo.
Anything wrong with the executor itself? Have you tried any of the sample configs?
from psuinfo.
Welp... I actually didn't tried the samples, because if I did I would've figured out...
Just changed execp_continuous to 0 and it worked!
from psuinfo.
Tint2 is quite difficult to configure yet powerful panel. I've been on Sway for about half a year, and tint2 doesn't work here. Having added some own stuff, I made myself comfortable on the py3status panel, but I still miss svg icons.
from psuinfo.
Related Issues (3)
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 psuinfo.