Use Omasnap for screenshots

This commit is contained in:
Ryan Hughes committed 2026-09-20 13:18:36 -04:00
1 parent e38c1d1289
commit e265934bb1
18 files changed
+169 -118

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ QtObject {
// Run an argv vector without a shell interpreting it: the constant `exec "$@"`
// means the args only ever land in positional parameters, which bash expands
// without re-tokenizing — so untrusted data ($(id), a filename) stays literal.
// The login shell (-l) keeps the PATH/session env GUI targets (tensaku, mpv,
// The login shell (-l) keeps the PATH/session env GUI targets (omasnap, mpv,
// xdg-open) need. Prefer this over execDetached for anything built from input.
function execArgv(argv) {
Quickshell.execDetached(["bash", "-lc", 'exec "$@"', "bash"].concat(argv))