Adding mpd, ncmpcpp, sorting qutebrowser config - dotfiles - These are my dotfiles. There are many like it, but these are mine.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit c3d48eac359d7ec4da308eae92014c172c9a135e
 (DIR) parent 6220e289ad8e38863e3a7d2c42576ff0d865bfe2
 (HTM) Author: Jay Scott <me@jay.scot>
       Date:   Mon, 27 Nov 2023 19:39:30 +0000
       
       Adding mpd, ncmpcpp, sorting qutebrowser config
       
       Diffstat:
         M .gitignore                          |       1 +
         M bashrc                              |       2 +-
         M bin/game_select.sh                  |       6 ++++--
         M bootstrap.sh                        |       5 +++--
         A mpd/mpd.conf                        |      20 ++++++++++++++++++++
         A ncmpcpp/config                      |      31 +++++++++++++++++++++++++++++++
         M newsraft/feeds                      |      98 +++++++++++++++----------------
         A pkg/pkglist-aur.txt                 |       7 +++++++
         A pkg/pkglist-repo.txt                |      56 +++++++++++++++++++++++++++++++
         M qutebrowser/config.py               |       8 ++++----
         M qutebrowser/scripts/redirects.py    |       2 +-
       
       11 files changed, 176 insertions(+), 60 deletions(-)
       ---
 (DIR) diff --git a/.gitignore b/.gitignore
       @@ -16,6 +16,7 @@ ncmpcpp/error.log
        *.swp
        bin/terraform
        bin/golangci-lint
       +bin/radio
        
        # vim
        vim/bundle
 (DIR) diff --git a/bashrc b/bashrc
       @@ -40,7 +40,7 @@ alias mv='mv -i'
        alias rm='rm -i'
        
        # random alias
       -alias weather='curl wttr.in/?1QF'
       +alias weather='curl wttr.in/57.66,-2.52?3QF'
        alias ls='ls --color=auto'
        alias voff='mullvad lockdown-mode set off; mullvad disconnect'
        alias von='mullvad lockdown-mode set on; mullvad connect'
 (DIR) diff --git a/bin/game_select.sh b/bin/game_select.sh
       @@ -1,6 +1,6 @@
        #!/bin/sh
        
       -games=$(printf "%s\n" "Gibbous" "Rimworld" "AtomRPG" "Primordia" "Steam" | dmenu -p "games »")
       +games=$(printf "%s\n" "Stellaris" "Gibbous" "Rimworld" "AtomRPG" "Primordia" "Steam" | dmenu -p "games »")
        
        [ -z "$games" ] && exit 0
        
       @@ -8,6 +8,9 @@ case "$games" in
        "Steam")
                steam
                ;;
       +"Stellaris")
       +        ~/media/games/stellaris/start.sh
       +        ;;
        "Gibbous")
                ~/media/games/gibbous/start.sh
                ;;
       @@ -19,6 +22,5 @@ case "$games" in
                ;;
        "Primordia")
                ~/media/games/primordia/start.sh
       -        /data/games/enterthegungeon/start.sh
                ;;
        esac
 (DIR) diff --git a/bootstrap.sh b/bootstrap.sh
       @@ -4,7 +4,7 @@ DOTFILES=$(pwd)
        
        FILES='bashrc profile vimrc'
        ROOT='bin'
       -CONFIG='alacritty git isync lynx mutt newsraft qutebrowser X11'
       +CONFIG='alacritty git isync lynx mutt newsraft mpd ncmpcpp qutebrowser X11'
        
        link() {
                for f in $FILES; do ln -sfn "$DOTFILES/$f" "$HOME/.$f"; done
       @@ -19,7 +19,8 @@ unlink() {
        }
        
        backup() {
       -        crontab -l >"$DOTFILES"/crontab
       +        pacman -Qqen >pkg/pkglist-repo.txt
       +        pacman -Qqem >pkg/pkglist-aur.txt
        }
        
        restore() {
 (DIR) diff --git a/mpd/mpd.conf b/mpd/mpd.conf
       @@ -0,0 +1,20 @@
       +music_directory                "/home/jay/media/music"
       +playlist_directory         "/home/jay/.config/mpd/playlists"
       +db_file                 "/home/jay/.config/mpd/mpd.db"
       +log_file                   "syslog"
       +pid_file                 "/home/jay/.config/mpd/mpd.pid"
       +state_file                 "/home/jay/.config/mpd/mpdstate"
       +
       +audio_output {
       +        type "pulse"
       +        name "pulse audio"
       +}
       +audio_output {
       +    type                    "fifo"
       +    name                    "my_fifo"
       +    path                    "/tmp/mpd.fifo"
       +    format                  "44100:16:2"
       +}
       +
       +bind_to_address "127.0.0.1"
       +port "6600"
 (DIR) diff --git a/ncmpcpp/config b/ncmpcpp/config
       @@ -0,0 +1,31 @@
       +# visual stuff for 8
       +visualizer_data_source = /tmp/mpd.fifo
       +visualizer_output_name = my_fifo
       +visualizer_in_stereo = no
       +visualizer_type = spectrum
       +visualizer_look = ∙▋
       +visualizer_color = 7,5,8,3
       +song_columns_list_format = "(50)[green]{a} (50)[white]{t|f}"
       +
       +playlist_display_mode = columns
       +browser_display_mode = columns
       +
       +ncmpcpp_directory = ~/.config/ncmpcpp
       +lyrics_directory = /tmp
       +store_lyrics_in_song_dir = yes
       +autocenter_mode = "yes"
       +centered_cursor = "yes"
       +cyclic_scrolling = "no"
       +
       +titles_visibility = "no"
       +header_visibility = "no"
       +statusbar_visibility = "no"
       +progressbar_look = "❙❙❙"
       +progressbar_color = "white"
       +
       +user_interface = "classic"
       +
       +startup_screen = playlist
       +startup_slave_screen = visualizer
       +startup_slave_screen_focus = no
       +locked_screen_width_part = 35
 (DIR) diff --git a/newsraft/feeds b/newsraft/feeds
       @@ -15,11 +15,11 @@ http://feed.rutracker.cc/atom/f/1992.atom "RU Tracker"
        https://www.gamingonlinux.com/article_rss.php "Gaming On Linux"
        
        #@ GEMINI
       --#"exec:gemget tilde.team/~tomasino/atom.xml --output -" "~tomasino@tilde.team"
       --#"exec:gemget capsule.usebox.net/gemlog/atom.xml --output -" "~Juans Gemlog"
       --#"exec:gemget foobucket.xyz/gemlog/atom.xml --output -" "~Foobucket Gemlog"
       --#"exec:gemget midnight.pub/feed.xml --output -" "~Midnight Pub"
       --#"exec:gemget gemini://warmedal.se/~antenna/atom.xml --output -" "~Antenna"
       +#"exec:gemget tilde.team/~tomasino/atom.xml --output -" "~tomasino@tilde.team"
       +#"exec:gemget capsule.usebox.net/gemlog/atom.xml --output -" "~Juans Gemlog"
       +#"exec:gemget foobucket.xyz/gemlog/atom.xml --output -" "~Foobucket Gemlog"
       +#"exec:gemget midnight.pub/feed.xml --output -" "~Midnight Pub"
       +#"exec:gemget gemini://warmedal.se/~antenna/atom.xml --output -" "~Antenna"
        
        @ PEOPLE
        https://codemadness.org/atom.xml "CodeMadness"
       @@ -39,48 +39,46 @@ https://odysee.com/$/rss/@tuxfoo:e "Tuxfoo"
        https://odysee.com/$/rss/@hexdsl:7 "HexDSL"
        
        @ YOUTUBE
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA # Steve1989MREInfo
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ # Dave Snider
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ # Bright Sun Films
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCKr68ZJ4vv6VloNdnS2hjhA # Harald Baldr
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg # Simon Wilson
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA # SideNote
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A # c90adventures
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA # Indigo Traveller
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw # PPPeter
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCxDZs_ltFFvn0FDHT6kmoXA # Bald and Bankrupt
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCXJL3ST-O0J3nqzQyPJtpNg # PreachGaming
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCgNqlRGqHdxNRPR6ycynWhw # Vagrant Holiday
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCHL9bfHTxCMi-7vfxQ-AYtg # Abroad in Japan
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCwpHKudUkP5tNgmMdexB3ow # Mentour Pilot
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCl7mAGnY4jh4Ps8rhhh8XZg # Serpentza
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCpXwMqnXfJzazKS5fJ8nrVw # Shiey
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCO8MMsO_XRjO7X4iGCuKdwg # Vagabond
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCpiWxsm9Gt_HK7d-jqkU4MA # Daly Life Outdoors
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCPqdx8N99fs4IDoK_XA1aew # English Woodsman
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCAN5q-zNsG3zfk0pHI2rXWQ # English Woodsman 2
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCI3mQP0kLxdZKhNtcHhExyA # Paul Messer
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q # Bushman & Blue
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg # Noel Phillips
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCdQ3VoDGjjl3NsfB3V0mPng # clawd00d
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCpNBjjE8y8eFPhDU4YzYmKA # Quin69
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCGKQFbHWBL9SqYXH41ZMTkw # Quin69 TV
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw # Jupiter Broadcasting
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw # Linux Experiment
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCf-5nkCm0Mldj5xwq8wca_g # JokerTV
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA # TheLazyPeon
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCKsTMxQP7HUCRTuNEEQWLww # AlastairHumphreys
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC7McxlM5qJVjqLBRYcHyylg # BackpackerBen
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCb31gOY6OD8ES0zP8M0GhAw # MaxFosh
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCqWFLuBLPiaeNzYAek6BOmA # AutoAlex
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCSnqXeK94-iNmwqGO__eJ5g # SteveWallis
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCQkKf5qwYKyJlyhZPbdAVmw # HamsterWheelGaming
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC2SMpy2oZV6BoyJEYShw9bw # TA Outdoors
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCDQ9L4eFHxSh0BM6z-SkZMw # Ned in the Cloud
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC3Vuq4Q1bKFtAiKYlwRv3oA # Peter Santenello
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC67TJP9i84zbCi2h1aaSO6Q # Ringway Manchester
       -https://www.youtube.com/feeds/videos.xml?channel_id=UChY9Cgv-iyPDvf1Bkyx20OQ # My Mate Vince
       -https://www.youtube.com/feeds/videos.xml?channel_id=UC0ODgv3ciGtjIWuOF6CLM5g # Bonnie Lad Adventures
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCfpCQ89W9wjkHc8J_6eTbBg # The Outdoor Boys
       -https://www.youtube.com/feeds/videos.xml?channel_id=UCcjx6m03fZwtRBFn1Cf7kKQ # Zac Aslop
       -https://www.youtube.com/feeds/videos.xml?channel_id=UChCb0JDznvNHOuw9U5P99Gg # Daily Preach
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA "Steve1989MREInfo"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ "Dave Snider"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCLfNfMnFlBYR0q1Fvj5k2hQ "Bex Bugout"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ "Bright Sun Films"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCKr68ZJ4vv6VloNdnS2hjhA "Harald Baldr"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg "Simon Wilson"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA "SideNote"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A "c90adventures"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA "Indigo Traveller"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw "PPPeter"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCxDZs_ltFFvn0FDHT6kmoXA "Bald and Bankrupt"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCgNqlRGqHdxNRPR6ycynWhw "Vagrant Holiday"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCHL9bfHTxCMi-7vfxQ-AYtg "Abroad in Japan"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCwpHKudUkP5tNgmMdexB3ow "Mentour Pilot"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCl7mAGnY4jh4Ps8rhhh8XZg "Serpentza"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCpXwMqnXfJzazKS5fJ8nrVw "Shiey"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCO8MMsO_XRjO7X4iGCuKdwg "Vagabond"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCpiWxsm9Gt_HK7d-jqkU4MA "Daly Life Outdoors"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCPqdx8N99fs4IDoK_XA1aew "English Woodsman"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCAN5q-zNsG3zfk0pHI2rXWQ "English Woodsman 2"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCI3mQP0kLxdZKhNtcHhExyA "Paul Messer"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q "Bushman & Blue"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg "Noel Phillips"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCdQ3VoDGjjl3NsfB3V0mPng "clawd00d"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCpNBjjE8y8eFPhDU4YzYmKA "Quin69"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCGKQFbHWBL9SqYXH41ZMTkw "Quin69 TV"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw "Jupiter Broadcasting"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw "Linux Experiment"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA "The Lazy Peon"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCKsTMxQP7HUCRTuNEEQWLww "Alastair Humphreys"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC7McxlM5qJVjqLBRYcHyylg "Backpacker Ben"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCb31gOY6OD8ES0zP8M0GhAw "MaxFosh"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCqWFLuBLPiaeNzYAek6BOmA "AutoAlex"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCSnqXeK94-iNmwqGO__eJ5g "SteveWallis"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCQkKf5qwYKyJlyhZPbdAVmw "HamsterWheelGaming"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC2SMpy2oZV6BoyJEYShw9bw "TA Outdoors"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCDQ9L4eFHxSh0BM6z-SkZMw "Ned in the Cloud"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC3Vuq4Q1bKFtAiKYlwRv3oA "Peter Santenello"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC67TJP9i84zbCi2h1aaSO6Q "Ringway Manchester"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UChY9Cgv-iyPDvf1Bkyx20OQ "My Mate Vince"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UC0ODgv3ciGtjIWuOF6CLM5g "Bonnie Lad Adventures"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCfpCQ89W9wjkHc8J_6eTbBg "The Outdoor Boys"
       +https://www.youtube.com/feeds/videos.xml?channel_id=UCcjx6m03fZwtRBFn1Cf7kKQ "Zav Alsop"
 (DIR) diff --git a/pkg/pkglist-aur.txt b/pkg/pkglist-aur.txt
       @@ -0,0 +1,7 @@
       +gemget
       +lib32-gperftools
       +librewolf-bin
       +mullvad-vpn-bin
       +newsraft
       +paru
       +shellcheck-bin
 (DIR) diff --git a/pkg/pkglist-repo.txt b/pkg/pkglist-repo.txt
       @@ -0,0 +1,56 @@
       +alacritty
       +amfora
       +base
       +base-devel
       +bash-completion
       +chrony
       +dhcpcd
       +docker
       +docker-compose
       +efibootmgr
       +gamemode
       +git
       +gnu-netcat
       +isync
       +less
       +lf
       +lib32-libpng12
       +lib32-pipewire
       +linux
       +linux-firmware
       +lutris
       +lynx
       +mpv
       +mutt
       +noto-fonts-emoji
       +ntfs-3g
       +pamixer
       +pass
       +pipewire-alsa
       +pipewire-pulse
       +profanity
       +pulsemixer
       +rsync
       +scrot
       +shfmt
       +steam
       +sudo
       +terraform
       +ttf-dejavu
       +ttf-hack
       +ttf-liberation
       +unrar
       +unzip
       +vim
       +vulkan-radeon
       +wayland
       +wine-staging
       +xdg-utils
       +xf86-video-amdgpu
       +xorg-server
       +xorg-xinit
       +xorg-xset
       +xorg-xsetroot
       +yt-dlp
       +zathura
       +zathura-pdf-mupdf
 (DIR) diff --git a/qutebrowser/config.py b/qutebrowser/config.py
       @@ -5,7 +5,7 @@ try:
        
            # gruvbox colour theme
            config.source('scripts/gruvbox.py')
       -    config.source('scripts/redirects.py')
       +    #config.source('scripts/redirects.py')
        
        except ImportError:
            pass
       @@ -41,12 +41,12 @@ c.fonts.default_size = '12pt'
        c.fonts.default_family = 'Hack'
        c.hints.uppercase = True
        c.scrolling.smooth = True
       -c.editor.command = ["foot", "vim '{}'"]
       +c.editor.command = ["alacritty", "vim '{}'"]
        c.auto_save.session = True
        
        # ad-block
        c.content.blocking.enabled = True
       -c.content.blocking.method = "adblock"
       +c.content.blocking.method = "both"
        c.content.blocking.adblock.lists = [
                "https://easylist.to/easylist/easyprivacy.txt",
                "https://secure.fanboy.co.nz/fanboy-cookiemonster.txt",
       @@ -73,7 +73,7 @@ c.content.autoplay = False # no autoplay on <video> tags
        
        # fingerprint
        c.content.headers.accept_language = "en-US,en;q=0.5"
       -c.content.headers.user_agent = "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0"
       +c.content.headers.user_agent = "Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/20100101 Firefox/120.0"
        c.content.headers.custom = {"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"}
        c.content.headers.referer = "same-domain"
        c.content.cookies.accept = "no-3rdparty"
 (DIR) diff --git a/qutebrowser/scripts/redirects.py b/qutebrowser/scripts/redirects.py
       @@ -1,6 +1,6 @@
        from qutebrowser.api import interceptor
        from urllib.parse import urljoin
       -from PyQt5.QtCore import QUrl
       +from PyQt6.QtCore import QUrl
        import operator
        
        o = operator.methodcaller