Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:tools:linux:misc-tools [2023/10/01 18:09] – [Userfull list] crunchyslime | en:tools:linux:misc-tools [2024/01/28 12:44] (current) – [Download youtube vidéo from clipboard] crunchyslime | ||
|---|---|---|---|
| Line 31: | Line 31: | ||
| * [[man> | * [[man> | ||
| * Utilities | * Utilities | ||
| + | * [[man> | ||
| * [[man> | * [[man> | ||
| + | * [[man> | ||
| * [[man> | * [[man> | ||
| * [[man> | * [[man> | ||
| Line 117: | Line 119: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | ====Bookmarks==== | ||
| + | A quick bookmarking script first seen in this video ([[https:// | ||
| + | The goal is to store the content of what was highlighted at the time (using [[man> | ||
| + | |||
| + | <code bash> | ||
| + | #!/bin/bash | ||
| + | |||
| + | bookmark=`xclip -o` | ||
| + | file=" | ||
| + | |||
| + | if grep -q " | ||
| + | notify-send " | ||
| + | else | ||
| + | notify-send " | ||
| + | echo " | ||
| + | fi | ||
| + | </ | ||
| + | Then in my '' | ||
| + | < | ||
| + | bindsym $mod+Shift+b exec ~/ | ||
| + | bindsym $mod+b exec xdotool type " | ||
| + | bindsym $mod+n exec xdotool type " | ||
| + | </ | ||
| + | |||
| + | //⚠️ this script was written for i3 under X, using Wayland you will need to replace '' | ||
| + | |||
| + | ====Download youtube vidéo from clipboard==== | ||
| + | Using X with [[man> | ||
| + | Using wayland with [[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==== | ||