summaryrefslogtreecommitdiff
path: root/scripts/.local/bin
diff options
context:
space:
mode:
authorivan-boikov <ik.boikov.public@protonmail.com>2023-12-10 18:37:30 +0100
committerivan-boikov <ik.boikov.public@protonmail.com>2023-12-10 18:37:30 +0100
commit752a2c7e5208d580a20cbae51b421602b857e50b (patch)
treed37fb6b478b72cf3999dbf71a3fef16c69f0504f /scripts/.local/bin
parent8af0c700789d64b29bdded59adf7761521305212 (diff)
1
Diffstat (limited to 'scripts/.local/bin')
-rwxr-xr-xscripts/.local/bin/pauseallmpv10
-rwxr-xr-xscripts/.local/bin/wttr4
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"