Update over time
This commit is contained in:
@@ -13,6 +13,4 @@ if [[ ! -d "$dir" ]]; then
|
||||
fi
|
||||
|
||||
# Take Screenshot
|
||||
cd "$dir" && grim -g "$(slurp)" "$file" && wl-copy < "$file"
|
||||
# Open Screenshot
|
||||
viewnior ${dir}/"$file"
|
||||
cd "$dir" && grim -g "$(slurp)" - | swappy -f - -o "$file" && wl-copy < "$file"
|
||||
|
||||
@@ -8,6 +8,6 @@ if [[ ! -d "$dir" ]]; then
|
||||
fi
|
||||
|
||||
# Take Screenshot
|
||||
cd "$dir" && sleep 0.5 && grim "$file" && wl-copy < "$file"
|
||||
cd "$dir" && grim "$file" && wl-copy < "$file"
|
||||
# Open Screenshot
|
||||
viewnior ${dir}/"$file"
|
||||
@@ -10,6 +10,4 @@ fi
|
||||
focused_window=$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')
|
||||
|
||||
# Take Screenshot
|
||||
cd "$dir" && grim -g "$focused_window" "$file" && wl-copy < "$file"
|
||||
# Open Screenshot
|
||||
viewnior ${dir}/"$file"
|
||||
cd "$dir" && grim -g "$focused_window" "$file" && swappy -f "$file" -o "$file" && wl-copy < "$file"
|
||||
Reference in New Issue
Block a user