aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-08-14 18:25:40 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2025-08-14 18:25:40 +0200
commit3d4a2eb7dde2339697f6a5700c6017c6faf16b86 (patch)
treec25110661f31a65784644195153bb832e31ec01a
parent0aca42eb19927a5564a462995d9a1907d63318fd (diff)
update 2025-08-14
-rw-r--r--.config/fcitx5/config2
-rw-r--r--.config/firefox/chrome/userChrome.css9
-rw-r--r--.config/firefox/user.js1
-rw-r--r--.config/git/config##template4
-rw-r--r--.config/mozc/user_dictionary.dbbin315 -> 486 bytes
-rw-r--r--.config/ncmpcpp/config##template1
-rw-r--r--.config/nvim/init.vim9
-rw-r--r--.config/zathura/zathurarc9
-rwxr-xr-x.local/share/bin/labels2lrc22
-rwxr-xr-x.local/share/bin/lrc2labels6
-rwxr-xr-x.local/share/mode/switch.d/chromium4
11 files changed, 43 insertions, 24 deletions
diff --git a/.config/fcitx5/config b/.config/fcitx5/config
index 3ae8195..12e7a48 100644
--- a/.config/fcitx5/config
+++ b/.config/fcitx5/config
@@ -25,6 +25,8 @@ PrevPage=
NextPage=
# 埋め込みプリエディットの切り替え
TogglePreedit=
+# 修飾キーのショートカットをトリガーするための時間制限(ミリ秒)
+ModifierOnlyKeyTimeout=250
[Hotkey/PrevCandidate]
0=Shift+Tab
diff --git a/.config/firefox/chrome/userChrome.css b/.config/firefox/chrome/userChrome.css
index 233a1ba..b6c58f8 100644
--- a/.config/firefox/chrome/userChrome.css
+++ b/.config/firefox/chrome/userChrome.css
@@ -13,9 +13,12 @@
/* make shit compact */
body { font-size: 10pt; }
-.tab-background {
- min-height: unset !important;
- margin-block: 0 !important;
+.tab-background { margin-block: 0 !important; }
+#TabsToolbar { --toolbarbutton-inner-padding: 8px; }
+:root { --tab-min-height: 24px !important; }
+.tab-label-container {
+ height: unset !important;
+ margin-right: var(--toolbarbutton-inner-padding);
}
.tabbrowser-tab
diff --git a/.config/firefox/user.js b/.config/firefox/user.js
index 778631e..23adc29 100644
--- a/.config/firefox/user.js
+++ b/.config/firefox/user.js
@@ -5,6 +5,7 @@ user_pref("media.videocontrols.picture-in-picture.video-toggle.enabled", false);
user_pref("intl.regional_prefs.use_os_locales", true);
user_pref("layout.spellcheckDefault", 0);
user_pref("browser.safebrowsing.downloads.enabled", false);
+user_pref("browser.translations.automaticallyPopup", false);
// privacy
user_pref("signon.rememberSignons", false);
diff --git a/.config/git/config##template b/.config/git/config##template
index edae109..8f34c5d 100644
--- a/.config/git/config##template
+++ b/.config/git/config##template
@@ -33,3 +33,7 @@
l = log
d = diff
cloc = !git ls-files -z | xargs -0 cloc
+[pager]
+ log = diff-highlight | less
+ show = diff-highlight | less
+ diff = diff-highlight | less
diff --git a/.config/mozc/user_dictionary.db b/.config/mozc/user_dictionary.db
index 644c695..9147808 100644
--- a/.config/mozc/user_dictionary.db
+++ b/.config/mozc/user_dictionary.db
Binary files differ
diff --git a/.config/ncmpcpp/config##template b/.config/ncmpcpp/config##template
index e38258f..12ddec6 100644
--- a/.config/ncmpcpp/config##template
+++ b/.config/ncmpcpp/config##template
@@ -12,6 +12,7 @@ lyrics_directory = "{{ env.XDG_CACHE_HOME }}/lyrics"
progressbar_look = "───"
progressbar_color = black
progressbar_elapsed_color = default
+visualizer_color = default
playlist_display_mode = classic
autocenter_mode = yes
centered_cursor = yes
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 03150b5..23af7e0 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -20,6 +20,9 @@ set viminfo+='1000,n~/.local/nvim/viminfo
set guifont=JetBrainsMono\ Nerd\ Font:h9:#e-subpixelantialias:#h-slight
set linespace=5
set tabpagemax=999
+set breakindent
+set breakindentopt=shift:2
+set formatoptions+=mM
let g:sneak#label = 1
let g:which_key_map = {}
let g:airline_powerline_fonts = 1
@@ -27,6 +30,7 @@ let g:minimap_highlight='Visual'
let g:python3_host_prog='/usr/bin/python3'
let g:DiffColors = 0
let g:AutoPairsMultilineClose = 0
+filetype plugin on
if exists("g:neovide")
nmap <silent> <C-=> :lua vim.g.neovide_scale_factor = vim.g.neovide_scale_factor + 0.1<CR>
@@ -84,12 +88,13 @@ Plug 'aklt/plantuml-syntax'
Plug 'fymyte/rasi.vim'
Plug 'habamax/vim-asciidoctor'
Plug 'lonkaars/coc-khard'
+Plug 'sile-typesetter/vim-sile'
" themes
Plug 'arzg/vim-colors-xcode'
Plug 'romgrk/github-light.vim'
Plug 'vv9k/vim-github-dark'
-Plug 'rose-pine/neovim'
+Plug 'rose-pine/neovim', {'as': 'rose-pine'}
Plug '~/.config/nvim/local/coc-markdown-links'
call plug#end()
@@ -371,5 +376,7 @@ autocmd InsertLeave * call system("fcitx5-temp-off &")
" colorscheme
source $XDG_CONFIG_HOME/nvim/mode.vim
+" use .exrc files
set exrc
set secure
+
diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc
index ff927ca..89ae535 100644
--- a/.config/zathura/zathurarc
+++ b/.config/zathura/zathurarc
@@ -1,15 +1,16 @@
-set scroll-page-aware "true"
+set scroll-page-aware true
set scroll-full-overlap 0.01
set scroll-step 100
set selection-clipboard clipboard
# recolor (dark mode)
map <C-i> recolor
-set recolor "true"
+set recolor true
-set recolor-reverse-video "true"
-set recolor-keephue "true"
+set recolor-reverse-video true
+set recolor-keephue true
set guioptions ""
+set show-recent false
include ./colors
diff --git a/.local/share/bin/labels2lrc b/.local/share/bin/labels2lrc
index 1491dae..38630c1 100755
--- a/.local/share/bin/labels2lrc
+++ b/.local/share/bin/labels2lrc
@@ -1,13 +1,17 @@
-#!/bin/sh
-cat "$@" |\
- awk '
+#!/bin/gawk -f
BEGIN { FS = "\t" }
{
- seconds = $1
- minutes = int(seconds / 60)
- seconds = seconds % 60
- millis = (seconds * 100) % 100
+ time = $1
+ time = gensub(/([0-9]+)\.([0-9]{,2})([0-9]*)/, "\\1\\2.\\3", "g", time)
+ time = int(time + 0.5)
+
+ millis = time % 100
+ time = int(time / 100)
+
+ seconds = time % 60
+ time = int(time / 60)
+
+ minutes = time % 100
+
printf("[%02d:%02d.%02d]%s\n", minutes, seconds, millis, $3)
}
-'
-
diff --git a/.local/share/bin/lrc2labels b/.local/share/bin/lrc2labels
index 31aa4be..a23b299 100755
--- a/.local/share/bin/lrc2labels
+++ b/.local/share/bin/lrc2labels
@@ -1,11 +1,7 @@
-#!/bin/sh
-cat "$@" |\
- gawk '
+#!/bin/gawk -f
match($0, /^\[([0-9]{2}):([0-9]{2}\.[0-9]{2})\](.*)/, group) {
time = group[1] * 60 + group[2]
lyric = group[3]
printf("%.2f\t%.2f\t%s\n", time, time, lyric)
}
-'
-
diff --git a/.local/share/mode/switch.d/chromium b/.local/share/mode/switch.d/chromium
index fb701a5..7762086 100755
--- a/.local/share/mode/switch.d/chromium
+++ b/.local/share/mode/switch.d/chromium
@@ -4,8 +4,8 @@ mkcd "$XDG_CACHE_HOME/mode/chromium"
rm -f 'Cached Theme.pak'
magick -size 100x100 "xc:$bg" 'bg.png'
-bg_alt=$(mix_rgb $color7 $bg 0.20)
-fg_alt=$(mix_rgb $color15 $fg 0.60)
+bg_alt=$(mix_rgb $bg $color0 0.65)
+fg_alt=$(mix_rgb $fg $color15 0.35)
bg="$(hex_to_rgb_array "$bg")"
fg="$(hex_to_rgb_array "$fg")"
bg_alt="$(hex_to_rgb_array "$bg_alt")"