diff options
| author | Mosder <xmosder12@gmail.com> | 2026-06-10 02:24:31 +0200 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2026-06-10 02:24:31 +0200 |
| commit | 1f2824b912b22a687fb0f1c56f82198128bef1ca (patch) | |
| tree | a22c4425c43fcd111c441531b21e275b1fd97f3f /laptop/.config/hypr/scripts/capture-window.sh | |
| parent | a7fab53f802c8bacfce66fb3455145835e231460 (diff) | |
added and updated a lot of configs + refactored it to be more accessible
Diffstat (limited to 'laptop/.config/hypr/scripts/capture-window.sh')
| -rwxr-xr-x | laptop/.config/hypr/scripts/capture-window.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/laptop/.config/hypr/scripts/capture-window.sh b/laptop/.config/hypr/scripts/capture-window.sh deleted file mode 100755 index 2299cb0..0000000 --- a/laptop/.config/hypr/scripts/capture-window.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# get size and offset of active window -size=$(hyprctl activewindow | grep size: | awk -F" " '{print $2}') -size=${size/,/x} -offset=$(hyprctl activewindow | grep at: | awk -F" " '{print $2}') -offset=${offset/,/+} - -# open gui with selected region -flameshot gui --region $size+$offset |
