GithubHelp home page GithubHelp logo

Comments (10)

alphaprads avatar alphaprads commented on May 25, 2024

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.

pandasoli avatar pandasoli commented on May 25, 2024

@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.

image
and it actually exists.
PS: I tried to reload the polybar.

from polybar-themes.

pandasoli avatar pandasoli commented on May 25, 2024

image
PS: ignore the network error

from polybar-themes.

alphaprads avatar alphaprads commented on May 25, 2024

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.

alphaprads avatar alphaprads commented on May 25, 2024

i think the symbolic link there is wrong one we just have to replace it

from polybar-themes.

alphaprads avatar alphaprads commented on May 25, 2024

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.

pandasoli avatar pandasoli commented on May 25, 2024

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.

pandasoli avatar pandasoli commented on May 25, 2024

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.

alphaprads avatar alphaprads commented on May 25, 2024

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.

pandasoli avatar pandasoli commented on May 25, 2024

Sorry I stopped using this themes and decided making my own.

from polybar-themes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.