Ranger: add key bindings to upload to transfer.sh
This commit is contained in:
parent
bc089fc6fe
commit
c49535a51f
@ -226,6 +226,11 @@ map ,d shell ~/scripts/pdf-delete-first-page.sh %f
|
|||||||
map ,gs shell emacsclient -create-frame --alternate-editor="" --eval '(magit-status)'
|
map ,gs shell emacsclient -create-frame --alternate-editor="" --eval '(magit-status)'
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
*** Upload with Tansfer.sh
|
||||||
|
#+BEGIN_SRC conf
|
||||||
|
map ,t shell curl --progress-bar --upload-file %f https://transfer.sh/$(basename $1) | xclip -in -selection clipboard;
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** Define keys for the browser
|
** Define keys for the browser
|
||||||
*** Basic
|
*** Basic
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
|
@ -45,7 +45,7 @@ rofi.separator-style: solid
|
|||||||
* Rofi Menu Config
|
* Rofi Menu Config
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.config/rofimenu/rofimenu.config
|
:header-args: :tangle ~/.config/rofimenu/rofimenu.config
|
||||||
:header-args+: :comments both :mkdirp yes
|
:header-args+: :comments none :mkdirp yes
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
@ -289,7 +289,7 @@ activate_category() { # shows drun modi filtered with category. If no command se
|
|||||||
* Theme
|
* Theme
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.config/rofimenu/rofimenu.rasi
|
:header-args: :tangle ~/.config/rofimenu/rofimenu.rasi
|
||||||
:header-args+: :comments both :mkdirp yes
|
:header-args+: :comments none :mkdirp yes
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
|
Loading…
Reference in New Issue
Block a user