diff --git a/dotfiles/i3/scripts/arch_linux_news/README.md b/dotfiles/i3/scripts/arch_linux_news/README.md new file mode 100644 index 0000000..439af4e --- /dev/null +++ b/dotfiles/i3/scripts/arch_linux_news/README.md @@ -0,0 +1,30 @@ +# arch_linux_news + +Reads the RSS feed of archlinux.org news and warns when a new entry has been added. When keeping an Arch system up to date, it is important to regularly check Arch Linux News in order to know when manual intervention might be necessary. + +This script keeps a file containing the date of the last news that was read (i.e. clicked on) in the ~/.cache folder. + +Clicking on the bar will open the latest archlinux news page in the default browser. + +## Previews + +![](arch_linux_news_1.png) + +![](arch_linux_news_2.png) + +## Dependencies + +* feedparser + +## Installation +``` +$ pip install feedparser +``` +* Give the script execution permission (`chmod 755 arch_linux_news`) +* Copy or symlink (symlink will give you latest changes to the repository) the script into your scripts directory (~/.config/i3blocks/scripts for example) +* Add to your i3blocks conf (~/.config/i3blocks/config): +```ini +[arch_linux_news] +command=$SCRIPT_DIR/arch_linux_news +interval=30 +``` diff --git a/dotfiles/i3/scripts/arch_linux_news/arch_linux_news_1.png b/dotfiles/i3/scripts/arch_linux_news/arch_linux_news_1.png new file mode 100644 index 0000000..16738f5 Binary files /dev/null and b/dotfiles/i3/scripts/arch_linux_news/arch_linux_news_1.png differ diff --git a/dotfiles/i3/scripts/arch_linux_news/arch_linux_news_2.png b/dotfiles/i3/scripts/arch_linux_news/arch_linux_news_2.png new file mode 100644 index 0000000..f983c41 Binary files /dev/null and b/dotfiles/i3/scripts/arch_linux_news/arch_linux_news_2.png differ diff --git a/dotfiles/i3/scripts/arch_linux_news/requirements.txt b/dotfiles/i3/scripts/arch_linux_news/requirements.txt deleted file mode 100644 index 1b25361..0000000 --- a/dotfiles/i3/scripts/arch_linux_news/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -feedparser