aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2023-03-19 14:56:43 -0700
committerkatherine <ageha@airen-no-jikken.icu>2023-03-19 14:56:43 -0700
commitde5b9c428dcfab9136fc765bddb0e931c833676f (patch)
treed0efec7ffd41ea7c3019363e8ffa6230ec35c727
parent6f370b8cbc0be64bd495920dfea0161304c8a9f4 (diff)
downloaddotfiles-de5b9c428dcfab9136fc765bddb0e931c833676f.tar.gz
update jp input tools
fcitx4->5, mozc handwriting->kanjidraw
-rwxr-xr-x.config/herbstluftwm/autostart2
-rwxr-xr-x.config/herbstluftwm/kanjidraw.sh3
-rw-r--r--.vimrc2
-rw-r--r--.xinitrc7
-rw-r--r--.zprofile6
5 files changed, 11 insertions, 9 deletions
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