Improve configs

This commit is contained in:
Tobias Reisinger 2023-07-06 23:38:19 +02:00
parent fdefb7037b
commit eb3067ff29
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
13 changed files with 67 additions and 20 deletions

View file

@ -11,7 +11,7 @@ clip_image()
{
if [ -n "$WAYLAND_DISPLAY" ]
then
wc-copy -t image/png < "$screenshot_path"
wl-copy -t image/png < "$screenshot_path"
else
xclip -t image/png "$screenshot_path" -selection clipboard
fi
@ -56,7 +56,7 @@ main_no_upload()
{
if call_screenshot_tool
then
clip_image $screenshot_path
clip_image
fi
}