aboutsummaryrefslogtreecommitdiff
path: root/laptop/.config/hypr/scripts/capture-window.sh
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-06-10 02:24:31 +0200
committerMosder <xmosder12@gmail.com>2026-06-10 02:24:31 +0200
commit1f2824b912b22a687fb0f1c56f82198128bef1ca (patch)
treea22c4425c43fcd111c441531b21e275b1fd97f3f /laptop/.config/hypr/scripts/capture-window.sh
parenta7fab53f802c8bacfce66fb3455145835e231460 (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-xlaptop/.config/hypr/scripts/capture-window.sh10
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