power menu, redshift, polybar

This commit is contained in:
azpsen
2024-01-28 16:37:10 -06:00
parent 89516a6ce1
commit 319b44ecbd
307 changed files with 7642 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
# Script: news-archlinux
A Python script that shows Arch Linux RSS news.
## Dependencies
* [python-feedparser](https://github.com/kurtmckee/feedparser//)
## Module
```ini
[module/news-archlinux]
type = custom/script
exec = ~/polybar-scripts/news-archlinux.py
interval = 600
```

View File

@@ -0,0 +1,7 @@
#!/usr/bin/python
from feedparser import parse
URL = 'https://www.archlinux.org/feeds/news/'
ENTRIES = 1
[print(x.title) for x in parse(URL).entries[:ENTRIES]]