diff --git a/dotfiles/install.org b/dotfiles/install.org index e415f21..34869fc 100644 --- a/dotfiles/install.org +++ b/dotfiles/install.org @@ -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 diff --git a/dotfiles/polybar.org b/dotfiles/polybar.org index 6f1b5cf..8360569 100644 --- a/dotfiles/polybar.org +++ b/dotfiles/polybar.org @@ -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 diff --git a/dotfiles/scripts.org b/dotfiles/scripts.org index d355ed9..e8b2d4d 100644 --- a/dotfiles/scripts.org +++ b/dotfiles/scripts.org @@ -116,7 +116,7 @@ Finally, lock the screen using =i3lock=. #+begin_src bash :tangle ~/scripts/torrent-add.sh transmission-remote ***REMOVED***:9091 --auth tdehaeze:$(pass nas/transmission | sed -n 1p) -a $1 && \ dunstify 'Torrent' 'Successfully added' || \ - dunstify 'Torrent' 'Error' + dunstify 'Torrent' 'Error' #+end_src