Added mp4 to webm utitily
This commit is contained in:
parent
775b436977
commit
c93eb33f01
@ -22,6 +22,7 @@
|
|||||||
- [[#dmenu][Dmenu]]
|
- [[#dmenu][Dmenu]]
|
||||||
- [[#emoji-picker][Emoji picker]]
|
- [[#emoji-picker][Emoji picker]]
|
||||||
- [[#lsl][Lsl]]
|
- [[#lsl][Lsl]]
|
||||||
|
- [[#mp42webm][mp42webm]]
|
||||||
- [[#polybar-launch][Polybar-launch]]
|
- [[#polybar-launch][Polybar-launch]]
|
||||||
- [[#rofi-mount][Rofi-mount]]
|
- [[#rofi-mount][Rofi-mount]]
|
||||||
- [[#get-the-mountable-elements][Get the mountable elements]]
|
- [[#get-the-mountable-elements][Get the mountable elements]]
|
||||||
@ -59,12 +60,18 @@
|
|||||||
|
|
||||||
Please do not forget to run the following before tangling files from this file
|
Please do not forget to run the following before tangling files from this file
|
||||||
to make sure the tangled files will be executables.
|
to make sure the tangled files will be executables.
|
||||||
#+begin_src emacs-lisp :results silent
|
#+begin_src emacs-lisp :results silent
|
||||||
(defun phundrak/make-tangled-files-executable ()
|
(defun phundrak/make-tangled-files-executable ()
|
||||||
(set-file-modes (buffer-file-name) #o755))
|
(set-file-modes (buffer-file-name) #o755))
|
||||||
(add-hook 'org-babel-post-tangle-hook 'phundrak/make-tangled-files-executable)
|
(add-hook 'org-babel-post-tangle-hook 'phundrak/make-tangled-files-executable)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp :results silent
|
||||||
|
(defun phundrak/make-tangled-files-not-executable ()
|
||||||
|
(set-file-modes (buffer-file-name) #o644))
|
||||||
|
(add-hook 'org-babel-post-tangle-hook 'phundrak/make-tangled-files-not-executable)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* 4chandl
|
* 4chandl
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: h-39e14885-9da7-4cba-b24e-c3b181ef5f6b
|
:CUSTOM_ID: h-39e14885-9da7-4cba-b24e-c3b181ef5f6b
|
||||||
@ -354,6 +361,16 @@
|
|||||||
ls -ahlX --group-directories-first $argv | bat
|
ls -ahlX --group-directories-first $argv | bat
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
* mp42webm
|
||||||
|
:PROPERTIES:
|
||||||
|
:HEADER-ARGS: :tangle ~/.local/bin/mp42webm
|
||||||
|
:CUSTOM_ID: h-29b8a01c-7499-4a35-be25-f5a593bf40ea
|
||||||
|
:END:
|
||||||
|
#+BEGIN_SRC fish
|
||||||
|
#!/usr/bin/fish
|
||||||
|
ffmpeg -i $argv[1] -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis $argv[1].webm
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Polybar-launch
|
* Polybar-launch
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: h-68587918-879b-42db-b304-901d01233f95
|
:CUSTOM_ID: h-68587918-879b-42db-b304-901d01233f95
|
||||||
|
Loading…
Reference in New Issue
Block a user