dotfiles/files/dwm/dwm-lock.sh

5 lines
98 B
Bash
Executable file

#!/bin/sh
touch /tmp/$USER-screen.lock
i3lock ${@:--nefc "#000000"}
rm -f /tmp/$USER-screen.lock