diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-07-02 19:04:53 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-07-02 19:04:53 -0700 |
commit | 1dd0fd92445bd2fea4a883e5b3aa17f9ee8c7af2 (patch) | |
tree | 1c3853ddefa82d2de33dfc21ca60f5b4b49ed487 /home/xyz/.local | |
parent | 150910f3f3a6704b3b45803cbf79543f494eee37 (diff) |
update
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-x | home/xyz/.local/bin/news | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/home/xyz/.local/bin/news b/home/xyz/.local/bin/news deleted file mode 100755 index 82c47f34..00000000 --- a/home/xyz/.local/bin/news +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -daily () { - # maybe add: https://discord.com/channels/@me - o "$BROWSER" https://github.com/notifications https://mail.google.com 'https://mail.google.com/mail/u/0/#spam' - # alacritty --hold must be before -e - # full window: -w156, am and pm in one line: -w114 - o alacritty --hold -e rem -cu+2 -@ -w114 - o alacritty --hold -e wtr - o alacritty -e newsboat - o alacritty -e weechat - o telegram-desktop -} - -monthly () { - o alacritty --hold -e rate - o "$BROWSER" --new-window https://smtp.cheogram.com/ -} - -if [ $# -eq 0 ]; then - daily -else - while getopts m opt; do - case $opt in - m) monthly;; - \?) exit 1;; - esac - done -fi |