Comments (10)
see what the number of your battery is it has to be changed from the polybar config file in ~/.config/polybar//modules.ini
i believe you know how to see your battery name
if not try BAT0 i believe most computers have that name
if you still don't get where to change the name
cd ~/.config/polybar/
and then run
grep -R "BAT1"
you'll see modules.ini and bars.ini so change them with BAT0
tell me if you can do it so we can close this issue and if there is anything feel free to send me here
also please assign this issue to me
from polybar-themes.
@alphaprads
The battery one will probably not work because I don't have one (maybe it would because xfce4-panel recognizes like if I had) but this is not import.
I would like to know more about the brightness.
It says:
...
error: Disabling module "brightness" (reason: The file '/sys/class/backlight/amdgpu_bl0/brightness' does not exist)
...
Maybe some lib missing on my system?
PS: I tried to change the card.
and it actually exists.
PS: I tried to reload the polybar.
from polybar-themes.
from polybar-themes.
i tried few things i think i get what your problem might be
what is the output of find /sys/devices/pci0000:00 -name brightness
from polybar-themes.
i think the symbolic link there is wrong one we just have to replace it
from polybar-themes.
also try
sudo vim brightness and change the value by around 20 percent report what you get
along with that i would like to tell you this question can be sent to polybar because it depends on how polybar identifies these modules see if they have a forum and post on it
from polybar-themes.
Thank you!
I think the problem is something with my system.
I'll try to find it and say here if I find. If I don't find in some hours I close the issue.
from polybar-themes.
News!
I thought the problem was with my system bc I`ve made a script to change the brightness and now it was not working.
#!/bin/bash
# Check for the correct number of arguments
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <brightness_level>"
exit 1
fi
# Verify that the brightness level is a positive integer
if ! [[ "$1" =~ ^[0-9]+$ ]]; then
echo "Error: Please provide a positive integer as the brightness level."
exit 1
fi
# Path to the brightness control file
brightness_file="/sys/class/backlight/acpi_video0/brightness"
# Set the brightness level
# sudo su -c "echo $1 > $brightness_file" # old
echo "$1" | sudo tee "$brightness_file"
echo "Brightness set to $1"
But my system is fine.
Did you notice that in the print I sent even changing the card
property to the right one the error message says about the default card?
...
error: Disabling module "brightness" (reason: The file '/sys/class/backlight/amdgpu_bl0/brightness' does not exist)
...
Is really ~/.config/polybar/forest/modules.init
where I should change it?
from polybar-themes.
before changing and modifying anything just do one thing
cd ~/.config/polybar/forest
then do
vim bars.ini
go to line number 122
and rewrite the amdgpu_b10 to be acpi_video0
necessary change as it will never work without the above change
now ./launch.sh
i am quite confident that this should work
also i don't believe by the looks of it to be the case that it is a system issue however this is just a speculation
please try the above change and see what happens
i sadly didn't look at the screenshots well yesterday but i'm fairly certain now that you haven't changed the value of amdgpu_b10 to acpi_video0
don't try anything reckless before you have backup or it might take a bigger time fixing and might also stop your current running polybar turning into a bigger issue
from polybar-themes.
Sorry I stopped using this themes and decided making my own.
from polybar-themes.
Related Issues (20)
- Suggestion: misleading placement of the locale option
- Dual Monitors causes two workspaces. HOT 3
- How to uninstall
- module update issue in debian HOT 1
- Forest fonts are wrong and setting them to correct font doesn't work HOT 2
- Volume controll module not starting at startup i3wm HOT 8
- How to use rofi menu theme HOT 2
- Tray icons show over full screen applications
- tray icons not appearing HOT 3
- I found some wierd Chinese chars
- Is it possible to change a font for a theme ? HOT 1
- hack theme pulseaudio mute broken
- error: module/mpd: Connection refused HOT 3
- Full Screen HOT 1
- Config for this reddit post
- Icons HOT 1
- i3status duplicated HOT 1
- can't click more than once on bar elements. HOT 1
- How can I remove this text from combi? HOT 1
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 polybar-themes.