Renamed some headlines

This commit is contained in:
Thomas Dehaeze 2020-03-28 11:10:14 +01:00
parent cb6a5d59a5
commit 774f5218e2

View File

@ -17,12 +17,13 @@
#+HTML_HEAD: <script type="text/javascript" src="./js/readtheorg.js"></script>
:END:
* Select Screen
* =displayselect= - Select Screen
:PROPERTIES:
:header-args: :tangle ~/bin/displayselect
:header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
Script taken from Luke Smith.
#+begin_src bash
@ -94,12 +95,13 @@ Script taken from Luke Smith.
pgrep -x dunst >/dev/null && killall dunst && setsid dunst & # Restart dunst to ensure proper location on screen
#+end_src
* getbib
* TODO =getbib=
:PROPERTIES:
:header-args: :tangle ~/bin/getbib
:header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
#+begin_src bash
[ -z "$1" ] && echo "Give either a pdf file or a DOI as an argument." && exit
@ -116,7 +118,7 @@ Script taken from Luke Smith.
curl -s "http://api.crossref.org/works/$doi/transform/application/x-bibtex" -w "\\n"
#+end_src
* vpnToggle
* =vpntoggle= - Connect to VPN using NordVPN
:PROPERTIES:
:header-args: :tangle ~/bin/vpntoggle
:header-args+: :comments both :mkdirp yes
@ -133,7 +135,7 @@ Script taken from Luke Smith.
fi
#+end_src
* bukurun
* =bukurun= - Open link from Buku
:PROPERTIES:
:header-args: :tangle ~/bin/bukurun
:header-args+: :comments both :mkdirp yes
@ -472,7 +474,7 @@ getTagsFromId () {
mode=bookmarks main
#+end_src
* i3exit
* =i3exit= - Manage lock, suspend, reboot, ...
:PROPERTIES:
:header-args: :tangle ~/bin/i3exit
:header-args+: :comments both :mkdirp yes
@ -512,32 +514,37 @@ mode=bookmarks main
exit 0
#+end_src
* readbib
* =readbib= - Open Bibliography File
:PROPERTIES:
:header-args: :tangle ~/bin/readbib
:header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
#+begin_src bash
cd ~/Cloud/thesis/ressources/pdfs/ && ls | rofi -dmenu -lines 20 | xargs -I {} zathura {}
#+end_src
* readnotes
* =readnotes= - Open Note File
:PROPERTIES:
:header-args: :tangle ~/bin/readnotes
:header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
#+begin_src bash
cd ~/Cloud/thesis/ressources/notes/pdfs/ && ls *.pdf | rofi -dmenu -lines 20 | xargs -I {} zathura {}
#+end_src
* askpass
* TODO askpass
:PROPERTIES:
:header-args: :tangle ~/bin/askpass-rofi
:header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
- [ ] Should be a script
Take password prompt from STDIN, print password to STDOUT.
The sed piece just removes the colon from the provided prompt: =rofi -p= already gives us a colon
#+BEGIN_SRC bash
@ -547,7 +554,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
-p "$(printf "$1" | sed s/://)"
#+END_SRC
* Take Screenshot
* =screenshot= - Take Screenshot
:PROPERTIES:
:header-args: :tangle ~/bin/screenshot
:header-args+: :comments both :mkdirp yes
@ -583,7 +590,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
esac
#+end_src
* Remote Desktop Connect
* =remote-desktop= - Remote Desktop Connect
:PROPERTIES:
:header-args: :tangle ~/bin/remote-desktop
:header-args+: :comments both :mkdirp yes
@ -612,7 +619,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
esac
#+end_src
* Toggle Network
* =network-toggle= - Toggle Network
:PROPERTIES:
:header-args: :tangle ~/bin/network-toggle
:header-args+: :comments both :mkdirp yes
@ -632,7 +639,7 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
fi
#+end_src
* Print on Rnice
* =print-rnice= - Print on Rnice
:PROPERTIES:
:header-args: :tangle ~/bin/print-rnice
:header-args+: :comments both :mkdirp yes
@ -653,19 +660,21 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
fi
#+end_src
* Mount TMP14DAYS
* TODO Mount TMP14DAYS
:PROPERTIES:
:header-args: :tangle ~/bin/mnt_tmp_14_days
:header-args+: :comments both :mkdirp yes
:header-args+: :shebang "#!/usr/bin/env bash"
:END:
- [ ] Put that as a script?
#+begin_src bash
sudo -A mkdir ~/tmp_14_days;
sudo -A mount -o rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=160.103.232.103,mountvers=3,mountport=597,mountproto=tcp,local_lock=none,addr=160.103.232.103 rnice:/hz/tmp_14_days ~/tmp_14_days;
#+end_src
* Make GIF
* =make-gif= - Make GIF
:PROPERTIES:
:header-args: :tangle ~/bin/make-gif
:header-args+: :comments both :mkdirp yes
@ -681,7 +690,7 @@ http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html
ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette
ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $2
#+end_src
* Download-Audio
* =yt-audio= - Download-Audio from youtube
:PROPERTIES:
:header-args: :tangle ~/bin/yt-audio
:header-args+: :comments both :mkdirp yes
@ -697,7 +706,7 @@ else
fi
#+end_src
* Download-Video
* =yt-video= - Download-Video from youtube
:PROPERTIES:
:header-args: :tangle ~/bin/yt-video
:header-args+: :comments both :mkdirp yes
@ -712,7 +721,7 @@ else
setsid nohup youtube-dl --add-metadata -ic $1 &> /dev/null &
fi
#+end_src
* Pdf Shrink
* =pdf-shrink= Pdf Shrink
:PROPERTIES:
:header-args: :tangle ~/bin/pdf-shrink
:header-args+: :comments both :mkdirp yes