various changes
* Stop ignoring pdflatex, I rarely use it anyways * Add gk and gj to iamb, and put invites first * Search with searx also in tempbrowsers * teddit is down, don't redirect to it * scale backgrounds better * put slight delay in pipewire to avoid races? * better unsubscribing from gitlab
This commit is contained in:
parent
3c344366cb
commit
a1b46218f5
9 changed files with 35 additions and 22 deletions
|
@ -24,14 +24,5 @@ stack.yaml.lock
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
target/
|
target/
|
||||||
|
|
||||||
# LaTeX
|
|
||||||
*.log
|
|
||||||
*.aux
|
|
||||||
*.toc
|
|
||||||
*.pdf
|
|
||||||
*.bbl
|
|
||||||
*.blg
|
|
||||||
*.out
|
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
|
@ -20,7 +20,7 @@ user_gutter_width = 15
|
||||||
username_display = "displayname"
|
username_display = "displayname"
|
||||||
|
|
||||||
[settings.sort]
|
[settings.sort]
|
||||||
chats = ["recent"]
|
chats = ["invite", "recent"]
|
||||||
rooms = ["favorite", "lowpriority", "unread", "name"]
|
rooms = ["favorite", "lowpriority", "unread", "name"]
|
||||||
members = ["power", "id"]
|
members = ["power", "id"]
|
||||||
|
|
||||||
|
@ -30,12 +30,13 @@ style = "config"
|
||||||
[[layout.tabs]]
|
[[layout.tabs]]
|
||||||
window = "iamb://chats"
|
window = "iamb://chats"
|
||||||
|
|
||||||
[macros.insert]
|
|
||||||
"jj" = "<Esc>"
|
|
||||||
|
|
||||||
[macros."normal|visual"]
|
[macros."normal|visual"]
|
||||||
"V" = "<C-W>m"
|
"V" = "<C-W>m"
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
logs = "/home/ninewise/.local/share/iamb/logs/"
|
logs = "/home/ninewise/.local/share/iamb/logs/"
|
||||||
downloads = "/tmp/"
|
downloads = "/tmp/"
|
||||||
|
|
||||||
|
[macros.normal]
|
||||||
|
"gk" = "<C-O>k<Enter>"
|
||||||
|
"gj" = "<C-O>j<Enter>"
|
||||||
|
|
|
@ -22,6 +22,7 @@ c.new_instance_open_target = "tab-silent"
|
||||||
c.session.default_name = "default"
|
c.session.default_name = "default"
|
||||||
c.tabs.background = True
|
c.tabs.background = True
|
||||||
c.tabs.last_close = "close"
|
c.tabs.last_close = "close"
|
||||||
|
c.tabs.new_position.stacking = False
|
||||||
c.tabs.show = "multiple"
|
c.tabs.show = "multiple"
|
||||||
c.tabs.favicons.show = "pinned"
|
c.tabs.favicons.show = "pinned"
|
||||||
c.url.default_page = "qute://bookmarks"
|
c.url.default_page = "qute://bookmarks"
|
||||||
|
@ -46,6 +47,7 @@ c.url.searchengines = { "startpage": "https://startpage.com/do/search?query={}"
|
||||||
, "trantor": "http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion/search/?q={}"
|
, "trantor": "http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion/search/?q={}"
|
||||||
, "duckduckgonion": "https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/html?q={}"
|
, "duckduckgonion": "https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/html?q={}"
|
||||||
, "mellowchan": "https://srx.mellowchan.xyz/?q={}"
|
, "mellowchan": "https://srx.mellowchan.xyz/?q={}"
|
||||||
|
, "searx": "https://searx.be/?q={}"
|
||||||
, "DEFAULT": "https://srx.mellowchan.xyz/?q={}"
|
, "DEFAULT": "https://srx.mellowchan.xyz/?q={}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -216,8 +218,7 @@ for pattern in allowed:
|
||||||
config.set('content.cookies.accept', "no-3rdparty", pattern)
|
config.set('content.cookies.accept', "no-3rdparty", pattern)
|
||||||
|
|
||||||
# Some redirects
|
# Some redirects
|
||||||
redirects = { 'www.reddit.com': 'www.teddit.net'
|
redirects = { 'www.youtube.com': 'c7hqkpkpemu6e7emz5b4vyz7idjgdvgaaa3dyimmeojqbgpea3xqjoid.onion'
|
||||||
, 'www.youtube.com': 'c7hqkpkpemu6e7emz5b4vyz7idjgdvgaaa3dyimmeojqbgpea3xqjoid.onion'
|
|
||||||
, 'www.youtube.be': 'c7hqkpkpemu6e7emz5b4vyz7idjgdvgaaa3dyimmeojqbgpea3xqjoid.onion'
|
, 'www.youtube.be': 'c7hqkpkpemu6e7emz5b4vyz7idjgdvgaaa3dyimmeojqbgpea3xqjoid.onion'
|
||||||
, 'youtu.be': 'c7hqkpkpemu6e7emz5b4vyz7idjgdvgaaa3dyimmeojqbgpea3xqjoid.onion'
|
, 'youtu.be': 'c7hqkpkpemu6e7emz5b4vyz7idjgdvgaaa3dyimmeojqbgpea3xqjoid.onion'
|
||||||
, 'twitter.com': '3nzoldnxplag42gqjs23xvghtzf6t6yzssrtytnntc6ppc7xxuoneoad.onion'
|
, 'twitter.com': '3nzoldnxplag42gqjs23xvghtzf6t6yzssrtytnntc6ppc7xxuoneoad.onion'
|
||||||
|
|
|
@ -39,9 +39,9 @@ riverctl default-layout rivertile
|
||||||
riverctl rule-add -title skmenu float
|
riverctl rule-add -title skmenu float
|
||||||
riverctl rule-add ssd
|
riverctl rule-add ssd
|
||||||
|
|
||||||
riverctl spawn 'dbus-run-session pipewire'
|
riverctl spawn 'sleep 3 && dbus-run-session pipewire'
|
||||||
riverctl spawn 'swayidle timeout 300 waylock timeout 300 "wlopm --off \*" resume "wlopm --on \*"'
|
riverctl spawn 'swayidle timeout 300 waylock timeout 300 "wlopm --off \*" resume "wlopm --on \*"'
|
||||||
riverctl spawn "wbg '$(find -L /data/pictures/background-source/ -type f | sort -R | head -1)'"
|
riverctl spawn "wbg -s '$(find -L /data/pictures/background-source/ -type f | sort -R | head -1)'"
|
||||||
riverctl spawn 'wlsunset -l 50.85 -L 4.35'
|
riverctl spawn 'wlsunset -l 50.85 -L 4.35'
|
||||||
|
|
||||||
rivertile -view-padding 0 -outer-padding 0 -main-ratio 0.7 &
|
rivertile -view-padding 0 -outer-padding 0 -main-ratio 0.7 &
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
/home/ninewise/.local/share/pipx/venvs/clirail/bin/clirail
|
/home/ninewise/.local/pipx/venvs/clirail/bin/clirail
|
|
@ -52,6 +52,7 @@ emoji
|
||||||
spotify-title
|
spotify-title
|
||||||
youtube-dl
|
youtube-dl
|
||||||
audio-dl
|
audio-dl
|
||||||
|
dictionary
|
||||||
HERE
|
HERE
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
@ -100,4 +101,7 @@ case "$choice" in
|
||||||
'spotify-title')
|
'spotify-title')
|
||||||
inject "$(curl -L "$(clip)" | sed -n 's@.*<title>\(.*\) - song \(and lyrics \)\?by \(.*\) | Spotify</title>.*@\1 _van_ \3@p')"
|
inject "$(curl -L "$(clip)" | sed -n 's@.*<title>\(.*\) - song \(and lyrics \)\?by \(.*\) | Spotify</title>.*@\1 _van_ \3@p')"
|
||||||
;;
|
;;
|
||||||
|
'dictionary')
|
||||||
|
inject "$(pick < /usr/share/dict/british-english)"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -2,7 +2,19 @@
|
||||||
if [ -z "$*" ]; then
|
if [ -z "$*" ]; then
|
||||||
exec munsubscribe .
|
exec munsubscribe .
|
||||||
else
|
else
|
||||||
|
for mail in $(mseq "$@"); do
|
||||||
|
if [ -n "$(mshow -qh X-GitLab-Issue-IID)" ]; then
|
||||||
|
# if it's a gitlab mail, unsubscribe using glab
|
||||||
|
glab issue unsubscribe "$(mshow "$mail" | sed -n 's/View it on GitLab: \(.*\)/\1/p')"
|
||||||
|
elif [ -n "$(mshow -qh X-GitLab-MergeRequest-IID)" ]; then
|
||||||
|
# if it's a gitlab mail, unsubscribe using glab
|
||||||
|
glab mr unsubscribe "$(mshow "$mail" | sed -n 's/View it on GitLab: \(.*\)/\1/p')"
|
||||||
|
else
|
||||||
|
# assume it's a list email
|
||||||
for url in $(mshow -qh list-unsubscribe "$@" | xurls -m http); do
|
for url in $(mshow -qh list-unsubscribe "$@" | xurls -m http); do
|
||||||
curl -L -w '%{http_code}' -s -o /dev/null "$url"
|
curl -L -w '%{http_code}' -s -o /dev/null "$url"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
|
@ -1,2 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
qutebrowser --temp-basedir "$@"
|
/usr/bin/qutebrowser --temp-basedir "$@" \
|
||||||
|
--set url.searchengines '{"DEFAULT": "https://srx.mellowchan.xyz?q={}"}' \
|
||||||
|
--set url.default_page 'https://srx.mellowchan.xyz' \
|
||||||
|
--set url.start_pages 'https://srx.mellowchan.xyz' \
|
||||||
|
--set downloads.location.directory '/tmp'
|
||||||
|
|
2
profile
2
profile
|
@ -15,7 +15,7 @@ export CABAL_HOME="/data/homes/cabal"
|
||||||
export STACK_ROOT="/data/homes/stack"
|
export STACK_ROOT="/data/homes/stack"
|
||||||
export CARGO_HOME="/data/homes/cargo"
|
export CARGO_HOME="/data/homes/cargo"
|
||||||
export RUSTUP_HOME="/data/homes/rustup"
|
export RUSTUP_HOME="/data/homes/rustup"
|
||||||
export JAVA_HOME="/usr/lib/jvm/openjdk17/"
|
export JAVA_HOME="/usr/lib/jvm/openjdk21/"
|
||||||
export TEX_BIN="/opt/texlive/2019/bin/x86_64-linux/"
|
export TEX_BIN="/opt/texlive/2019/bin/x86_64-linux/"
|
||||||
export PATH="$HOME/.local/bin:$CABAL_HOME/bin:$CARGO_HOME/bin:$JAVA_HOME/bin:$TEX_BIN:$PATH"
|
export PATH="$HOME/.local/bin:$CABAL_HOME/bin:$CARGO_HOME/bin:$JAVA_HOME/bin:$TEX_BIN:$PATH"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue