Swaywm question: how to change default "Idle Indicator" state

I’m using the default EnOs swaywm configuration, dotfiles.

My question is regarding the Idle Indicator on the bar. In it’s default state (e.g., at login), it is deactivated. I would like to change that default state to activated.

I can’t seem to find the corresponding configuration file/line defining that behavior. I’m sure I’m just overlooking it, but I’d appreciate any guidance/ direction to point me to it.

As always, thanks in advance,

Barry

1 Like

In your /etc/sway/config file is the following:

### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
#          timeout 300 'swaylock -f -c 000000' \
#          timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
#          before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.

Is this what you are asking about? If so, you can uncomment about 4 lines and it SHOULD? work.

For further research:

HTH

Pudge

Add the start-activated parameter to the module block in your Waybar config and set it to true.

     "start-activated": "true"

It’s not in there by default, you’ll have to add it in. As for where to find it, a list of all possible config options for each module can be found on the corresponding page in the Waybar wiki.

For example:

2 Likes

Glad you could help him out, as I probably sent @bkaplan on a snipe hunt.

Pudge

2 Likes

Thanks, @BluishHumility and @Pudge for your responses!

With one modification, and with great appreciation, the answer given by @BluishHumility is the solution. The modification (at least in my configuration) is that the boolean should not be enclosed within quotes. That is:

"start-activated": true

appears to be the correct entry.

Marking solved. Love this Community!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.