# Utility scripts for use with a window manager. { pkgs, ... }: with pkgs; { lock = writeShellApplication { name = "lock"; runtimeInputs = [ i3lock ]; text = "i3lock"; }; sc = (writeShellApplication { name = "sc"; runtimeInputs = [ xclip scrot ]; text = '' scrot -ozs /tmp/sc.png xclip -t "image/png" -sel clip -i < /tmp/sc.png ''; }); }