diff --git a/profiles/work/home.nix b/profiles/work/home.nix index 93e8348..7bed387 100644 --- a/profiles/work/home.nix +++ b/profiles/work/home.nix @@ -95,6 +95,10 @@ blockbench-electron obs-studio libsForQt5.kdenlive + (pkgs.writeScriptBin "kdenlive-accel" '' + #!/bin/sh + DRI_PRIME=1 kdenlive "$1" + '') movit mediainfo libmediainfo diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index 7654d99..3e3d8c7 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -388,7 +388,7 @@ same directory as the org-buffer and insert a link to this file." '(file)) (list (openwith-make-extension-regexp '("kdenlive")) - "kdenlive" + "kdenlive-accel" '(file)) (list (openwith-make-extension-regexp '("kra")) diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index 34f9375..9bc1f0c 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -464,7 +464,7 @@ same directory as the org-buffer and insert a link to this file." '(file)) (list (openwith-make-extension-regexp '("kdenlive")) - "kdenlive" + "kdenlive-accel" '(file)) (list (openwith-make-extension-regexp '("kra")) diff --git a/user/app/ranger/rifle.conf b/user/app/ranger/rifle.conf index fec75b8..25b465c 100644 --- a/user/app/ranger/rifle.conf +++ b/user/app/ranger/rifle.conf @@ -216,7 +216,7 @@ label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" ext kra = krita "$@" ext blend* = blender "$@" ext helio = helio "$@" -ext kdenlive = kdenlive "$@" +ext kdenlive = kdenlive-accel "$@" # Execute a file as program/script. mime application/x-executable = "$1"