diff options
-rw-r--r-- | .env | 8 | ||||
-rw-r--r-- | .xinitrc | 2 | ||||
-rwxr-xr-x | bin/autostart | 7 | ||||
-rwxr-xr-x | bin/startdwm | 1 |
4 files changed, 9 insertions, 9 deletions
@@ -12,3 +12,11 @@ export FZF_DEFAULT_COMMAND='find . -type f' if [ -f /usr/bin/fd ];then export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' fi + +if type fcitx5 > /dev/null; then + export GTK_IM_MODULE=fcitx + export QT_IM_MODULE=fcitx + export XMODIFIERS=@im=fcitx + export INPUT_METHOD=fcitx + export SDL_IM_MODULE=fcitx +fi @@ -38,8 +38,6 @@ fi # xterm -geometry 80x20+494-0 & # exec xterm -geometry 80x66+0+0 -name login -source autostart - session=${1:-dwm} case $session in dwm) diff --git a/bin/autostart b/bin/autostart index 0ea29ee..c6382f1 100755 --- a/bin/autostart +++ b/bin/autostart @@ -1,11 +1,4 @@ #!/usr/bin/env bash -export GTK_IM_MODULE=fcitx -export QT_IM_MODULE=fcitx -export XMODIFIERS=@im=fcitx -export INPUT_METHOD=fcitx -export SDL_IM_MODULE=fcitx - [ -f /usr/bin/fcitx5 ] && fcitx5 -d - [ -f ~/.fehbg ] && ~/.fehbg & diff --git a/bin/startdwm b/bin/startdwm index afa74f1..da570ff 100755 --- a/bin/startdwm +++ b/bin/startdwm @@ -11,6 +11,7 @@ while true; do done & picom -b +autostart csum="" new_csum=$(sha1sum $(which dwm)) |