15 lines
421 B
Plaintext
15 lines
421 B
Plaintext
# ~/.config/presence/config: one directive per line. The rest of the line
|
|||
|
|
# after the keyword (and the seconds, for absent) is the command, verbatim.
|
||
|
|
# Pick rssi from `presence --calibrate` at the installed screen; -58 is a
|
||
|
|
# starting point, not a measurement.
|
||
|
|
|
||
|
|
rssi -58
|
||
|
|
# window 5
|
||
|
|
# hits 3
|
||
|
|
# stale 15
|
||
|
|
# adapter hci0
|
||
|
|
# ignore AA:BB:CC:DD:EE:FF
|
||
|
|
|
||
|
|
present swaymsg "output * power on"
|
||
|
|
absent 600 swaymsg "output * power off"
|