As configured in my dotfiles.
start new:
tmux
start new with session name:
blueprint: | |
name: Low battery level detection & notification for all battery sensors | |
description: Regularly test all sensors with 'battery' device-class for crossing | |
a certain battery level threshold and if so execute an action. | |
domain: automation | |
input: | |
threshold: | |
name: Battery warning level threshold | |
description: Battery sensors below threshold are assumed to be low-battery (as | |
well as binary battery sensors with value 'on'). |
""" | |
This is the product of me spending a few minutes trying to | |
assess how much of my LastPass vault is potentially vulnerable | |
to the recent CloudFlare issue. | |
It's hacky, and probably broken in some way, but it's a start. | |
Gist comments with improvements very welcome. | |
""" |
#!/bin/sh | |
set -eu | |
# This script is intended to be run as the xautolock locker and notifier. | |
# It requires i3lock, and dunst is optional. | |
# Copy or link this script as /usr/bin/slock to let xfce4-session run it. | |
if [ "$(basename "$0")" = "slock" ]; then | |
cmd=lock |
As configured in my dotfiles.
start new:
tmux
start new with session name: