Lots of stuff

This commit is contained in:
2025-06-30 17:25:00 -07:00
parent ce9ce4e872
commit 8136bf91a0
5 changed files with 29 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
directory: ~/music/to-sort
directory: ~/music/slsk/to-sort
library: ~/.config/beets/beets-library.db
import:

View File

@@ -266,9 +266,12 @@
(set-popup-rule! "^\\*osm\\*" :ignore t))
;; eww
;; extra frontends to use:
;; https://eddrit.com
;; https://eu.safereddit.com
(defun opal/eww-reddit-redirect (url)
"Redirect reddit.com (with or without www) to a privacy frontend."
(replace-regexp-in-string "^https://\\(www\\.\\)?reddit\\.com" "https://eddrit.com" url))
(replace-regexp-in-string "^https://\\(www\\.\\)?reddit\\.com" "https://eu.safereddit.com" url))
(defun opal/eww-x-redirect (url)
"Redirect x.com (with or without www) to a privacy frontend."

View File

@@ -0,0 +1,6 @@
[Unit]
Description=Water drinking reminder notification
[Service]
Type=oneshot
ExecStart=/usr/bin/notify-send -u normal -t 10000 "💧 Time to drink water!" "Refill your 32oz bottle if it's low."

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Run water reminder every hour
[Timer]
OnBootSec=10min
OnUnitActiveSec=60min
Persistent=true
[Install]
WantedBy=timers.target