Screenshot : Revert pkill in bg.

This commit is contained in:
Dmitry Voronin 2024-09-16 04:55:23 +03:00
parent e1b53838be
commit 6427ceb1d5
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -17,7 +17,7 @@ in {
picToBuffer = ''wl-copy -t image/png''; picToBuffer = ''wl-copy -t image/png'';
picToFile = ''tee "''${scrFile}"''; picToFile = ''tee "''${scrFile}"'';
screenshot = ''grim''; screenshot = ''grim'';
updateWaybar = ''pkill -RTMIN+4 waybar &''; # NOTE: Might need to add a delay here if it becomes inconsistent one day. updateWaybar = ''pkill -RTMIN+4 waybar''; # NOTE: Might need to add a delay here if it becomes inconsistent one day.
vidFull = ''-o $(swaymsg -t get_outputs | jq -r ".[] | select(.focused) | .name") -''; vidFull = ''-o $(swaymsg -t get_outputs | jq -r ".[] | select(.focused) | .name") -'';
vidPrepFile = prepFile "\${XDG_VIDEOS_DIR[0]}" container; vidPrepFile = prepFile "\${XDG_VIDEOS_DIR[0]}" container;
vidRefLatestFile = refLatestFile container; vidRefLatestFile = refLatestFile container;