Minor changes
This commit is contained in:
parent
7a09f74ffe
commit
ff6e29b0ea
@ -1509,32 +1509,33 @@ https://nordvpn.com/fr/tutorials/linux/openvpn/
|
||||
|
||||
* Others
|
||||
** Wallpaper: =xwallpaper=
|
||||
** Reddit on terminal: rtv
|
||||
#+begin_src bash
|
||||
yay -S rtv
|
||||
#+end_src
|
||||
|
||||
** Interact with API
|
||||
- GUI: https://github.com/getinsomnia/insomnia
|
||||
- CLI: https://github.com/jakubroztocil/httpie
|
||||
|
||||
** Take Screenshot
|
||||
https://github.com/naelstrof/maim
|
||||
#+begin_src bash
|
||||
yay -S maim
|
||||
#+end_src
|
||||
- https://github.com/naelstrof/maim
|
||||
- https://github.com/lupoDharkael/flameshot
|
||||
|
||||
#+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
|
||||
|
||||
** Utilities
|
||||
#+begin_src bash
|
||||
yay -S fd ripgrep pdf2svg pdftk
|
||||
#+end_src
|
||||
- https://github.com/BurntSushi/ripgrep
|
||||
- https://github.com/dawbarton/pdf2svg
|
||||
- https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
|
||||
- https://github.com/Airblader/unclutter-xfixes
|
||||
|
||||
#+begin_src bash
|
||||
yay -S unclutter
|
||||
yay -S fd ripgrep pdf2svg pdftk unclutter
|
||||
#+end_src
|
||||
|
||||
|
||||
|
@ -575,12 +575,14 @@
|
||||
:END:
|
||||
#+BEGIN_SRC bash
|
||||
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
|
||||
echo "";
|
||||
echo "";
|
||||
else
|
||||
echo "%{F#859900} $package_nb%{F-}";
|
||||
echo "%{F#859900} $package_nb%{F-}";
|
||||
fi
|
||||
#+END_SRC
|
||||
|
||||
|
@ -116,7 +116,7 @@ Finally, lock the screen using =i3lock=.
|
||||
#+begin_src bash :tangle ~/scripts/torrent-add.sh
|
||||
transmission-remote 82.64.103.2:9091 --auth tdehaeze:$(pass nas/transmission | sed -n 1p) -a $1 && \
|
||||
dunstify 'Torrent' 'Successfully added' || \
|
||||
dunstify 'Torrent' 'Error'
|
||||
dunstify 'Torrent' 'Error'
|
||||
|
||||
#+end_src
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user