Skip to content

i3bar: allow "power savings" feature to be disabled #4110

@ammgws

Description

@ammgws

I'm submitting a…

[ ] Bug
[x] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

i3bar has a "power savings" feature that pauses the bar via SIGSTOP when it is hidden or
obscured by a fullscreen app, and this behaviour is not configurable.

Desired Behavior

Power savings mode should be configurable.

Background Information

This "power savings" feature becomes a problem for users who
use status line generators such as i3status-rust that run threads/proccesses that need
to run at all times. A hacky way to prevent this from happening is to set
stop_signal to a signal that won't cause the status line generator program to stop,
however I do not believe that is a good solution.

This has surprised users a fair amount of time over the past few years, to show a few:
greshake/i3status-rust#503
greshake/i3status-rust#694 (comment)
https://faq.i3wm.org/question/4631/dont-sigstop-when-in-hide-mode.1.html
#3242 (comment)
https://www.reddit.com/r/i3wm/comments/gm6yfh/is_there_a_painless_way_to_keep_i3bar_children/

Implementation

I have added a new config option to the bar section that allows the power savings feature to be disabled here: ammgws@c7d4fb5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions