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:33] – [Bookmarks] 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 122: | Line 124: | ||
| The goal is to store the content of what was highlighted at the time (using [[man> | The goal is to store the content of what was highlighted at the time (using [[man> | ||
| - | <file add-bookmark> | + | <code bash> |
| #!/bin/bash | #!/bin/bash | ||
| Line 134: | Line 136: | ||
| echo " | echo " | ||
| fi | fi | ||
| - | </file> | + | </code> |
| Then in my '' | Then in my '' | ||
| - | <file> | + | <code> |
| bindsym $mod+Shift+b exec ~/ | bindsym $mod+Shift+b exec ~/ | ||
| bindsym $mod+b exec xdotool type " | bindsym $mod+b exec xdotool type " | ||
| bindsym $mod+n exec xdotool type " | bindsym $mod+n exec xdotool type " | ||
| - | </file> | + | </code> |
| //⚠️ this script was written for i3 under X, using Wayland you will need to replace '' | //⚠️ 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==== | ||