Lots of stuff
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
directory: ~/music/to-sort
|
||||
directory: ~/music/slsk/to-sort
|
||||
library: ~/.config/beets/beets-library.db
|
||||
|
||||
import:
|
||||
|
||||
@@ -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."
|
||||
|
||||
6
.config/systemd/user/water-reminder.service
Normal file
6
.config/systemd/user/water-reminder.service
Normal 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."
|
||||
10
.config/systemd/user/water-reminder.timer
Normal file
10
.config/systemd/user/water-reminder.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Run water reminder every hour
|
||||
|
||||
[Timer]
|
||||
OnBootSec=10min
|
||||
OnUnitActiveSec=60min
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
8
.local/bin/deepl
Executable file
8
.local/bin/deepl
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from deepl.__main__ import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
||||
Reference in New Issue
Block a user