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
|
||||
obs-studio
|
||||
libsForQt5.kdenlive
|
||||
(pkgs.writeScriptBin "kdenlive-accel" ''
|
||||
#!/bin/sh
|
||||
DRI_PRIME=1 kdenlive "$1"
|
||||
'')
|
||||
movit
|
||||
mediainfo
|
||||
libmediainfo
|
||||
|
|
|
@ -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"))
|
||||
|
|
|
@ -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"))
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue