aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/BetterDiscord/data/stable/settings.json18
-rw-r--r--.config/BetterDiscord/data/stable/themes.json4
-rw-r--r--.config/BetterDiscord/themes/HorizontalServerList.theme.css20
-rw-r--r--.config/X11/base2
-rw-r--r--.config/clangd/config.yaml9
-rw-r--r--.config/coc/extensions/package.json12
-rw-r--r--.config/fcitx5/conf/imselector.conf11
l---------[-rw-r--r--].config/fzmp/conf4
-rw-r--r--.config/latexmk/latexmkrc5
-rw-r--r--.config/mpcplus/fzmp.conf3
-rw-r--r--.config/nvim/init.vim63
-rw-r--r--.config/picom.conf16
-rw-r--r--.local/share/applications/discord.desktop1
-rw-r--r--.local/share/applications/mozc-dictionary.desktop11
-rw-r--r--.local/share/applications/mozc-settings.desktop11
-rwxr-xr-x.local/share/bin/=18
-rwxr-xr-x.local/share/bin/ccpreview2
-rwxr-xr-x.local/share/bin/mk7
-rwxr-xr-x.local/share/bin/nginx-dev9
-rwxr-xr-x.local/share/bin/preview4
-rwxr-xr-x.local/share/bin/set-default32
-rwxr-xr-x.local/share/mode/switch.d/vim2
-rwxr-xr-x.local/share/pass-extensions/duplicates.bash13
-rwxr-xr-x.local/share/pass-extensions/g.bash2
-rw-r--r--.profile8
25 files changed, 203 insertions, 84 deletions
diff --git a/.config/BetterDiscord/data/stable/settings.json b/.config/BetterDiscord/data/stable/settings.json
index 42a2be1..eb9ab27 100644
--- a/.config/BetterDiscord/data/stable/settings.json
+++ b/.config/BetterDiscord/data/stable/settings.json
@@ -3,11 +3,19 @@
"voiceDisconnect": false,
"showToasts": true,
"mediaKeys": false,
- "bdContextMenu": true
+ "bdContextMenu": true,
+ "themeAttributes": true
},
"addons": {
"addonErrors": true,
- "editAction": "detached"
+ "editAction": "detached",
+ "checkForUpdates": true,
+ "updateInterval": 4
+ },
+ "store": {
+ "bdAddonStore": true,
+ "alwaysEnable": false,
+ "addonEmbeds": true
},
"customcss": {
"customcss": true,
@@ -25,7 +33,8 @@
"window": {
"transparency": false,
"removeMinimumSize": true,
- "frame": false
+ "frame": false,
+ "inAppTrafficLights": false
},
"developer": {
"debugLogs": false,
@@ -33,6 +42,7 @@
"debuggerHotkey": false,
"reactDevTools": false,
"inspectElement": false,
- "devToolsWarning": false
+ "devToolsWarning": false,
+ "recovery": true
}
} \ No newline at end of file
diff --git a/.config/BetterDiscord/data/stable/themes.json b/.config/BetterDiscord/data/stable/themes.json
index 3afcd03..419725e 100644
--- a/.config/BetterDiscord/data/stable/themes.json
+++ b/.config/BetterDiscord/data/stable/themes.json
@@ -1,5 +1,5 @@
{
"Horizontal Server List": true,
- "flat": true,
- "mode": true
+ "flat": false,
+ "mode": false
} \ No newline at end of file
diff --git a/.config/BetterDiscord/themes/HorizontalServerList.theme.css b/.config/BetterDiscord/themes/HorizontalServerList.theme.css
deleted file mode 100644
index 5b82210..0000000
--- a/.config/BetterDiscord/themes/HorizontalServerList.theme.css
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * @name Horizontal Server List
- * @author Gibbu#1211
- * @version 2.1.0
- * @invite ZHthyCw
- * @description Moves the server list from the left to the top of Discord. Compatible with Server Folders and most basic transparent themes
- * @source https://github.com/DiscordStyles/HorizontalServerList
- * @website https://www.gibbu.me
-*/
-
-@import url("https://discordstyles.github.io/HorizontalServerList/dist/HorizontalServerList.css");
-
-/* Bottom HorizontalServerList. Simply remove the comments surrounding the @import to enable it. */
-/* @import url("https://discordstyles.github.io/Addons/bottomhsl.css"); */
-
-:root {
- --HSL-server-icon-size: 40px; /* Size of the server icons | DEFAULT: 40px */
- --HSL-server-spacing: 10px; /* Spacing between each server icon | DEFAULT: 10px */
- --HSL-server-direction: column; /* Direct of the server list. | Options: column, column-reverse | DEFAULT: column */
-}
diff --git a/.config/X11/base b/.config/X11/base
index a556ed2..a538320 100644
--- a/.config/X11/base
+++ b/.config/X11/base
@@ -1,4 +1,4 @@
-*.font: JetBrainsMono Nerd Font:size=7.5:antialias=true:autohint=true
+*.font: monospace:size=7.5:antialias=true:autohint=true
*.borderpx: 10
*.termname: st-256color
*.tabspaces: 2
diff --git a/.config/clangd/config.yaml b/.config/clangd/config.yaml
new file mode 100644
index 0000000..f4fa3e0
--- /dev/null
+++ b/.config/clangd/config.yaml
@@ -0,0 +1,9 @@
+CompileFlags:
+ Add:
+ # ignore unknown (gcc) compiler flags
+ - -Wno-unknown-warning-option
+ - -Wno-gnu-folding-constant
+ Remove:
+ - -m*
+ - -f*
+
diff --git a/.config/coc/extensions/package.json b/.config/coc/extensions/package.json
index b055105..83449e0 100644
--- a/.config/coc/extensions/package.json
+++ b/.config/coc/extensions/package.json
@@ -2,20 +2,20 @@
"dependencies": {
"coc-css": ">=2.1.0",
"coc-emmet": ">=1.1.6",
- "coc-go": ">=1.3.33",
+ "coc-go": ">=1.3.35",
"coc-html": ">=1.8.0",
"coc-java": ">=1.15.2",
"coc-json": ">=1.9.2",
"coc-python": ">=1.2.13",
- "coc-rust-analyzer": ">=0.75.2",
- "coc-tsserver": ">=2.1.4",
+ "coc-rust-analyzer": ">=0.80.2",
+ "coc-tsserver": ">=2.2.0",
"coc-vimtex": ">=1.1.5",
"coc-lua": ">=2.0.6",
- "coc-deno": ">=3.13.0",
- "coc-sh": ">=1.2.2",
+ "coc-deno": ">=3.15.0",
+ "coc-sh": ">=1.2.4",
"coc-solargraph": ">=1.2.4"
},
"disabled": [],
"locked": [],
- "lastUpdate": 1737632010099
+ "lastUpdate": 1747831306039
} \ No newline at end of file
diff --git a/.config/fcitx5/conf/imselector.conf b/.config/fcitx5/conf/imselector.conf
index 87428a1..de02872 100644
--- a/.config/fcitx5/conf/imselector.conf
+++ b/.config/fcitx5/conf/imselector.conf
@@ -1,10 +1,13 @@
-# Trigger Key for only current input context
+# 現在の入力コンテキストのみのトリガーキー
TriggerKeyLocal=
-# Hotkey for switching to the N-th input method
-SwitchKey=
-# Hotkey for switching to the N-th input method for only current input context
+# 現在の入力コンテキストのみをN番目の入力メソッドに切り替えるホットキー
SwitchKeyLocal=
[TriggerKey]
0=Super+Z
+[SwitchKey]
+0=Launch5
+1=Launch6
+2=Launch7
+
diff --git a/.config/fzmp/conf b/.config/fzmp/conf
index 22439c3..a51f36d 100644..120000
--- a/.config/fzmp/conf
+++ b/.config/fzmp/conf
@@ -1,3 +1 @@
-default_view songs
-full_song_format [[[%artist% - %album% / ][%title%]]|%file%]
-fzf_options --ignore-case
+../mpcplus/fzmp.conf \ No newline at end of file
diff --git a/.config/latexmk/latexmkrc b/.config/latexmk/latexmkrc
index ad6c178..6d6ec09 100644
--- a/.config/latexmk/latexmkrc
+++ b/.config/latexmk/latexmkrc
@@ -1,4 +1 @@
-$pdflatex = "xelatex %O %S";
-$pdf_mode = 1;
-$dvi_mode = 0;
-$postscript_mode = 0;
+$pdf_previewer = "fork xdg-open %O %S";
diff --git a/.config/mpcplus/fzmp.conf b/.config/mpcplus/fzmp.conf
new file mode 100644
index 0000000..22439c3
--- /dev/null
+++ b/.config/mpcplus/fzmp.conf
@@ -0,0 +1,3 @@
+default_view songs
+full_song_format [[[%artist% - %album% / ][%title%]]|%file%]
+fzf_options --ignore-case
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index dac1f01..03150b5 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -19,13 +19,14 @@ set linebreak " set wrap but don't wrap inside words
set viminfo+='1000,n~/.local/nvim/viminfo
set guifont=JetBrainsMono\ Nerd\ Font:h9:#e-subpixelantialias:#h-slight
set linespace=5
+set tabpagemax=999
let g:sneak#label = 1
let g:which_key_map = {}
let g:airline_powerline_fonts = 1
let g:minimap_highlight='Visual'
let g:python3_host_prog='/usr/bin/python3'
-let g:vimtex_quickfix_open_on_warning = 0
-let g:vimtex_imaps_enabled = 0
+let g:DiffColors = 0
+let g:AutoPairsMultilineClose = 0
if exists("g:neovide")
nmap <silent> <C-=> :lua vim.g.neovide_scale_factor = vim.g.neovide_scale_factor + 0.1<CR>
@@ -63,6 +64,7 @@ Plug 'wellle/targets.vim'
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
Plug 'dkarter/bullets.vim'
Plug 'editorconfig/editorconfig-vim'
+Plug 'rickhowe/diffunitsyntax'
" language plugins
Plug 'lervag/vimtex'
@@ -88,16 +90,16 @@ Plug 'arzg/vim-colors-xcode'
Plug 'romgrk/github-light.vim'
Plug 'vv9k/vim-github-dark'
Plug 'rose-pine/neovim'
+
+Plug '~/.config/nvim/local/coc-markdown-links'
call plug#end()
" keybinds
tnoremap <Esc> <C-\><C-n>
-
nnoremap tt :tabnew<CR>
-
-nmap <CR> o<Esc>
-nmap <leader>qf <Plug>(coc-fix-current)
-
+nnoremap <CR> o<Esc>
+nnoremap <leader>qf <Plug>(coc-fix-current)
+nnoremap <silent> * yiw:let @/='\<<C-R>=expand("<cword>")<CR>\>'<CR>:set hls<CR>
nnoremap <silent> <A-j> :m +1<CR>
nnoremap <silent> <A-k> :m -2<CR>
@@ -187,10 +189,20 @@ let g:which_key_map['.'] = {
map <silent> <leader>u :UndotreeToggle<cr>
let g:which_key_map.u = 'toggle undo tree'
+nnoremap <silent> <leader>e 0f!xC<c-r>=system(@-)<cr><esc>dd
+let g:which_key_map.e = 'read and execute after !'
+
" cmd maps
cnoreabbrev W w
cnoreabbrev sudow w !sudo tee %
+" emacs bindings in vim command-line
+cnoremap <A-b> <S-Left>
+cnoremap <A-f> <S-Right>
+cnoremap <C-a> <Home>
+cnoremap <C-e> <End>
+cnoremap <A-backspace> <C-w>
+
" hexokinase
let g:Hexokinase_termDisabled = 1
let g:Hexokinase_optOutPatterns = [ 'colour_names' ]
@@ -234,27 +246,15 @@ call lightline#init()
" vimtex config
let g:tex_flavor = 'latex'
-let g:vimtex_compiler_latexmk = {
- \ 'backend' : 'nvim',
- \ 'background' : 1,
- \ 'build_dir' : '',
- \ 'callback' : 1,
- \ 'continuous' : 1,
- \ 'executable' : 'latexmk',
- \ 'engine' : 'xelatex',
- \ 'hooks' : [],
- \ 'options' : [
- \ '-xelatex',
- \ '-file-line-error',
- \ '-synctex=1',
- \ '-interaction=nonstopmode',
- \ ],
- \}
+let g:vimtex_quickfix_open_on_warning = 0
+let g:vimtex_imaps_enabled = 0
+let g:vimtex_compiler_method = 'latexmk'
+let g:vimtex_compiler_latexmk_engines = { '_': '' }
" TeX quotes
autocmd FileType tex let b:surround_{char2nr("q")} = "`\r'"
autocmd FileType tex let b:surround_{char2nr('Q')} = "``\r''"
-autocmd FileType tex let b:AutoPairs = AutoPairsDefine({'(':')', '[':']', '{':'}', "``":"''", "`":"'", '$':'$', '"':'"'})
+autocmd FileType tex let b:AutoPairs = {'(':')', '[':']', '{':'}', "``":"''", "`":"'", '$':'$', '"':'"'}
" AutoPairs for plantuml
autocmd FileType plantuml let b:AutoPairs = {'(':')', '[':']', '{':'}', '`':'`'}
@@ -348,6 +348,19 @@ augroup Binary
au BufWritePost *.bin set noeol
augroup END
+" highlight Zephyr .overlay files as devicetree source (dts)
+augroup devicetree_ft
+ au!
+ au BufRead,BufNewFile *.overlay set syntax=dts
+ au BufRead,BufNewFile *.dtsi set syntax=dts
+augroup END
+
+augroup BibLaTeX
+ " add allowed characters in biblatex labels to word delimiters
+ autocmd!
+ autocmd FileType bib setlocal iskeyword+=:,-
+augroup END
+
" sneak
let g:sneak#use_ic_scs = 0
@@ -358,3 +371,5 @@ autocmd InsertLeave * call system("fcitx5-temp-off &")
" colorscheme
source $XDG_CONFIG_HOME/nvim/mode.vim
+set exrc
+set secure
diff --git a/.config/picom.conf b/.config/picom.conf
index f88a591..30e2693 100644
--- a/.config/picom.conf
+++ b/.config/picom.conf
@@ -53,9 +53,23 @@ rules = (
match = "window_type *= 'dock'";
shadow = false;
corner-radius = 0;
+ animations = (
+ {
+ triggers = [ "open" ];
+ preset = "slide-in";
+ direction = "up";
+ duration = 0.175;
+ },
+ {
+ triggers = [ "close" ];
+ preset = "slide-out";
+ direction = "up";
+ duration = 0.175;
+ },
+ );
},
{
- match = "window_type *= 'popup_menu'";
+ match = "window_type *= 'combo'";
shadow = true;
corner-radius = 10;
},
diff --git a/.local/share/applications/discord.desktop b/.local/share/applications/discord.desktop
index 676b330..403a457 100644
--- a/.local/share/applications/discord.desktop
+++ b/.local/share/applications/discord.desktop
@@ -7,3 +7,4 @@ Exec=discord
Icon=discord
Type=Application
Categories=Network;InstantMessaging;
+MimeType=x-scheme-handler/betterdiscord;
diff --git a/.local/share/applications/mozc-dictionary.desktop b/.local/share/applications/mozc-dictionary.desktop
new file mode 100644
index 0000000..c4f6193
--- /dev/null
+++ b/.local/share/applications/mozc-dictionary.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Mozc dictionary tool
+Name[ja]=Mozc 辞書ツール
+Name[nl]=Mozc woordenboekhulpprogramma
+GenericName[ja]=日本語入力の辞書ツール
+GenericName[nl]=Hulpprogramma voor woordenboek van Japanse invoer
+GenericName=Japanese input method dictionary tool
+Exec=/usr/lib/mozc/mozc_tool --mode=dictionary_tool
+Icon=mozc
+Type=Application
+Categories=Settings;
diff --git a/.local/share/applications/mozc-settings.desktop b/.local/share/applications/mozc-settings.desktop
new file mode 100644
index 0000000..bcfde2d
--- /dev/null
+++ b/.local/share/applications/mozc-settings.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Mozc settings
+Name[ja]=Mozc プロパティ
+Name[nl]=Mozc instellingen
+GenericName[ja]=日本語入力の設定
+GenericName[nl]=Instellingen voor Japanse invoermethode
+GenericName=Japanese IME configuration
+Exec=/usr/lib/mozc/mozc_tool --mode=config_dialog
+Icon=mozc
+Type=Application
+Categories=Settings;
diff --git a/.local/share/bin/= b/.local/share/bin/=
index 59b9b45..dd8ba6c 100755
--- a/.local/share/bin/=
+++ b/.local/share/bin/=
@@ -1,2 +1,16 @@
-#!/bin/sh
-python3 -c "from math import *; deg = pi / 180; print($*)"
+#!/bin/python3 --
+from sys import argv as _argv
+
+from math import *
+deg = pi / 180
+
+MIN = min
+MAX = max
+BIT = lambda n: 1 << n
+GENMASK = lambda h, l: (BIT(MAX(h, l) + 1) - 1) ^ (BIT(MIN(h, l)) - 1)
+
+try:
+ print(eval(" ".join(_argv[1:])))
+except:
+ exit(1)
+
diff --git a/.local/share/bin/ccpreview b/.local/share/bin/ccpreview
index 914a6ad..9f13acc 100755
--- a/.local/share/bin/ccpreview
+++ b/.local/share/bin/ccpreview
@@ -55,6 +55,7 @@ _mpv \
--interpolation=no \
--stream-buffer-size=4k \
--profile=low-latency \
+ --speed=1.001 \
"$AUDIO_URL"
# video preview
@@ -65,6 +66,7 @@ _mpv \
--demuxer-lavf-o-add=framerate="$FRAMERATE" \
--demuxer-lavf-o-add=resolution="$RESOLUTION" \
--demuxer-lavf-o-add=rw_timeout=30000000 \
+ --speed=1.05 \
"$VIDEO_URL"
sleep infinity
diff --git a/.local/share/bin/mk b/.local/share/bin/mk
index ab0f586..b7e2b41 100755
--- a/.local/share/bin/mk
+++ b/.local/share/bin/mk
@@ -6,6 +6,13 @@ showmode() {
printf '\e[1A\e['$col'G\e[1;30m%s\e[0m\n' "$mode"
}
+mode_west() {
+ showmode 'west'
+ [ -z "$*" ] && set -- build
+ exec west "$@"
+}
+[ -e "west.yml" ] && mode_west "$@"
+
mode_cmake() {
showmode 'cmake'
builddir="build"
diff --git a/.local/share/bin/nginx-dev b/.local/share/bin/nginx-dev
index 4e9825d..40e73ad 100755
--- a/.local/share/bin/nginx-dev
+++ b/.local/share/bin/nginx-dev
@@ -4,6 +4,8 @@ port=8080
try_files='/$uri /$uri.html /$uri/index.html =404'
access_log='/dev/stdout'
cache_control='
+ proxy_store off;
+ proxy_cache off;
add_header Last-Modified $date_gmt;
add_header Cache-Control "private no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
if_modified_since off;
@@ -21,21 +23,23 @@ options:
-C enable server cache (disabled by default)
-v verbose mode (prints config before starting server)
-q quiet mode (disable access_log)
+ -x automatically open a browser
-h show this help
EOF
exit $1
}
ARGC=0
-while getopts hvp:Ct:q OPT; do
+while getopts hvp:Ct:qx OPT; do
[ $OPTIND -gt $ARGC ] && ARGC=$OPTIND
case $OPT in
h) usage 0 ;;
p) port="$OPTARG" ;;
t) try_files="$OPTARG" ;;
v) print_config=1 ;;
- C) cache_control="" ;;
+ C) cache_control='' ;;
q) access_log="/dev/null" ;;
+ x) open_browser=1 ;;
\?|*) usage 1 ;;
esac
done
@@ -76,6 +80,7 @@ http {
}
EOF
[ $print_config ] && cat "$config"
+[ $open_browser ] && (xdg-open "http://localhost:$port" 1> /dev/null 2> /dev/null &)
nginx -c "$config"
rm -f "$config" "$pidfile"
diff --git a/.local/share/bin/preview b/.local/share/bin/preview
index 2fe9c4d..141d03c 100755
--- a/.local/share/bin/preview
+++ b/.local/share/bin/preview
@@ -12,6 +12,7 @@ MIMETYPE="$(file --mime-type -Lb "$FILE")"
EXT="${FILE#*.}"
[ "$EXT" = "md" ] && [ "$MIMETYPE" = "text/plain" ] && MIMETYPE="application/markdown"
+[ "$MIMETYPE" = "application/javascript" ] && MIMETYPE="text/javascript"
render_manpage() {
exec groff -T utf8 -m man -rcR=1 -rIN=0 -rLL="${WIDTH}n" << EOF
@@ -49,6 +50,9 @@ case "$MIMETYPE" in
application/markdown)
pandoc --from=gfm --to=man "$FILE" | render_manpage
;;
+ application/json)
+ jq --color-output . "$FILE"
+ ;;
*)
echo "$MIMETYPE"
file -b "$FILE" | fold --width="$WIDTH" --spaces
diff --git a/.local/share/bin/set-default b/.local/share/bin/set-default
new file mode 100755
index 0000000..d93f65c
--- /dev/null
+++ b/.local/share/bin/set-default
@@ -0,0 +1,32 @@
+#!/bin/sh
+SCRIPT_NAME="$(basename "$0")"
+
+usage() {
+ code=0
+ if [ -z "$1" ] ; then
+ cat << EOF
+Set desktop entry ENTRY as default application for opening files with the same
+type as FILE
+
+EOF
+ else
+ echo "error: $1" >&2
+ code=1
+ fi
+ cat << EOF
+usage:
+ $SCRIPT_NAME ENTRY FILE [FILE]
+EOF
+ exit $code
+}
+
+[ $# -eq 0 ] && usage
+DESKTOP_ENTRY="$1"; shift
+[ -z "$DESKTOP_ENTRY" ] && usage "no desktop entry"
+[ $# -lt 1 ] && usage "no reference file(s)"
+
+for file in "$@" ; do
+ mimetype="$(xdg-mime query filetype "$file")"
+ xdg-mime default "$DESKTOP_ENTRY" "$mimetype"
+done
+
diff --git a/.local/share/mode/switch.d/vim b/.local/share/mode/switch.d/vim
index 7c2bbf6..cb5a651 100755
--- a/.local/share/mode/switch.d/vim
+++ b/.local/share/mode/switch.d/vim
@@ -13,7 +13,7 @@ let s:test = [ '#ff00ff', 'NONE' ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:fg, s:mode ], [ s:faint, s:bg ] ]
let s:p.normal.right = [ [ s:faint, s:bg ] ]
-let s:p.normal.middle = [ [ s:none, s:none ] ]
+let s:p.normal.middle = [ [ s:bg, s:bg ] ]
let s:p.normal.error = [ [ s:test, s:test ] ]
let s:p.normal.warning = [ [ s:test, s:test ] ]
let s:p.inactive.left = copy(s:p.normal.left)
diff --git a/.local/share/pass-extensions/duplicates.bash b/.local/share/pass-extensions/duplicates.bash
index cb1cbbc..3ba47aa 100755
--- a/.local/share/pass-extensions/duplicates.bash
+++ b/.local/share/pass-extensions/duplicates.bash
@@ -5,21 +5,18 @@ pass_names="$(pass names -l)"
[ $? -ne 0 ] && exit 1
pass_count="$(echo "$pass_names" | wc -l)"
-if [ "$pass_count" -gt 10 ] ; then
- cat << EOF >&2
-pass-duplicates needs to decrypt all your passwords one-by-one to cross-match
-them. This is all done in-memory, and nothing is saved to disk. You appear to
-have $pass_count passwords, so this may take some time...
-
-EOF
-fi
+pass_index=1
while read pass_name ; do
hash="$(pass show "$pass_name" | head -n1 | sha1sum | cut -c1-40)"
dupe_map["$pass_name"]="$hash"
dupe_tally["$hash"]=$(( ${dupe_tally["$hash"]} + 1 ))
+
+ printf '\rhashing... (%d/%d)' "$pass_index" "$pass_count" >&2
+ pass_index=$(( $pass_index + 1 ))
done < <(echo "$pass_names")
+printf '\r\e[2K' >&2
unique_duplicates=0
total_shared=0
diff --git a/.local/share/pass-extensions/g.bash b/.local/share/pass-extensions/g.bash
new file mode 100755
index 0000000..4ab3ace
--- /dev/null
+++ b/.local/share/pass-extensions/g.bash
@@ -0,0 +1,2 @@
+#!/bin/bash
+exec pass git "$@"
diff --git a/.profile b/.profile
index 2ed201d..9af7722 100644
--- a/.profile
+++ b/.profile
@@ -42,9 +42,8 @@ export GEM_HOME="$XDG_DATA_HOME/gem/ruby/3.0.0"
# script locations
if [ -z "$PATH_EXTENDED" ] ; then
+ PATH="/opt/zephyr-sdk/arm-zephyr-eabi/bin:$PATH"
PATH="$GEM_HOME/bin:$PATH"
- # PATH="$HOME/.lyp/bin:$PATH"
- # PATH="/opt/f4pga/xc7/conda/bin:$PATH"
PATH="$HOME/.local/share/cargo/bin:$PATH"
PATH="$HOME/.local/go/bin:$PATH"
PATH="$HOME/.local/bin:$PATH"
@@ -62,6 +61,8 @@ export GOPATH="$HOME/.local/go"
[ -e "$XDG_CONFIG_HOME/gtk-4.0/env" ] && . "$XDG_CONFIG_HOME/gtk-4.0/env"
export PASSWORD_STORE_ENABLE_EXTENSIONS=true
export PASSWORD_STORE_EXTENSIONS_DIR="$XDG_DATA_HOME/pass-extensions"
+export MOZ_USE_XINPUT2=1
+export CMAKE_EXPORT_COMPILE_COMMANDS=1
# LS_COLORS
[ ! -e "$XDG_CACHE_HOME/dircolors" ] || [ "$XDG_CONFIG_HOME/dircolors" -nt "$XDG_CACHE_HOME/dircolors" ] && dircolors "$XDG_CONFIG_HOME/dircolors" > "$XDG_CACHE_HOME/dircolors"
@@ -86,6 +87,9 @@ alias nvidia-settings='nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/setting
alias gpg2="gpg2 --homedir $XDG_DATA_HOME/gnupg"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
+export TEXMFHOME="$XDG_DATA_HOME/texmf"
+export TEXMFVAR="$XDG_CACHE_HOME/texlive/texmf-var"
+export TEXMFCONFIG="$XDG_CONFIG_HOME/texlive/texmf-config"
# disable dotnet telemetry
export DOTNET_CLI_TELEMETRY_OPTOUT=1