diff --git a/.bashrc b/.bashrc index c8d8091..7ce9c0a 100644 --- a/.bashrc +++ b/.bashrc @@ -76,11 +76,12 @@ export PATH="$PATH:/home/dominic/.local/bin" GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx +SDL_IM_MODULE=fcitx +INPUT_METHOD=fcitx +GLFW_IM_MODULE=ibus if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then startx fi -if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then - tmux attach-session -t default || tmux new-session -s default -fi +export TERM="xterm-kitty" diff --git a/.config/i3/config b/.config/i3/config index 75e88d5..04a5d9a 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -54,7 +54,7 @@ floating_modifier $mod tiling_drag modifier titlebar # start a terminal -bindsym $mod+Return exec kitty +bindsym $mod+Return exec env GLFW_IM_MODULE=ibus kitty # kill focused window bindsym $mod+q kill @@ -301,7 +301,7 @@ exec flameshot bindsym $mod+b exec brave # Open Wifi -bindsym $alt+w exec connman-gtk +bindsym $alt+w exec rofi-connman # Ranger File Manager bindsym $alt+f exec kitty -e 'ranger' diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 22421e7..9d02ad9 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -114,7 +114,7 @@ set preview_images true # Preview images in full color with the external command "ueberzug". # Images are shown by using a child window. # Only for users who run X11 in GNU/Linux. -set preview_images_method ueberzug +set preview_images_method kitty # Delay in seconds before displaying an image with the w3m method. # Increase it in case of experiencing display corruption.