aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.local/bin/togreta
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:38 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:38 +0100
commitf8d471a07736b899dbffe0f4339e4f97748fd5e6 (patch)
treea0c377fb25819bedf20c01f83cfa5b880a98384a /home/.local/bin/togreta
parentbc2edabb376d62c50445e4eda25f872db3ea9814 (diff)
downloaddotfiles-f8d471a07736b899dbffe0f4339e4f97748fd5e6.tar.gz
dotfiles-f8d471a07736b899dbffe0f4339e4f97748fd5e6.tar.bz2
dotfiles-f8d471a07736b899dbffe0f4339e4f97748fd5e6.zip
refactor: replace tmux.nvim with smart-splits.nvim for zellij
- Swap aserowy/tmux.nvim for mrjones2014/smart-splits.nvim in init.lua - Configure Ctrl h/j/k/l navigation keymaps (same keys as before) - Add vim-zellij-navigator WASM plugin keybindings to zellij config - Remove tmux treesitter parser (no longer needed) smart-splits.nvim auto-detects zellij as the multiplexer and provides seamless split/pane navigation across neovim and zellij boundaries.
Diffstat (limited to 'home/.local/bin/togreta')
-rwxr-xr-xhome/.local/bin/togreta14
1 files changed, 14 insertions, 0 deletions
diff --git a/home/.local/bin/togreta b/home/.local/bin/togreta
new file mode 100755
index 0000000..14caaa4
--- /dev/null
+++ b/home/.local/bin/togreta
@@ -0,0 +1,14 @@
+#!/usr/bin/env sh
+
+if [ -z "$1" ]; then
+ url=$(xclip -o -selection clipboard)
+elif [ "$1" = "-" ]; then
+ read -r url
+else
+ url="$1"
+fi
+
+# shellcheck disable=SC2029
+ssh greta.wg restream toggle "$url"
+
+tokodi /storage/videos/greta.strm