diff options
author | sinanmohd <sinan@firemail.cc> | 2023-11-26 17:24:36 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-11-26 17:24:36 +0530 |
commit | 04b49efb5dfff4888bac3f7144fbedb8ea6db090 (patch) | |
tree | c790eeacfdd18fb36dc0bd0178b8a4e6f6ce8e68 /.local/bin/freezshot | |
parent | b8ab8ca13df82189d4710cb5a36946077d408fe3 (diff) |
freezshot: wlr-randr -> swaymsg
Diffstat (limited to '.local/bin/freezshot')
-rwxr-xr-x | .local/bin/freezshot | 4 |
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 |