Update Makefile
This commit is contained in:
parent
3f1d182535
commit
f312cb688f
4
Makefile
4
Makefile
@ -1,4 +1,4 @@
|
||||
test: *.org
|
||||
for f in *.org; do emacsclient -e "(progn (find-file \"$$f\") (org-babel-tangle))"; done
|
||||
all: tangle
|
||||
|
||||
tangle: *.org
|
||||
for f in ./dotfiles/*.org; do emacsclient -e "(progn (find-file \"$$f\") (org-babel-tangle))"; done
|
||||
|
@ -129,3 +129,23 @@
|
||||
Name=RSS feed addition
|
||||
Exec=/usr/bin/env rssadd %U
|
||||
#+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
|
||||
|
@ -646,11 +646,11 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
|
||||
#+end_src
|
||||
|
||||
* Print on Rnice
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/bin/print-rnice
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/bin/print-rnice
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
|
||||
#+begin_src bash
|
||||
nbpage=$(echo -e '1\n2\n4' | dmenu -p 'Number of pages per sheet' -l 20);
|
||||
@ -659,7 +659,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
|
||||
# First copy the file to Rnice
|
||||
if sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" scp $1 dehaeze@rnice:~/Downloads/; then
|
||||
# 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
|
||||
else
|
||||
echo "Command Failed"
|
||||
|
@ -181,8 +181,9 @@
|
||||
|
||||
** Github
|
||||
#+BEGIN_SRC conf
|
||||
[github]
|
||||
user = tdehaeze
|
||||
[github]
|
||||
user = tdehaeze
|
||||
oauth-token = 8cc5b41120f7e9a869c24fa3678667d3d8422e6f
|
||||
#+END_SRC
|
||||
|
||||
* Global Git Ignore
|
||||
|
@ -1,4 +1,4 @@
|
||||
#+TITLE: Dotfiles - Manjaro Linux on Macbook Pro
|
||||
#+TITLE: Dotfiles - Manjaro Linux
|
||||
: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/readtheorg.css"/>
|
||||
|
Loading…
Reference in New Issue
Block a user