Axarva / dotfiles-2.0

XMonad™️. Widgets go brr.
MIT License
1.72k stars 156 forks source link

What is the purpose of the icon with the eye? #172

Closed ghost closed 1 year ago

ghost commented 1 year ago

I found that the icon with the eye is the result of the inhibitor.sh script. From what I can see, this script displays an icon with a crossed out eye when xautolock is working and an icon with a regular eye when xautolock is not working.

Xautolock is started automatically when the system boots, so the icon will always be the same.

So what is its use?

l6174 commented 1 year ago

It is used to keep the display from turning off when you are watching a video or reading something. You can toggle it on or off by pressing meta + z and meta + shift + z. That eye icon is just an indicator of whether the inhibitor is on or off nothing happens when you click it.