From 1ddfd9ba56511a4136dfe83e1f581ac52c79c0e9 Mon Sep 17 00:00:00 2001 From: ensa <@> Date: Sun, 6 Aug 2023 16:37:30 -0700 Subject: these commit titles don't have meaning anymore DEPENDENCIES.md: nixed. good riddance. i have no reason to think it was helpful and was a nightmare to update bin/ fcard: some tab changes. -z still broken fl: removed unnecessary lines from before flc's existence. flc: inherited IFS because of dmenu crap. tr -d to prevent pasting newlines. op: changed text/* to spawn a terminal. often op is invoked outside the terminal. shenv: looks at HOME_ETC for uniformity etc/ X11/xprofile: line for updating sfeed feeds aliasrc: colorizing lr ksh/kshrc: MANPATH extended to accommodate for user-specific packages, e.g python call_it_a_day updates packages and cleans the system, tracks how long that took mpv/mpv.conf: self-explanatory newsboat: not used anymore sfeedrc: new rss config, needs feed urls shrc: making room for sfeed, self-explanatory yt-dlp: mostly self-explanatory renaming new config for playlists, separate because you seemingly can't use directory markers in text substitution --- etc/sfeedrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 etc/sfeedrc (limited to 'etc/sfeedrc') diff --git a/etc/sfeedrc b/etc/sfeedrc new file mode 100644 index 0000000..2c5686d --- /dev/null +++ b/etc/sfeedrc @@ -0,0 +1,13 @@ +# some feeds don't like hidden user agent +fetch() { + # fail on redirects, timeout is 15 seconds. + curl -L --max-redirs 0 -f -s -m 15 \ + "$2" 2>/dev/null +} + +sfeedpath="$HOME_DATA/sfeed/feeds" + +# list of feeds to fetch: +feeds() { + # feed [basesiteurl] [encoding] +} -- cgit 1.4.1-2-gfad0 2eb3b133fd98d98457f17bfea8891d1'>commit diff stats
blob: d59309a21d1d7b18edae5949e25b04a33974cf13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98