Introduction
Introduction Statistics Contact Development Disclaimer Help
misc updates - dotfiles - These are my dotfiles. There are many like it, but th…
Log
Files
Refs
README
---
commit 2d737ed1c32cb0304c00d627570d6099ec7927d8
parent 4cd431555432812ba6c2b17095fc64c439957e87
Author: Jay Scott <[email protected]>
Date: Sun, 25 Sep 2022 15:24:23 +0100
misc updates
Diffstat:
A bin/sway-run.sh | 26 ++++++++++++++++++++++++++
M bin/yt_dl.sh | 10 ++++++++--
M fdm/config | 13 ++++++-------
M mutt/muttrc | 10 +++++-----
M sfeed/sfeedrc | 2 ++
5 files changed, 47 insertions(+), 14 deletions(-)
---
diff --git a/bin/sway-run.sh b/bin/sway-run.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+export TERM=foot
+export _JAVA_AWT_WM_NONREPARENTING=1
+export GTK_IM_MOUDLE=xim
+export XMODIFIERS=@im=ibus
+export QT_IM_MODULE=ibus
+export XKB_DEFAULT_OPTIONS=caps:escape
+export GDK_BACKEND=wayland
+export XDG_SESSION_TYPE=wayland
+export XCURSOR_THEME=Adwaita
+export XDG_DESKTOP_DIR="$HOME"
+export XDG_DOWNLOAD_DIR="$HOME/tmp"
+export XDG_DOCUMENTS_DIR="$HOME/tmp"
+export XDG_MUSIC_DIR="$HOME/tmp"
+export XDG_PICTURES_DIR="$HOME/tmp"
+export XDG_VIDEOS_DIR="$HOME/tmp"
+export XDG_CURRENT_DESKTOP=sway
+
+if [ -z "$XDG_RUNTIME_DIR" ]
+then
+ mkdir -p /tmp/runtime/jay
+ chmod 700 /tmp/runtime/jay
+ export XDG_RUNTIME_DIR=/tmp/runtime/jay
+fi
+
+exec dbus-run-session sway
diff --git a/bin/yt_dl.sh b/bin/yt_dl.sh
@@ -7,7 +7,7 @@
# user config
savepath="/data/media/videos"
cfgdir="${HOME}/.cache/yt_dl"
-post="echo '%(title)s' | mutt -s 'YT: %(channel)s ' -- [email protected]"
+post="echo \"%(title)s\" | mutt -s 'YT: %(channel)s ' -- [email protected]"
# youtube-dl related settings
yt="yt-dlp"
@@ -18,6 +18,7 @@ main() {
mkdir -p "${cfgdir}"
+ $1 "mr_sudo" "https://www.youtube.com/playlist?list=UUZEvYxVEr0MMUG2ZC…
$1 "mre_steve" "https://www.youtube.com/playlist?list=UU2I6Et1JkidnnbW…
$1 "harald_baldr" "https://www.youtube.com/playlist?list=UUKr68ZJ4vv6V…
$1 "dale_philip" "https://www.youtube.com/playlist?list=UUKygRpISlqs5T…
@@ -33,7 +34,6 @@ main() {
$1 "c90adventures" "https://www.youtube.com/playlist?list=UUVqpNG1R72i…
$1 "abroad_in_japan" "https://www.youtube.com/playlist?list=UUHL9bfHTx…
$1 "mental_outlaw" "https://www.youtube.com/playlist?list=UU7YOGHUfC1T…
- $1 "rwxrob" "https://www.youtube.com/playlist?list=UUs2Kaw3Soa63cJq3H0…
$1 "quin69" "https://www.youtube.com/playlist?list=UUpNBjjE8y8eFPhDU4Y…
$1 "clawd00d" "https://www.youtube.com/playlist?list=UUdQ3VoDGjjl3NsfB…
$1 "serpentza" "https://www.youtube.com/playlist?list=UUl7mAGnY4jh4Ps8…
@@ -44,6 +44,7 @@ main() {
$1 "bright_sun_films" "https://www.youtube.com/playlist?list=UU5k3Kc0a…
$1 "tuxfoo" "https://www.youtube.com/playlist?list=UUWpoyqSBIXtylRLFgP…
$1 "system_crafters" "https://www.youtube.com/playlist?list=UUAiiOTio8…
+ $1 "someordinarygamer" "https://www.youtube.com/playlist?list=UUtMVHI3…
}
get_video() {
@@ -71,6 +72,11 @@ case $1 in
main get_ids
exit
;;
+-n)
+ get_ids $2 $3
+ exit
+ ;;
+
*)
main get_video
exit
diff --git a/fdm/config b/fdm/config
@@ -6,7 +6,7 @@ $imap_pass = $(pass tech/mailbox.org | head -n1)
$path = "%h/.mail"
$feedcache = "%h/.mail/fdm.cache"
$feeddir = "%h/.mail/feeds/"
-$listdir = "%h/.mail/mailinglists/"
+$listdir = "%h/.mail/ml"
$strurl = "(http[s]?://.*|gemini://.*)"
# options
@@ -26,12 +26,11 @@ account "personal" imaps
action "inbox" maildir "${path}/%u/Inbox"
# mailing lists
-action "freebsd-announce" maildir "${path}/${listdir}/freebsd.announce"
-action "freebsd-current" maildir "${path}/${listdir}/freebsd.current"
-action "freebsd-questions" maildir "${path}/${listdir}/freebsd.question…
-action "sourcehut-discuss" maildir "${path}/${listdir}/srht.discuss"
-action "srht-discuss" maildir "${path}/${listdir}/srht.discuss"
-action "srht-dev" maildir "${path}/${listdir}/srht.dev"
+action "freebsd-announce" maildir "${listdir}/freebsd.announce"
+action "freebsd-current" maildir "${listdir}/freebsd.current"
+action "freebsd-questions" maildir "${listdir}/freebsd.questions"
+action "srht-discuss" maildir "${listdir}/srht.discuss"
+action "srht-dev" maildir "${listdir}/srht.dev"
# feeds
action "feedtag" tag "msgid" value "%1"
diff --git a/mutt/muttrc b/mutt/muttrc
@@ -76,10 +76,10 @@ mailboxes +feeds/uninformativ
# mailing lists
mailboxes +mailinglists
-mailboxes -label "srht.discuss" +mailinglists/srht.discuss
-mailboxes -label "srht.dev" +mailinglists/srht.dev
-mailboxes -label "freebsd.questions" +mailinglists/freebsd.questions
-mailboxes -label "freebsd.announce" +mailinglists/freebsd.announce
+mailboxes -label "srht.discuss" +ml/srht.discuss
+mailboxes -label "srht.dev" +ml/srht.dev
+mailboxes -label "freebsd.questions" +ml/freebsd.questions
+mailboxes -label "freebsd.announce" +ml/freebsd.announce
set sort_alias = alias
set reverse_alias = yes
@@ -97,7 +97,7 @@ macro index M "<save-message>?<toggle-mailboxes>" "move a mes…
# sorting
set sort = threads
set sort_aux = reverse-date
-set pager_index_lines = 5
+set pager_index_lines = 10
set pager_context = 1
set index_format = '%Z | %{%b %d %Y} | %-15.15F | %s'
diff --git a/sfeed/sfeedrc b/sfeed/sfeedrc
@@ -27,10 +27,12 @@ feeds() {
feed 'tomasino' 'gemini://tilde.team/~tomasino/atom.xml'
feed 'antenna' 'gemini://warmedal.se/~antenna/atom.xml'
feed 'techrights' 'gemini://gemini.techrights.org/feed.xml'
+ feed 'ewok' 'gemini://warmedal.se/~bjorn/atom.xml'
# people
feed 'codemadness' 'https://codemadness.org/atom.xml'
feed 'drewdevault' 'https://drewdevault.com/blog/index.xml'
feed 'seeshyjo' 'http://joeyh.name/blog/index.rss'
feed 'unixsheikh' 'https://unixsheikh.com/feed.rss'
feed 'uninformativ' 'https://www.uninformativ.de/blog/feeds/en.atom'
+ feed 'fabiensanglard' 'https://fabiensanglard.net/rss.xml'
}
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.