mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Attempting to force hw accel on kdenlive
This commit is contained in:
parent
c29cf237f7
commit
10a8cb21e5
|
@ -95,6 +95,10 @@
|
||||||
blockbench-electron
|
blockbench-electron
|
||||||
obs-studio
|
obs-studio
|
||||||
libsForQt5.kdenlive
|
libsForQt5.kdenlive
|
||||||
|
(pkgs.writeScriptBin "kdenlive-accel" ''
|
||||||
|
#!/bin/sh
|
||||||
|
DRI_PRIME=1 kdenlive "$1"
|
||||||
|
'')
|
||||||
movit
|
movit
|
||||||
mediainfo
|
mediainfo
|
||||||
libmediainfo
|
libmediainfo
|
||||||
|
|
|
@ -388,7 +388,7 @@ same directory as the org-buffer and insert a link to this file."
|
||||||
'(file))
|
'(file))
|
||||||
(list (openwith-make-extension-regexp
|
(list (openwith-make-extension-regexp
|
||||||
'("kdenlive"))
|
'("kdenlive"))
|
||||||
"kdenlive"
|
"kdenlive-accel"
|
||||||
'(file))
|
'(file))
|
||||||
(list (openwith-make-extension-regexp
|
(list (openwith-make-extension-regexp
|
||||||
'("kra"))
|
'("kra"))
|
||||||
|
|
|
@ -464,7 +464,7 @@ same directory as the org-buffer and insert a link to this file."
|
||||||
'(file))
|
'(file))
|
||||||
(list (openwith-make-extension-regexp
|
(list (openwith-make-extension-regexp
|
||||||
'("kdenlive"))
|
'("kdenlive"))
|
||||||
"kdenlive"
|
"kdenlive-accel"
|
||||||
'(file))
|
'(file))
|
||||||
(list (openwith-make-extension-regexp
|
(list (openwith-make-extension-regexp
|
||||||
'("kra"))
|
'("kra"))
|
||||||
|
|
|
@ -216,7 +216,7 @@ label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER"
|
||||||
ext kra = krita "$@"
|
ext kra = krita "$@"
|
||||||
ext blend* = blender "$@"
|
ext blend* = blender "$@"
|
||||||
ext helio = helio "$@"
|
ext helio = helio "$@"
|
||||||
ext kdenlive = kdenlive "$@"
|
ext kdenlive = kdenlive-accel "$@"
|
||||||
|
|
||||||
# Execute a file as program/script.
|
# Execute a file as program/script.
|
||||||
mime application/x-executable = "$1"
|
mime application/x-executable = "$1"
|
||||||
|
|
Loading…
Reference in a new issue