Minor changes

This commit is contained in:
Thomas Dehaeze 2020-04-06 00:11:57 +02:00
parent b5476dc0e6
commit 246f0e5f42
3 changed files with 21 additions and 18 deletions

View File

@ -1509,32 +1509,33 @@ https://nordvpn.com/fr/tutorials/linux/openvpn/
* Others * Others
** Wallpaper: =xwallpaper= ** Wallpaper: =xwallpaper=
** Reddit on terminal: rtv
#+begin_src bash
yay -S rtv
#+end_src
** Interact with API ** Interact with API
- GUI: https://github.com/getinsomnia/insomnia - GUI: https://github.com/getinsomnia/insomnia
- CLI: https://github.com/jakubroztocil/httpie - CLI: https://github.com/jakubroztocil/httpie
** Take Screenshot ** Take Screenshot
https://github.com/naelstrof/maim - https://github.com/naelstrof/maim
#+begin_src bash - https://github.com/lupoDharkael/flameshot
yay -S maim
#+end_src
#+begin_src bash #+begin_src bash
man maim yay -S maim flameshot
#+end_src
** File transfer
https://github.com/schollz/croc
#+begin_src bash
yay -S croc
#+end_src #+end_src
** Utilities ** Utilities
#+begin_src bash - https://github.com/BurntSushi/ripgrep
yay -S fd ripgrep pdf2svg pdftk - https://github.com/dawbarton/pdf2svg
#+end_src - https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
- https://github.com/Airblader/unclutter-xfixes
#+begin_src bash #+begin_src bash
yay -S unclutter yay -S fd ripgrep pdf2svg pdftk unclutter
#+end_src #+end_src

View File

@ -575,12 +575,14 @@
:END: :END:
#+BEGIN_SRC bash #+BEGIN_SRC bash
yay -Sy > /dev/null 2>&1 && \ yay -Sy > /dev/null 2>&1 && \
package_nb=`yay -Qu 2> /dev/null | wc -l`; package_nb=`yay -Qu 2> /dev/null | wc -l` || \
package_nb=0
if [ "$package_nb" -eq "0" ]; then if [ "$package_nb" -eq "0" ]; then
echo ""; echo "";
else else
echo "%{F#859900} $package_nb%{F-}"; echo "%{F#859900} $package_nb%{F-}";
fi fi
#+END_SRC #+END_SRC

View File

@ -116,7 +116,7 @@ Finally, lock the screen using =i3lock=.
#+begin_src bash :tangle ~/scripts/torrent-add.sh #+begin_src bash :tangle ~/scripts/torrent-add.sh
transmission-remote ***REMOVED***:9091 --auth tdehaeze:$(pass nas/transmission | sed -n 1p) -a $1 && \ transmission-remote ***REMOVED***:9091 --auth tdehaeze:$(pass nas/transmission | sed -n 1p) -a $1 && \
dunstify 'Torrent' 'Successfully added' || \ dunstify 'Torrent' 'Successfully added' || \
dunstify 'Torrent' 'Error' dunstify 'Torrent' 'Error'
#+end_src #+end_src