mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 07:00:21 +02:00
more style related changes
This commit is contained in:
parent
1de2a5aa0a
commit
5da82a8e80
12 changed files with 170 additions and 110 deletions
7
home-manager/dotfiles/sway/scripts/screen_and_copy.sh
Executable file
7
home-manager/dotfiles/sway/scripts/screen_and_copy.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
if [[ "$1" = "area" ]]; then
|
||||
SCREENPATH=$(grimshot save area)
|
||||
elif [ "$1" = "output" ]; then
|
||||
SCREENPATH=$(grimshot save output)
|
||||
fi
|
||||
|
||||
cat $SCREENPATH | wl-copy -t image/png
|
Loading…
Add table
Add a link
Reference in a new issue