diff options
author | Amin Bandali <bandali@gnu.org> | 2018-10-22 14:46:35 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-10-22 14:46:35 -0400 |
commit | 9455bb8ff3e6025156275ea64f59d6da4633830b (patch) | |
tree | e79e7a4a88a01768aeaea5fc69571fdc3c2cf2cb /lib/oauth2 | |
parent | 405e14e90746a8cc694865ef1e29e78f4c690883 (diff) | |
download | configs-9455bb8ff3e6025156275ea64f59d6da4633830b.tar.gz configs-9455bb8ff3e6025156275ea64f59d6da4633830b.tar.xz configs-9455bb8ff3e6025156275ea64f59d6da4633830b.zip |
[rc/{sway,i3status}] display screen icon on the bar when nosleep
- since i3status doesn't support custom blocks, we have to wrap around
it to add more info to it. if colours aren't needed, it could be as
simple as something like this (from the i3status manual):
#!/bin/sh
# shell script to prepend i3status with more stuff
i3status | while :
do
read line
echo "mystuff | $line" || exit 1
done
but since i like colours, we need a more sophisticated solution
which involves dealing with json; and thus the output_format needs
to be "i3bar".
- `killall -USR1 i3status` forces an update when we toggle nosleep.
Diffstat (limited to 'lib/oauth2')
0 files changed, 0 insertions, 0 deletions