aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/BetterDiscord/data/stable/themes.json4
-rw-r--r--.config/BetterDiscord/themes/HorizontalServerList.theme.css20
-rw-r--r--.config/coc/extensions/package.json2
-rw-r--r--.config/latexmk/latexmkrc5
-rw-r--r--.config/nvim/init.vim34
-rw-r--r--.config/picom.conf14
-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
-rw-r--r--.profile8
10 files changed, 76 insertions, 51 deletions
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/coc/extensions/package.json b/.config/coc/extensions/package.json
index d540984..83449e0 100644
--- a/.config/coc/extensions/package.json
+++ b/.config/coc/extensions/package.json
@@ -17,5 +17,5 @@
},
"disabled": [],
"locked": [],
- "lastUpdate": 1743837108306
+ "lastUpdate": 1747831306039
} \ 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/nvim/init.vim b/.config/nvim/init.vim
index d702226..03150b5 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -25,9 +25,8 @@ 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>
@@ -97,7 +96,6 @@ call plug#end()
" keybinds
tnoremap <Esc> <C-\><C-n>
-
nnoremap tt :tabnew<CR>
nnoremap <CR> o<Esc>
nnoremap <leader>qf <Plug>(coc-fix-current)
@@ -248,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 = {'(':')', '[':']', '{':'}', '`':'`'}
@@ -369,6 +355,12 @@ augroup devicetree_ft
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
@@ -379,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 111ad71..30e2693 100644
--- a/.config/picom.conf
+++ b/.config/picom.conf
@@ -53,6 +53,20 @@ 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 *= 'combo'";
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/.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