commit 3240755518ee7536c3c083dbf51d62cc4280d798
parent 79930d7c0b24e0294750ea62f405323727a533b4
Author: Matsuda Kenji <ftvda283@gmail.com>
Date: Wed, 14 Oct 2020 19:37:55 +0900
changed im
Diffstat:
5 files changed, 13 insertions(+), 16 deletions(-)
diff --git a/.config/X11/Xresources b/.config/X11/Xresources
@@ -33,5 +33,5 @@ URxvt.scrollColor: #504945
! font config
! いい感じのSerif Monospaceフォントがあれば欲しいのですが
URxvt.font: xft:Noto Sans Mono:size=10:antialias=true, xft:Noto Serif CJK JP:size=10:antialias=true, xft:Noto Color Emoji:size=10:antialias=true
-URxvt.inputMethod: fcitx
-URxvt.preeditType: OverTheSpot
+URxvt.inputMethod: ibus
+URxvt.preeditType: OverTheSpot
diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc
@@ -30,11 +30,10 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
-# set input method
-export DefaultIMModule=fcitx
-export GTK_IM_MODULE=fcitx
-export QT_IM_MODULE=fcitx
-export XMODIFIERS="@im=fcitx"
+export DefaultIMModule=ibus
+export GTK_IM_MODULE=ibus
+export QT_IM_MODULE=ibus
+export XMODIFIERS="@im=ibus"
-fcitx &
+ibus-daemon --xim &
exec i3
diff --git a/.config/i3blocks/volume.sh b/.config/i3blocks/volume.sh
@@ -1,12 +1,12 @@
#!/bin/sh
mute=`pactl list sinks \
- | sed -n '/State: RUNNING/,/Volume/p' \
+ | sed -n '/State: \(RUNNING\|SUSPENDED\)/,/Volume/p' \
| grep 'Mute' | sed 's/[[:space:]]//g' \
| cut -d: -f2 | head -1`
[ $mute = "yes" ] && state= || state=
volume=`pactl list sinks \
- | sed -n '/State: RUNNING/,/Volume/p' \
+ | sed -n '/State: \(RUNNING\|SUSPENDED\)/,/Volume/p' \
| grep 'Volume' | grep -o '[0-9]*%' \
| head -1 | tr -d '%'`
echo "$state ${volume}"
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -34,5 +34,3 @@ autocmd Filetype html inoremap ;b <b></b><Esc>3hi
autocmd Filetype html inoremap ;i <i></i><Esc>3hi
autocmd Filetype html inoremap ;pre <pre></pre><Esc>5hi
autocmd Filetype html inoremap ;cd <code></code><Esc>6hi
-
-autocmd Filetype python set tags=tags;,~/.local/lib/python3.8/site-packages/tags
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
@@ -6,10 +6,10 @@ bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
-bind H resize-pane -L
-bind J resize-pane -D
-bind K resize-pane -U
-bind L resize-pane -R
+bind H resize-pane -L 5
+bind J resize-pane -D 5
+bind K resize-pane -U 5
+bind L resize-pane -R 5
bind | split-window -h
bind - split-window -v