lock.sh 140 B

12345
  1. #!/bin/bash
  2. path=$HOME/.cache/wal/schemes/
  3. screen=`cat $path$(ls -t $path| head -n 1) | jq -r '.wallpaper'`
  4. echo $screen
  5. i3lock -i $screen