Files
dotfiles/env/.local/bin/system/start-scripts/newsboat-fetch.sh
iceyrazor fe74ef66ee Squashed commit of the following:
- rofi kaomoji-picker.sh and keybind in i3
    - rofi edit for vimish motions
    - indent change
    - swapped tmux keys
    - echo port on auto port
    - added proxy ignore to newsboat autofetch
    - added xorg-xwayland
    - autoport mc script using socat
    - removed /dev from cam alias
2025-10-17 18:31:32 -05:00

17 lines
441 B
Bash
Executable File

#!/bin/bash
newsboat_loop(){
NO_PROXY=\".com,.org,.xyz,.chat,.social,.net,.co\" newsboat -x reload
#newsboat -x print-unread | xargs -0 notify-send "newsboat feed"
unreads=$(newsboat -x print-unread)
unreadnum=$(printf "$unreads" | sed 's/ .*//g')
if (( $unreadnum > 0 )); then
notify-send "newsboat feed" "$unreads"
fi
notify-send "Vitamins!" "take them"
sleep 2h
newsboat_loop
}
newsboat_loop