summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/freezshot4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/freezshot b/.local/bin/freezshot
index 81b5bd2..ecc26ac 100755
--- a/.local/bin/freezshot
+++ b/.local/bin/freezshot
@@ -30,7 +30,7 @@ dep_check()
wl_res()
{
- wlr-randr | while read -r line; do
+ swaymsg -pt get_outputs | while read -r line; do
case "$line" in
*"current)")
echo "${line% px*}"
@@ -43,7 +43,7 @@ wl_res()
# MAIN #
########
-dep_check grim slurp imv wlr-randr
+dep_check grim slurp imv
[ -d "$out" ] || mkdir -p "$out"
GRIM_DEFAULT_DIR="$tmp" grim