modulepackage
0.0.0-20211227195613-253a05d37df6
Repository: https://github.com/abextm/my3status.git
Documentation: pkg.go.dev
# README
my3status 
My i3 status daemon
Features
- hwmon Temperatures
htop
-style colored cpu meter- Click support
- Auto restart
- Memory usage
- Usable as a library
import "github.com/abextm/my3status"
# Packages
No description provided by the author
# Functions
BeforeRestart adds callback to a list of methods to be called before the application is restarted.
BoolPtr returns &value.
CloseFileBeforeRestart marks the file to be closed in case of a Restart This is logically similar to `BeforeRestart(func(){file.Close()}), though more efficient.
No description provided by the author
IntPtr returns &value.
RedirectStderr makes all writes to stderr go to the passed file.
Restart causes the running application to be restarted in place This happens immediately after calling all callbacks added with BeforeRestart.
# Constants
Alignment controls the direction to float the text AlignLeft is the default.
Alignment controls the direction to float the text AlignLeft is the default.
Alignment controls the direction to float the text AlignLeft is the default.
MarkupNone indicates the string will be used as-is.
MarkupPango markup only works if you use a pango font.
# Structs
No description provided by the author
A ClickEvent is fired when the user interacts with a specific ClickableWidget.
No description provided by the author
No description provided by the author
No description provided by the author
Edit allows you to override fields from a child Widget's StatusBlocks Widget may be a ClickableWidget.
Memory displays the amount of Memory Available/Total in gb.
No description provided by the author
No description provided by the author
No description provided by the author
StatusBlock is a block that is rendered by i3bar.
Reads a file off disk, parses it as an int, then formats that Typically this is used for temperature sensors in /sys/.
Time is a Widget that renders a Clock.
# Interfaces
A ClickableWidget is a Widget that can receive ClickEvents.
Widget provides StatusBlocks to the i3bar.
# Type aliases
Alignment controls the direction to float the text AlignLeft is the default.
The FuncWidget type is an adapter to use a normal function as a non-ClickableWidget.
Markup indicates how the text of the block should be parsed.
Switcher switches between it's constituent widgets when clicked on.