Skip to content

[HELP] Arch and Wmfs status bars

I'm very new to Arch (since yesterday), and so far I'm enjoying it, but can't work out how to display my laptop's battery percentage in my status bar.

I have a script called status.sh that is linked in my .xinitrc file and I have already got the date and time successfully into my status bar, but I can't find working code that displays my battery level, or as a bonus, my network connection.

Can anybody help please?

2 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
101nec

Author

1
posts
7
comments
0
media
View profile

6 comments

unknown author2 hidden

Deleted before we saved it.

3 points

I think this is what I needed, thanks! Now to get it working...

2 points
unknown author1 hidden

Deleted before we saved it.

1 points

Thanks, but I think I'll look into Conky first, it seems as if it's a little bit more what I'm looking for!

1 points

Thanks for reminding me about wmfs ;)

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.