From f5e3ff0d6113fd33c662790b9b78b87901fea4ef Mon Sep 17 00:00:00 2001 From: xyz Date: Thu, 6 Jan 2022 12:05:25 -0800 Subject: news script, wtr as script instead of alias --- home/xyz/.bashrc | 1 - home/xyz/.local/bin/news | 7 +++++++ home/xyz/.local/bin/wtr | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 home/xyz/.local/bin/news create mode 100755 home/xyz/.local/bin/wtr 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 -- cgit v1.2.3-70-g09d2