diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2023-12-10 18:37:30 +0100 |
|---|---|---|
| committer | ivan-boikov <ik.boikov.public@protonmail.com> | 2023-12-10 18:37:30 +0100 |
| commit | 752a2c7e5208d580a20cbae51b421602b857e50b (patch) | |
| tree | d37fb6b478b72cf3999dbf71a3fef16c69f0504f /scripts/.local | |
| parent | 8af0c700789d64b29bdded59adf7761521305212 (diff) | |
1
Diffstat (limited to 'scripts/.local')
| -rwxr-xr-x | scripts/.local/bin/pauseallmpv | 10 | ||||
| -rwxr-xr-x | scripts/.local/bin/wttr | 4 |
2 files changed, 4 insertions, 10 deletions
diff --git a/scripts/.local/bin/pauseallmpv b/scripts/.local/bin/pauseallmpv deleted file mode 100755 index d69a414..0000000 --- a/scripts/.local/bin/pauseallmpv +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# You might notice all mpv commands are aliased to have this input-ipc-server -# thing. That's just for this particular command, which allows us to pause -# every single one of them with one command! This is bound to super + shift + p -# (with other things) by default and is used in some other places. - -for i in $(ls /tmp/mpvSockets/*); do - echo '{ "command": ["set_property", "pause", true] }' | socat - "$i"; -done diff --git a/scripts/.local/bin/wttr b/scripts/.local/bin/wttr new file mode 100755 index 0000000..b4504d4 --- /dev/null +++ b/scripts/.local/bin/wttr @@ -0,0 +1,4 @@ +#!/bin/sh + +loc="${1:-paris-france}" +curl "https://wttr.in/$loc" |
