| misc updates, audio output switch script - dotfiles - These are my dotfiles. Th… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit c6bcea6a0ffccebe7a17f5c9751a739cacfc57f2 | |
| parent 6d543c69b77702edce2cd2037cc9f4eb35676778 | |
| Author: Jay Scott <[email protected]> | |
| Date: Fri, 13 Jan 2023 19:42:18 +0000 | |
| misc updates, audio output switch script | |
| Diffstat: | |
| A bin/switch_audio.sh | 7 +++++++ | |
| M castgetrc | 4 ++++ | |
| M qutebrowser/config.py | 6 +----- | |
| M sfeed/sfeedrc | 1 + | |
| 4 files changed, 13 insertions(+), 5 deletions(-) | |
| --- | |
| diff --git a/bin/switch_audio.sh b/bin/switch_audio.sh | |
| @@ -0,0 +1,7 @@ | |
| +#!/bin/sh | |
| + | |
| +if ! [ "$(pactl get-default-sink)" = "alsa_output.pci-0000_00_1f.3.hdmi-stereo… | |
| + pactl set-default-sink "alsa_output.pci-0000_00_1f.3.hdmi-stereo" | |
| +else | |
| + pactl set-default-sink "alsa_output.usb-KTMicro_KT_USB_Audio_2020-02-2… | |
| +fi | |
| diff --git a/castgetrc b/castgetrc | |
| @@ -34,3 +34,7 @@ spool=/home/jay/media/podcasts/ask-noah | |
| [2.5-admins] | |
| url=https://2.5admins.com/feed/podcast | |
| spool=/home/jay/media/podcasts/2.5-admins | |
| + | |
| +[going-linux] | |
| +url=https://goinglinux.com/mp3podcast.xml | |
| +spool=/home/jay/media/podcasts/going-linux | |
| diff --git a/qutebrowser/config.py b/qutebrowser/config.py | |
| @@ -3,12 +3,8 @@ config.load_autoconfig(False) | |
| try: | |
| from qutebrowser.api import message | |
| - # site redirecting | |
| - config.source('scripts/redirectors.py') | |
| # gruvbox colour theme | |
| config.source('scripts/gruvbox.py') | |
| - # useragent switching | |
| - # config.source('scripts/user_agent.py') | |
| except ImportError: | |
| pass | |
| @@ -45,6 +41,7 @@ c.fonts.default_family = 'Hack' | |
| c.hints.uppercase = True | |
| c.scrolling.smooth = True | |
| c.editor.command = ["foot", "vim '{}'"] | |
| +c.auto_save.session = True | |
| # ad-block | |
| c.content.blocking.enabled = True | |
| @@ -59,7 +56,6 @@ c.content.blocking.adblock.lists = [ | |
| c.completion.web_history.max_items = 0 # no history | |
| c.downloads.remove_finished = 800 # clear dl history | |
| c.downloads.location.directory = '~/tmp' | |
| -c.auto_save.session = False # dont save session | |
| c.url.default_page = DEFAULT_PAGE | |
| c.url.start_pages = DEFAULT_PAGE | |
| c.content.private_browsing = True # always use private browsing | |
| diff --git a/sfeed/sfeedrc b/sfeed/sfeedrc | |
| @@ -39,4 +39,5 @@ feeds() { | |
| feed 'fabiensanglard' 'https://fabiensanglard.net/rss.xml' | |
| feed 'pluralistic' 'https://pluralistic.net/feed/' | |
| feed 'craphound' 'https://craphound.com/feed' | |
| + feed 'lowtechmagazine' 'https://solar.lowtechmagazine.com/feeds/all-en… | |
| } |