Updating media links and helper scripts. - dotfiles - These are my dotfiles. There are many like it, but these are mine.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit a1e27e7dab29ae259b59f35a149c6cc61aab0a8b
(DIR) parent 556d7ad5ed9cab409ab56df4b76faaea5f0460dc
(HTM) Author: Jay Scott <me@jay.scot>
Date: Tue, 27 Jun 2023 19:58:31 +0100
Updating media links and helper scripts.
Diffstat:
M bin/link_handler.sh | 9 +++++++--
M castgetrc | 4 ++++
M foot/foot.ini | 5 ++++-
M newsboat/urls | 12 +++++++++++-
M sway/config | 12 ++++++++++--
5 files changed, 36 insertions(+), 6 deletions(-)
---
(DIR) diff --git a/bin/link_handler.sh b/bin/link_handler.sh
@@ -4,7 +4,8 @@ launcher="setsid"
# apps
player="mpv --really-quiet --no-terminal"
-gemini="amfora"
+gemini="footclient amfora"
+gopher="footclient lynx"
pdf="zathura"
images="feh"
@@ -16,8 +17,12 @@ case "$uri_lower" in
$player "$uri" &
;;
*.gmi | 'gemini:'*)
- $launcher $gemini "$uri"
+ $gemini "$uri"
;;
+'gopher:'*)
+ $gopher "$uri"
+ ;;
+
*.pdf | *.ps | *.epub)
$launcher $pdf "$uri"
;;
(DIR) diff --git a/castgetrc b/castgetrc
@@ -38,3 +38,7 @@ spool=/home/jay/media/podcasts/2.5-admins
[going-linux]
url=https://goinglinux.com/mp3podcast.xml
spool=/home/jay/media/podcasts/going-linux
+
+[living-adventurously]
+url=https://feeds.transistor.fm/living-adventurously
+spool=/home/jay/media/podcasts/living-adventurously
(DIR) diff --git a/foot/foot.ini b/foot/foot.ini
@@ -1,7 +1,10 @@
font=Hack:size=14
[url]
-launch=qutebrowser ${url}
+launch=link_handler.sh ${url}
+
+[key-bindings]
+show-urls-launch=Control+Shift+p
[colors]
background=282828
(DIR) diff --git a/newsboat/urls b/newsboat/urls
@@ -42,7 +42,6 @@ https://www.uninformativ.de/blog/feeds/en.atom "!" "~Uninformativ" people
# ODYSEE
https://odysee.com/$/rss/@AlphaNerd:8 "!" "~Mental Outlaws" youtube
-https://odysee.com/$/rss/@TheLinuxExperiment:e "!" "~Linux Experiment" youtube
https://odysee.com/$/rss/@DistroTube:2 "!" "~DistroTube" youtube
https://odysee.com/$/rss/@BrodieRobertson:5 "!" "~Brodie Robertson" youtube
https://odysee.com/$/rss/@OfficialZaney:8 "!" "~Zaney" youtube
@@ -82,3 +81,14 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCdQ3VoDGjjl3NsfB3V0mPng "!"
https://www.youtube.com/feeds/videos.xml?channel_id=UCpNBjjE8y8eFPhDU4YzYmKA "!" youtube # Quin69
https://www.youtube.com/feeds/videos.xml?channel_id=UCs2Kaw3Soa63cJq3H0VA7og "!" youtube # rwxrob
https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw "!" youtube # Jupiter Broadcasting
+https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw "!" youtube # Linux Experiment
+https://www.youtube.com/feeds/videos.xml?channel_id=UCf-5nkCm0Mldj5xwq8wca_g "!" youtube # JokerTV
+https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA "!" youtube # TheLazyPeon
+https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q "!" youtube # BushmanAndBlue
+https://www.youtube.com/feeds/videos.xml?channel_id=UCKsTMxQP7HUCRTuNEEQWLww "!" youtube # AlastairHumphreys
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7McxlM5qJVjqLBRYcHyylg "!" youtube # BackpackerBen
+https://www.youtube.com/feeds/videos.xml?channel_id=UCb31gOY6OD8ES0zP8M0GhAw "!" youtube # MaxFosh
+https://www.youtube.com/feeds/videos.xml?channel_id=UCqWFLuBLPiaeNzYAek6BOmA "!" youtube # AutoAlex
+https://www.youtube.com/feeds/videos.xml?channel_id=UCSnqXeK94-iNmwqGO__eJ5g "!" youtube # SteveWallis
+https://www.youtube.com/feeds/videos.xml?channel_id=UCQkKf5qwYKyJlyhZPbdAVmw "!" youtube # HamsterWheelGaming
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2SMpy2oZV6BoyJEYShw9bw "!" youtube # TA Outdoors
(DIR) diff --git a/sway/config b/sway/config
@@ -11,6 +11,7 @@ set $right l
# apps
set $term footclient -d none
set $browser qutebrowser
+set $steam flatpak run --user com.valvesoftware.Steam
set $menu bemenu-run -p '> ' --tb '$colour' --tf '#ffffff' --hf '#444444'
set $vol pamixer
@@ -37,13 +38,20 @@ input * {
# monitors
output HDMI-A-1 pos 0 0 res 1920x1080
-output DP-1 pos 1920 0 res 1600x900
-focus output HDMI-A-1
+output DP-1 pos 1920 0 res 1920x1080
+focus output DP-1
+
+# workspaces
+workspace 1 HDMI-A-1
+workspace 2 HDMI-A-1
+workspace 3 DP-1
+workspace 4 DP-1
# Keybinds
bindsym $mod+Space exec $term
bindsym $mod+p exec $menu
bindsym $mod+f exec $browser
+bindsym $mod+s exec $steam
bindsym $mod+u exec $vol -i 5
bindsym $mod+d exec $vol -d 5