Introduction
Introduction Statistics Contact Development Disclaimer Help
cleaning up files. - dotfiles - These are my dotfiles. There are many like it, …
Log
Files
Refs
README
---
commit 880487b157c393dbb7466104155f7ddea969c195
parent 08532b698f617d50addb0201c92a587636be2256
Author: Jay Scott <[email protected]>
Date: Tue, 13 Sep 2022 20:33:19 +0100
cleaning up files.
Diffstat:
M .gitignore | 9 ++-------
M bootstrap.sh | 2 +-
M mutt/muttrc | 15 +++++++++++++++
M newsboat/config | 5 +++++
M newsboat/urls | 4 ++++
M pkg/archlinux | 13 +++++++------
M qutebrowser/config.py | 6 ++----
D qutebrowser/quickmarks | 2 --
D qutebrowser/useragent_list.json | 93 -----------------------------…
M sway/config | 59 +++++++++++++++--------------…
M vimrc | 8 ++++----
M waybar/waybar_mail.sh | 2 +-
12 files changed, 69 insertions(+), 149 deletions(-)
---
diff --git a/.gitignore b/.gitignore
@@ -14,13 +14,8 @@ qutebrowser/quickmarks
# misc
*.swp
-# suckless tools
-suckless/*/src/
-
# vim
vim/bundle
-# seedbox
-bin/seedsync
-bin/seedclean
-bin/seedupload
+# mutt contacts
+mutt/aliases
diff --git a/bootstrap.sh b/bootstrap.sh
@@ -4,7 +4,7 @@ DOTFILES=$(pwd)
FILES='bashrc profile vimrc'
ROOT='bin'
-CONFIG='dunst git mpd mutt ncmpcpp newsboat qutebrowser sway foot waybar'
+CONFIG='dunst foot git mpd mutt ncmpcpp newsboat qutebrowser senpai sway wayba…
AUR='paru'
link() {
diff --git a/mutt/muttrc b/mutt/muttrc
@@ -20,6 +20,15 @@ set forward_format = "Fwd: %s"
set fcc_attach = no
set edit_headers = yes
+# gpg encryption
+source ~/.config/mutt/gpg.rc
+bind compose p pgp-menu
+set pgp_use_gpg_agent = yes
+set pgp_sign_as = 0726AF07C73389E1E4475B7EC88BBC696A39CCB0
+set pgp_timeout = 3600
+set crypt_autosign = yes
+set crypt_replyencrypt = yes
+
# html emails
auto_view text/html
alternative_order text/plain text/html
@@ -33,6 +42,7 @@ set folder = ~/mail
set header_cache = ~/.config/mutt/cache/headers
set message_cachedir = ~/.config/mutt/cache/bodies
set mailcap_path = ~/.config/mutt/mailcap
+set alias_file = ~/.config/mutt/aliases
set tmpdir = ~/.cache/
set spoolfile = "+jay/Inbox"
@@ -42,6 +52,11 @@ set record = "+jay/Sent"
# polling/sidebar
mailboxes =jay/Inbox =jay/detecting =jay/house
+# contact addresses
+set sort_alias = alias
+set reverse_alias = yes
+source $alias_file
+
# macros
bind index gg first-entry
bind index G last-entry
diff --git a/newsboat/config b/newsboat/config
@@ -15,6 +15,11 @@ prepopulate-query-feeds yes
show-read-feeds no
scrolloff 5
+# Podcast
+download-path "/data/podcasts/"
+download-filename-format "%F-%t.%e"
+max-downloads 1
+
# Feed settings
show-read-articles no
show-title-bar no
diff --git a/newsboat/urls b/newsboat/urls
@@ -18,6 +18,9 @@ http://feed.rutracker.cc/atom/f/1992.atom "!" "~Linux Torrent…
# PODCASTS
https://tilde.town/~dozens/podcast/rss.xml "!" "Tilde World Podcast" podcast
+https://podcast.asknoahshow.com/rss "!" "Ask Noah Podcast" podcast
+http://www.2600.com/oth-broadband.xml "!" "Off The Hook" podcast
+
# GAMING
https://www.gamingonlinux.com/article_rss.php "!" "~Gaming On Linux" gaming
@@ -88,3 +91,4 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtM…
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=UCs2Kaw3Soa63cJq3H0VA7og "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw "…
diff --git a/pkg/archlinux b/pkg/archlinux
@@ -19,8 +19,10 @@ checkbashisms
chrony
cronie
dhcpcd
+dunst
efibootmgr
fakeroot
+feh
firefox
flex
foot
@@ -43,7 +45,9 @@ isync
iw
iwd
jq
+jre-openjdk-headless
keepass
+kiln-git
lf-bin
lib32-alsa-lib
lib32-alsa-plugins
@@ -80,7 +84,6 @@ make
man-db
mpd
mpv
-mupdf
mutt
ncmpcpp
newsboat
@@ -102,18 +105,16 @@ pkgconf
poppler
pulsemixer
python-adblock
+qt5-wayland
qutebrowser
rsync
-scrot
+senpai-irc-git
shellcheck-bin
shfmt
sudo
sway
-sxiv
terminus-font
texinfo
-tiny-irc-client-bin
-tmux
ttf-hack
ttf-liberation
unrar
@@ -128,13 +129,13 @@ webkit2gtk
wget
which
wlsunset
-wmutils-git
wtwitch
xcb-util-errors
xdg-ninja-git
xf86-video-amdgpu
xorg-server-common
xorg-xset
+xorg-xwayland
yt-dlp
yt-dlp-drop-in
ytfzf
diff --git a/qutebrowser/config.py b/qutebrowser/config.py
@@ -37,11 +37,11 @@ c.colors.webpage.darkmode.grayscale.all = True
# misc
c.fonts.hints = "10pt Hack"
-c.fonts.default_size = '11pt'
+c.fonts.default_size = '12pt'
c.fonts.default_family = 'Hack'
c.hints.uppercase = True
c.scrolling.smooth = True
-c.editor.command = ["st", "-e", "vim '{}'"]
+c.editor.command = ["foot", "vim '{}'"]
# ad-block
c.content.blocking.enabled = True
@@ -88,8 +88,6 @@ c.content.dns_prefetch = False # disable pre-fetching
c.url.searchengines = {
"DEFAULT": "https://html.duckduckgo.com/html?q={}",
"ru": "https://rutracker.org/forum/tracker.php?f=1992&nm={}",
- "lse": "https://www.lse.co.uk/ShareChat.asp?ShareTicker={}",
- "reddit": "https://old.reddit.com/r/{}",
"wiby": "https://wiby.me/?q={}",
"book": "http://libgen.rs/search.php?req={}&lg_topic=libgen&open=0&view=si…
}
diff --git a/qutebrowser/quickmarks b/qutebrowser/quickmarks
@@ -1,2 +0,0 @@
-seed https://psb54568.seedbox.io/
-jellyfin http://localhost:8096/web/index.html#!/home.html
diff --git a/qutebrowser/useragent_list.json b/qutebrowser/useragent_list.json
@@ -1,93 +0,0 @@
-[
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Fir…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0",
- "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0",
- "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firef…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Fir…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0",
- "Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0",
- "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Fir…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KH…
- "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, l…
- "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:82.0) Gecko/20100101 Fire…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firef…
- "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, l…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:82.0) Gecko/20100101 Firef…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:83.0) Gecko/20100101…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Fir…
- "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko…
- "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, l…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:81.0) Gecko/20100101…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, l…
- "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Fir…
- "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, l…
- "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:82.0) Gecko/20100101…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:82.0) Gecko/20100101 Fire…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:82.0) Gecko/20100101…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KH…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Fir…
- "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0",
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:82.0) Gecko/20100101…
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0",
- "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like …
- "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like …
- "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko…
- "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firef…
- "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firef…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (K…
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, …
- "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like …
- "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:83.0) Gecko/20100101 Fire…
- "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko…
-]
diff --git a/sway/config b/sway/config
@@ -5,20 +5,17 @@ set $down j
set $up k
set $right l
-
# Apps
set $term foot
-set $browser firefox
+set $browser qutebrowser
set $menu bemenu-run -p '> ' -b --tb '#000000' --tf '#ffffff' --hf '#444444'
-set $vol amixer set Master
-
+set $vol pamixer
# Autostart
exec wlsunset -l 57.6495 -L 3.318
exec mpd
exec dunst
-
# Misc
default_border none
xwayland enable
@@ -42,37 +39,37 @@ bar {
bindsym $mod+Space exec $term
bindsym $mod+p exec $menu
bindsym $mod+f exec $browser
-bindsym $mod+u exec $vol 10%+
-bindsym $mod+d exec $vol 10%-
+bindsym $mod+u exec $vol -i 5
+bindsym $mod+d exec $vol -d 5
bindsym $mod+c kill
bindsym $mod+Shift+c reload
bindsym $mod+Shift+q exec swaymsg exit
# Move your focus around
- bindsym $mod+$left focus left
- bindsym $mod+$down focus down
- bindsym $mod+$up focus up
- bindsym $mod+$right focus right
-
- # Or use $mod+[up|down|left|right]
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus right
-
- # Switch to workspace
- bindsym $mod+1 workspace number 1
- bindsym $mod+2 workspace number 2
- bindsym $mod+3 workspace number 3
- bindsym $mod+4 workspace number 4
-
- bindsym $mod+Shift+1 move container to workspace number 1
- bindsym $mod+Shift+2 move container to workspace number 2
- bindsym $mod+Shift+3 move container to workspace number 3
- bindsym $mod+Shift+4 move container to workspace number 4
-
- bindsym $mod+e layout toggle split
- bindsym $mod+m fullscreen
+bindsym $mod+$left focus left
+bindsym $mod+$down focus down
+bindsym $mod+$up focus up
+bindsym $mod+$right focus right
+
+# Or use $mod+[up|down|left|right]
+bindsym $mod+Left focus left
+bindsym $mod+Down focus down
+bindsym $mod+Up focus up
+bindsym $mod+Right focus right
+
+# Switch to workspace
+bindsym $mod+1 workspace number 1
+bindsym $mod+2 workspace number 2
+bindsym $mod+3 workspace number 3
+bindsym $mod+4 workspace number 4
+
+bindsym $mod+Shift+1 move container to workspace number 1
+bindsym $mod+Shift+2 move container to workspace number 2
+bindsym $mod+Shift+3 move container to workspace number 3
+bindsym $mod+Shift+4 move container to workspace number 4
+
+bindsym $mod+e layout toggle split
+bindsym $mod+m fullscreen
include /etc/sway/config.d/*
diff --git a/vimrc b/vimrc
@@ -84,6 +84,7 @@ set tabstop=8
set shiftwidth=8
set autoindent
set colorcolumn=80
+set textwidth=72
set encoding=utf-8
set number
set ruler
@@ -105,8 +106,7 @@ autocmd BufWritePre * :%s/\s\+$//e
" spell-check the current buffer
map <leader>s :setlocal spell! spelllang=en_gb<CR>
-" run xrdb whenever xresources are updated
-autocmd BufWritePost *.config/X11/Xresources
- \ !xrdb -merge ~/.config/X11/Xresources
+" format paragraph
+map <leader>t :setl comments=fn\:\\|<CR>:setl formatoptions=tcorjq1l<CR>gqip
-autocmd BufNewFile,BufRead ~/.cache/mutt* set tw=72
+au BufRead ~/.cache/mutt* set tw=72
diff --git a/waybar/waybar_mail.sh b/waybar/waybar_mail.sh
@@ -1,6 +1,6 @@
#!/usr/bin/bash
-maildirnew="$HOME/.mail/jay/Inbox/new/"
+maildirnew="$HOME/mail/jay/Inbox/new/"
new="$(find $maildirnew -type f | wc -l)"
if [ $new -gt 0 ]
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.