Comments (1)
Updated patch. Realised I'd hardcoded the battery value in the conditional.
I'm currently trying to find a way to minimize the output from conky when it can't find the file. Without this patch it still creates output about not being able to open the file but with the patch it generates two. Not sure what effect this has on CPU usage at the moment.
--- conky_colors/src/conkyrc_default.c
+++ conky_colors/src/conkyrc_default.c
@@ -206,7 +206,7 @@
//Battery
if (set_battery == True) {
fprintf(fp,"# |--BATTERY\n");
-
fprintf(fp,"${color0}${font Poky:size=13}E${font}${color}${goto %d}${voffset -5}%s: ${font Ubuntu:style=Bold:size=8}${color1}${battery_percent BAT%d}%%${color}${font} ${alignr}${color2}${battery_bar BAT%d 8,60}${color}\n", go2, battery, battery_value, battery_value);
-
}
fprintf(fp,"${if_existing /sys/class/power_supply/BAT%d/present 1}${color0}${font Poky:size=13}E${font}${color}${goto %d}${voffset -5}%s: ${font Ubuntu:style=Bold:size=8}${color1}${battery_percent BAT%d}%%${color}${font} ${alignr}${color2}${battery_bar BAT%d 8,60}${color}${endif}\n", battery_value, go2, battery, battery_value, battery_value);
//Processes
if (set_process == True) {
from conky_colors.
Related Issues (20)
- No themes and only one background color for conky-colors HOT 7
- Custom themes
- Replace some custom fonts by the conkycolors font family HOT 10
- Random Photo Script stuck on a single image & image refresh rate HOT 1
- Temperature vertical offset in default
- Slim mode clipping details on low res screens.
- Leftover fonts?
- Some bug with devicename in "conkyHD[1-4].py" HOT 2
- clementine don't get song's info
- Network interfaces are assumed to start with "wlan" or "eth" HOT 1
- python-statgrab is not available in (K)ubuntu 14.04 HOT 1
- Number zero appears in HD section HOT 3
- ERRO: THEME unavaliable
- SLS mode - no gauges displayed.
- slim and board modes: nothing under TEXT HOT 2
- Does not work properly on HiDPI/UHD/4k/Retina
- make is not working src/conky-colors.c:15:10: fatal error: No such file or directory HOT 2
- python-statgrab package not available in Ubuntu 20.04
- Unable to build on EndeavourOS (and most likely Arch Linux)
- The attribute 'GPU2DClockFreqs' is no longer supported.
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 conky_colors.