Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| fr:tools:linux:misc-tools [2023/10/01 18:06] – crunchyslime | fr:tools:linux:misc-tools [2024/01/28 12:44] (Version actuelle) – [Download youtube vidéo from clipboard] crunchyslime | ||
|---|---|---|---|
| Ligne 32: | Ligne 32: | ||
| * [[man> | * [[man> | ||
| * Utilitaires | * Utilitaires | ||
| + | * [[man> | ||
| * [[man> | * [[man> | ||
| + | * [[man> | ||
| * [[man> | * [[man> | ||
| * [[man> | * [[man> | ||
| Ligne 116: | Ligne 118: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | ====Bookmarks==== | ||
| + | |||
| + | un outils de bookmark facile et rapide comme vu dans cette vidéo ([[https:// | ||
| + | Notre objectif est de pouvoir stocker ce qui est surligné (en utilisant [[man> | ||
| + | |||
| + | <code bash> | ||
| + | #!/bin/bash | ||
| + | |||
| + | bookmark=`xclip -o` | ||
| + | file=" | ||
| + | |||
| + | if grep -q " | ||
| + | notify-send " | ||
| + | else | ||
| + | notify-send " | ||
| + | echo " | ||
| + | fi | ||
| + | </ | ||
| + | puis dans mon '' | ||
| + | < | ||
| + | bindsym $mod+Shift+b exec ~/ | ||
| + | bindsym $mod+b exec xdotool type " | ||
| + | bindsym $mod+n exec xdotool type " | ||
| + | </ | ||
| + | |||
| + | //⚠️ ce script a été rédigé pour i3 sous X, sous Wayland il conviendra de remplacer '' | ||
| + | |||
| + | ====Download youtube vidéo from clipboard==== | ||
| + | Avec X en utilisant [[man> | ||
| + | Avec wayland en utilisant [[man> | ||
| + | <code bash> | ||
| + | #!/bin/bash | ||
| + | cd "/ | ||
| + | wl-paste > / | ||
| + | #launching in a detached terminal to make it work with shortcuts | ||
| + | xfce4-terminal -e ' | ||
| + | rm / | ||
| + | </ | ||
| ====bash tools==== | ====bash tools==== | ||