Update Makefile

This commit is contained in:
Thomas Dehaeze 2019-08-23 10:01:34 +02:00
parent 3f1d182535
commit f312cb688f
5 changed files with 32 additions and 11 deletions

View File

@ -1,4 +1,4 @@
test: *.org all: tangle
for f in *.org; do emacsclient -e "(progn (find-file \"$$f\") (org-babel-tangle))"; done
tangle: *.org tangle: *.org
for f in ./dotfiles/*.org; do emacsclient -e "(progn (find-file \"$$f\") (org-babel-tangle))"; done for f in ./dotfiles/*.org; do emacsclient -e "(progn (find-file \"$$f\") (org-babel-tangle))"; done

View File

@ -129,3 +129,23 @@
Name=RSS feed addition Name=RSS feed addition
Exec=/usr/bin/env rssadd %U Exec=/usr/bin/env rssadd %U
#+end_src #+end_src
* Qutebrowser
:PROPERTIES:
:header-args: :tangle ~/.local/share/applications/qutebrowser.desktop
:header-args+: :comments both :mkdirp yes
:END:
#+begin_src conf
[Desktop Entry]
Name=qutebrowser
GenericName=Web Browser
Comment=A keyboard-driven, vim-like browser based on PyQt5
Icon=qutebrowser
Type=Application
Categories=Network;WebBrowser;
Exec=qutebrowser %u
Terminal=false
StartupNotify=false
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/qute;
Keywords=Browser
Actions=new-window;preferences;
#+end_src

View File

@ -659,7 +659,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
# First copy the file to Rnice # First copy the file to Rnice
if sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" scp $1 dehaeze@rnice:~/Downloads/; then if sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" scp $1 dehaeze@rnice:~/Downloads/; then
# Then print on Rnice # Then print on Rnice
sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" ssh dehaeze@rnice "lpr -o media=A4 -o sides=$sides -o outputorder=reverse -o number-up=$nbpage -P ctb110c1u ~/Downloads/$1"; sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" ssh dehaeze@rnice "lpr -o media=A4 -o sides=$sides -o number-up=$nbpage -P ctb110c1u ~/Downloads/$1";
# Finally, delete the file # Finally, delete the file
else else
echo "Command Failed" echo "Command Failed"

View File

@ -183,6 +183,7 @@
#+BEGIN_SRC conf #+BEGIN_SRC conf
[github] [github]
user = tdehaeze user = tdehaeze
oauth-token = 8cc5b41120f7e9a869c24fa3678667d3d8422e6f
#+END_SRC #+END_SRC
* Global Git Ignore * Global Git Ignore

View File

@ -1,4 +1,4 @@
#+TITLE: Dotfiles - Manjaro Linux on Macbook Pro #+TITLE: Dotfiles - Manjaro Linux
:DRAWER: :DRAWER:
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/styles/readtheorg/css/htmlize.css"/> #+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/styles/readtheorg/css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/styles/readtheorg/css/readtheorg.css"/> #+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/styles/readtheorg/css/readtheorg.css"/>