mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 15:10:19 +02:00
more config
This commit is contained in:
parent
0035f0f1fa
commit
f740a9542f
8 changed files with 90 additions and 21 deletions
7
home-manager/dotfiles/sway/screen_and_copy.sh
Executable file
7
home-manager/dotfiles/sway/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