summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-01-06 12:05:25 -0800
committerxyz <gky44px1999@gmail.com>2022-01-06 12:05:25 -0800
commitf5e3ff0d6113fd33c662790b9b78b87901fea4ef (patch)
treef7f5b481f9087a870e2dcc5091ea6a625b3b9390 /home/xyz
parentb0ba8b10837821e96e84af492e1a56d5400f23c7 (diff)
news script, wtr as script instead of alias
Diffstat (limited to 'home/xyz')
-rw-r--r--home/xyz/.bashrc1
-rwxr-xr-xhome/xyz/.local/bin/news7
-rwxr-xr-xhome/xyz/.local/bin/wtr3
3 files changed, 10 insertions, 1 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index d93808ec..80c4b435 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -77,7 +77,6 @@ alias v='$EDITOR'
alias vc='$EDITOR "$XDG_DOCUMENTS_DIR/notes/computer/cli_notes.md"'
alias vq='$EDITOR "$XDG_DOCUMENTS_DIR/notes/others/questions_ideas_tips.md"'
alias vvrc='$EDITOR +e\ \$MYVIMRC'
-alias wtr='mullvad-exclude curl v2.wttr.in?m'
alias za='zoxide add'
# almost never use
diff --git a/home/xyz/.local/bin/news b/home/xyz/.local/bin/news
new file mode 100755
index 00000000..c4b614c1
--- /dev/null
+++ b/home/xyz/.local/bin/news
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# --hold must be before -e
+o alacritty --hold -e wtr
+o alacritty -e newsboat
+o alacritty -e weechat
+o telegram-desktop
diff --git a/home/xyz/.local/bin/wtr b/home/xyz/.local/bin/wtr
new file mode 100755
index 00000000..2df14b8e
--- /dev/null
+++ b/home/xyz/.local/bin/wtr
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+mullvad-exclude curl v2.wttr.in?m