From 04b49efb5dfff4888bac3f7144fbedb8ea6db090 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 26 Nov 2023 17:24:36 +0530 Subject: freezshot: wlr-randr -> swaymsg --- .local/bin/freezshot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local') 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 -- cgit v1.2.3