creton32 3 months ago
parent
commit
80498f174a
  1. 1
      README.md
  2. 2
      bin/.local/bin/ro
  3. 8
      browser/.config/tridactyl/scripts/requests.js
  4. BIN
      browser/.mozilla/firefox/profile/extensions/CookieAutoDelete@kennydo.com.xpi
  5. BIN
      chat/.config/weechat/weechat.conf
  6. 2
      mail/.config/mutt/muttrc
  7. BIN
      reader/.config/newsboat/urls
  8. 2
      term/.config/zsh/settings/fzf
  9. 4
      up
  10. 7
      video/.config/mpv/input.conf
  11. 2
      video/.config/straw-viewer/straw-viewer.conf

1
README.md

@ -87,7 +87,6 @@ Overall, I'm very pleased with it, but in the near future I'd like to migrate so
+ [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter): [tree-sitter](https://github.com/tree-sitter/tree-sitter) integration in `nvim` for syntax highlighting, indentation, folding and more.
+ [emmet-vim](https://github.com/mattn/emmet-vim): provide emmet-like expansions
+ [fzf.vim](https://github.com/junegunn/fzf.vim): fzf vim integration
+ [goyo.vim](https://github.com/junegunn/goyo.vim): distraction-free writing. My use case is email composing in NeoMutt.
+ [bullets.vim](https://github.com/dkarter/bullets.vim): manage bullet lists with custom keybindings.
+ [vim-pandoc-syntax](https://github.com/vim-pandoc/vim-pandoc-syntax): provide markdown syntax highlighting and concealing independently of [vim-pandoc](https://github.com/vim-pandoc/vim-pandoc).
+ [vim-surround](https://github.com/tpope/vim-surround): easily edit surrounding punctuation pairs such as parenthesis, markup tags, and more.

2
bin/.local/bin/ro

@ -138,7 +138,7 @@ power_menu() {
playerctl pause
[ -x "$(command -v lk)" ] && lk
;;
$suspend) zzz ;;
$suspend) doas zzz ;;
$logout) bspc quit ;;
esac
}

8
browser/.config/tridactyl/scripts/requests.js

@ -4,9 +4,9 @@ const services = [
originalUrls: [
'https://www.youtube.com/*',
'https://tube.cadence.moe/watch?v=*',
'https://invidiou.site/watch?v=*'
'https://invidious.snopyta.org/watch?v=*'
],
alternativeHostname: 'invidiou.site'
alternativeHostname: 'invidious.snopyta.org'
},
{
name: 'SoundCloud',
@ -16,7 +16,7 @@ const services = [
{
name: 'Instagram',
originalUrls: [ 'https://www.instagram.com/*' ],
alternativeHostname: 'bibliogram.art'
alternativeHostname: 'bibliogram.art',
},
{
name: 'Twitter',
@ -33,7 +33,7 @@ const services = [
// Process requests asynchronously
const webListener = (details, service) => {
let url = new URL(details.url)
url.hostname = service.alternativeHostname
if (url.hostname) url.hostname = service.alternativeHostname
const asyncRedirect = new Promise(resolve => {
if (service.name === 'Instagram' && !url.pathname.includes('/p')) {
url.pathname = '/u' + url.pathname

BIN
browser/.mozilla/firefox/profile/extensions/CookieAutoDelete@kennydo.com.xpi

Binary file not shown.

BIN
chat/.config/weechat/weechat.conf

Binary file not shown.

2
mail/.config/mutt/muttrc

@ -44,7 +44,7 @@ unset beep_new
# Mailcap file location
set mailcap_path="~/.config/mutt/mailcap"
# Use nvim but don't force text width
set editor = "nvim +':set textwidth=0' '+normal G$' +startinsert +Goyo"
set editor = "nvim +':set textwidth=0' '+normal G$' +startinsert"
# Show headers when composing
set edit_headers
# Include messages in replies

BIN
reader/.config/newsboat/urls

Binary file not shown.

2
term/.config/zsh/settings/fzf

@ -9,7 +9,7 @@ fzf-file() {
--preview 'bat --style="auto" --color=always {}')"
if [ -f "$file" ]; then
cd "$(dirname $file)"
nvim -- $file
nvim $file
echo -ne '\e[5 q'
zle && zle reset-prompt
else return

4
up

@ -99,6 +99,7 @@ do_up() {
# Unlock gpg/ssh keys on login
keys() {
doas cat <<EOF >> /etc/pam.d/system-local-login
auth required pam_env.so user_readenv=1
auth optional pam_gnup.so
session optional pam_gnupg.so
EOF
@ -174,7 +175,7 @@ sv() {
chronyd docker sshd wpa_supplicant \
mpd dbus dhcpcd elogind acpid crond cronie \
bluetoothd bluez-alsa socklog-unix \
nanoklogd sndiod ; do
nanoklogd sndiod transmission-daemon; do
doas ln -s /etc/sv/"$service" /var/service
done
@ -210,6 +211,7 @@ perm() {
permit nopass $USER cmd wg
permit nopass $USER cmd find
permit nopass $USER cmd sv
permit nopass $USER cmd zzz
" | doas tee -a /etc/doas.conf
}

7
video/.config/mpv/input.conf

@ -18,8 +18,11 @@ Shift+p add chapter -1
# Enable the console
: script-binding console/enable
# Copy the url to clipboard
y run "/bin/sh" "-c" "printf ${filename} | xclip -selection clipboard"
# Copy the URI path to clipboard
Y run "/bin/sh" "-c" "printf ${filename} | xclip -se c"
# Copy the full URI to clipboard
y run "/bin/sh" "-c" "printf ${path} | xclip -se c"
# Display video comments
c run "/bin/sh" "-c" "term 'straw-viewer --comments=${path} --page=1 | bat --style=plain --paging=always'"

2
video/.config/straw-viewer/straw-viewer.conf

@ -3,7 +3,7 @@
# CLI Straw Viewer 0.1.0 - configuration file
our $CONFIG = {
api_host => "tube.connect.cafe",
api_host => "invidious.snopyta.org",
auto_captions => 0,
autoplay_mode => 0,
cache_dir => "$ENV{HOME}/.cache/straw-viewer",

Loading…
Cancel
Save