From de5b9c428dcfab9136fc765bddb0e931c833676f Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 19 Mar 2023 14:56:43 -0700 Subject: update jp input tools fcitx4->5, mozc handwriting->kanjidraw --- .config/herbstluftwm/autostart | 2 +- .config/herbstluftwm/kanjidraw.sh | 3 +++ .vimrc | 2 +- .xinitrc | 7 ++++++- .zprofile | 6 ------ 5 files changed, 11 insertions(+), 9 deletions(-) create mode 100755 .config/herbstluftwm/kanjidraw.sh diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index f0305c9..234eb2d 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -147,7 +147,7 @@ hc keybind Mod4-Return spawn alacritty hc keybind Mod4-Shift-f spawn firejail --netfilter=/etc/firejail/nolocal.net firefox hc keybind Mod4-Shift-g spawn gwaei hc keybind Mod4-Shift-i spawn gimp -hc keybind Mod4-Shift-m spawn ~/.config/herbstluftwm/mozc_tool --mode=hand_writing +hc keybind Mod4-Shift-m spawn ~/.config/herbstluftwm/kanjidraw.sh hc keybind Mod4-Shift-n spawn alacritty -t "notes" -e $EDITOR ~/notes hc keybind Mod4-Shift-o spawn ~/yolo/tor/start-tor-browser hc keybind Mod4-Shift-p spawn inkscape diff --git a/.config/herbstluftwm/kanjidraw.sh b/.config/herbstluftwm/kanjidraw.sh new file mode 100755 index 0000000..6281c8d --- /dev/null +++ b/.config/herbstluftwm/kanjidraw.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +~/.local/bin/kanjidraw -osd | xargs xdotool type --delay 250 diff --git a/.vimrc b/.vimrc index 822a005..cdec7ba 100644 --- a/.vimrc +++ b/.vimrc @@ -37,7 +37,7 @@ Plug 'https://git.airen-no-jikken.icu/ageha/vim-easytags.git' Plug 'tommcdo/vim-exchange' -Plug 'lilydjwg/fcitx.vim', { 'branch': 'fcitx4' } +Plug 'lilydjwg/fcitx.vim' Plug 'airblade/vim-gitgutter' diff --git a/.xinitrc b/.xinitrc index ef18d34..e7d54c4 100644 --- a/.xinitrc +++ b/.xinitrc @@ -14,13 +14,18 @@ fi #add compose key setxkbmap -option compose:caps +export XKB_DEFAULT_OPTIONS="compose:caps" + +#theme +export QT_STYLE_OVERRIDE=adwaita-dark +export GTK_THEME=Adwaita:dark #input! export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export SDL_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx" -fcitx & +fcitx5 & #keyrate xset r rate $kbdelay $kbrate diff --git a/.zprofile b/.zprofile index e87d559..5ffdf85 100644 --- a/.zprofile +++ b/.zprofile @@ -1,12 +1,6 @@ [[ -f /etc/profile ]] && \ emulate sh -c 'source /etc/profile' -##################### MISC #################### -export QT_STYLE_OVERRIDE=gtk - -# bad hack to make video card fans shut up -[[ ! -z $(whence optirun) ]] && optirun --no-xorg true - ################# SET TERMCMD ################# if [[ ! -z $(whence alacritty) ]] then export TERMCMD=alacritty -- cgit v1.2.3