Introduction
Introduction Statistics Contact Development Disclaimer Help
Adding mpd, ncmpcpp, sorting qutebrowser config - dotfiles - These are my dotfi…
Log
Files
Refs
README
---
commit c3d48eac359d7ec4da308eae92014c172c9a135e
parent 6220e289ad8e38863e3a7d2c42576ff0d865bfe2
Author: Jay Scott <[email protected]>
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(-)
---
diff --git a/.gitignore b/.gitignore
@@ -16,6 +16,7 @@ ncmpcpp/error.log
*.swp
bin/terraform
bin/golangci-lint
+bin/radio
# vim
vim/bundle
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'
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" | dme…
+games=$(printf "%s\n" "Stellaris" "Gibbous" "Rimworld" "AtomRPG" "Primordia" "…
[ -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
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() {
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"
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
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 -" "[email protected]"
--#"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 -" "[email protected]"
+#"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 #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCKr68ZJ4vv6VloNdnS2hjhA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCxDZs_ltFFvn0FDHT6kmoXA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCXJL3ST-O0J3nqzQyPJtpNg #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCgNqlRGqHdxNRPR6ycynWhw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCHL9bfHTxCMi-7vfxQ-AYtg #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCwpHKudUkP5tNgmMdexB3ow #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCl7mAGnY4jh4Ps8rhhh8XZg #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCpXwMqnXfJzazKS5fJ8nrVw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCO8MMsO_XRjO7X4iGCuKdwg #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCpiWxsm9Gt_HK7d-jqkU4MA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCPqdx8N99fs4IDoK_XA1aew #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCAN5q-zNsG3zfk0pHI2rXWQ #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCI3mQP0kLxdZKhNtcHhExyA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCdQ3VoDGjjl3NsfB3V0mPng #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCpNBjjE8y8eFPhDU4YzYmKA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCGKQFbHWBL9SqYXH41ZMTkw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCf-5nkCm0Mldj5xwq8wca_g #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCKsTMxQP7HUCRTuNEEQWLww #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC7McxlM5qJVjqLBRYcHyylg #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCb31gOY6OD8ES0zP8M0GhAw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCqWFLuBLPiaeNzYAek6BOmA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCSnqXeK94-iNmwqGO__eJ5g #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCQkKf5qwYKyJlyhZPbdAVmw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC2SMpy2oZV6BoyJEYShw9bw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCDQ9L4eFHxSh0BM6z-SkZMw #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC3Vuq4Q1bKFtAiKYlwRv3oA #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC67TJP9i84zbCi2h1aaSO6Q #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UChY9Cgv-iyPDvf1Bkyx20OQ #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC0ODgv3ciGtjIWuOF6CLM5g #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCfpCQ89W9wjkHc8J_6eTbBg #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCcjx6m03fZwtRBFn1Cf7kKQ #…
-https://www.youtube.com/feeds/videos.xml?channel_id=UChCb0JDznvNHOuw9U5P99Gg #…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCLfNfMnFlBYR0q1Fvj5k2hQ "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCKr68ZJ4vv6VloNdnS2hjhA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCxDZs_ltFFvn0FDHT6kmoXA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCgNqlRGqHdxNRPR6ycynWhw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCHL9bfHTxCMi-7vfxQ-AYtg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCwpHKudUkP5tNgmMdexB3ow "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCl7mAGnY4jh4Ps8rhhh8XZg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpXwMqnXfJzazKS5fJ8nrVw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCO8MMsO_XRjO7X4iGCuKdwg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpiWxsm9Gt_HK7d-jqkU4MA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCPqdx8N99fs4IDoK_XA1aew "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCAN5q-zNsG3zfk0pHI2rXWQ "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCI3mQP0kLxdZKhNtcHhExyA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCdQ3VoDGjjl3NsfB3V0mPng "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpNBjjE8y8eFPhDU4YzYmKA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCGKQFbHWBL9SqYXH41ZMTkw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCKsTMxQP7HUCRTuNEEQWLww "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7McxlM5qJVjqLBRYcHyylg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCb31gOY6OD8ES0zP8M0GhAw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCqWFLuBLPiaeNzYAek6BOmA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCSnqXeK94-iNmwqGO__eJ5g "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCQkKf5qwYKyJlyhZPbdAVmw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2SMpy2oZV6BoyJEYShw9bw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCDQ9L4eFHxSh0BM6z-SkZMw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC3Vuq4Q1bKFtAiKYlwRv3oA "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC67TJP9i84zbCi2h1aaSO6Q "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UChY9Cgv-iyPDvf1Bkyx20OQ "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC0ODgv3ciGtjIWuOF6CLM5g "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCfpCQ89W9wjkHc8J_6eTbBg "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCcjx6m03fZwtRBFn1Cf7kKQ "…
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
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
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/2…
+c.content.headers.user_agent = "Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/…
c.content.headers.custom = {"accept": "text/html,application/xhtml+xml,applica…
c.content.headers.referer = "same-domain"
c.content.cookies.accept = "no-3rdparty"
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
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.