Use Omasnap for screenshots
This commit is contained in:
18 files changed
+169
-118
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user