diff options
author | Nate Buttke <nate-web@riseup.net> | 2022-02-21 21:31:07 -0800 |
---|---|---|
committer | Nate Buttke <nate-web@riseup.net> | 2022-02-21 21:31:07 -0800 |
commit | 0f3b7850e883aeab0ddfd2c7846c82052d2ea541 (patch) | |
tree | 5e7d700208879ac6a25ed374736d7380b1653b37 |
scripts repo: initial commit
-rwxr-xr-x | cs | 3 | ||||
-rwxr-xr-x | lock | 6 | ||||
-rwxr-xr-x | locks | 8 | ||||
-rwxr-xr-x | monday | 6 | ||||
-rwxr-xr-x | scs | 4 |
5 files changed, 27 insertions, 0 deletions
@@ -0,0 +1,3 @@ +#!/bin/sh + +grim -g "$(slurp)" - | wl-copy @@ -0,0 +1,6 @@ +#!/bin/bash +imgPath=/home/n8/media/pix/4a5g/Camera/Camera +swaylock -d -s fit -c 002B36 --image $imgPath/$(ls $imgPath | grep -i jpg | sort -R | head -n1) + +# locks the screen and shows a random image + @@ -0,0 +1,8 @@ +#!/bin/bash +# locks the screen and shows a random image and suspends the system +imgPath=/home/n8/media/pix/4a5g/Camera/Camera +swaylock --daemonize \ +--scaling fit \ +--color 002B36 \ +--image $imgPath/$(ls $imgPath | grep -i jpg | sort -R | head -n1) +systemctl suspend @@ -0,0 +1,6 @@ +#!/bin/bash +riverctl spawn thunderbird; +riverctl spawn obsidian; +riverctl spawn "zathura dox/plan/work/work.pdf"; +riverctl spawn "zathura dox/plan/personal/personal.pdf"; +riverctl spawn "plan f" @@ -0,0 +1,4 @@ +#!/bin/sh + +grim -g "$(slurp)" ~/media/pix/ss/$1.png +notify-send "saved to ~/media/pix/ss/$1.png" |