diff options
author | Karel Kočí <karel.koci@nic.cz> | 2019-06-05 19:16:57 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2019-06-05 19:16:57 +0200 |
commit | 788b559b33f84c644f3ae8b2c997b1820a8da740 (patch) | |
tree | 5e4dd51577307870f0f7f4dd2dcf091c5ec189a7 | |
parent | f466a9386b0e62bd2c38370d81f48b389133c954 (diff) | |
download | myconfigs-788b559b33f84c644f3ae8b2c997b1820a8da740.tar.gz myconfigs-788b559b33f84c644f3ae8b2c997b1820a8da740.tar.bz2 myconfigs-788b559b33f84c644f3ae8b2c997b1820a8da740.zip |
i3: replace xim with ibus
-rw-r--r-- | config/i3/config | 4 | ||||
-rwxr-xr-x | config/i3/scripts/keyboard_layout | 2 | ||||
-rw-r--r-- | config/i3blocks/config | 5 | ||||
-rw-r--r-- | xinitrc | 6 |
4 files changed, 6 insertions, 11 deletions
diff --git a/config/i3/config b/config/i3/config index 9f4b707..592dc9e 100644 --- a/config/i3/config +++ b/config/i3/config @@ -162,9 +162,6 @@ mode "resize" { } bindsym $mod+r mode "resize" -# Switch keyboard layout -bindsym Mod1+space exec --no-startup-id ~/.config/i3/scripts/keyboard_switch - # Pulse audio control bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && pkill -RTMIN+10 i3blocks bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% && pkill -RTMIN+10 i3blocks @@ -195,6 +192,7 @@ bar { # Start daemons exec --no-startup-id dunst exec --no-startup-id xss-lock -- myi3lock +exec --no-startup-id ibus-daemon -drx # Set background exec --no-startup-id i3background # Start pidgin diff --git a/config/i3/scripts/keyboard_layout b/config/i3/scripts/keyboard_layout deleted file mode 100755 index 90b82e4..0000000 --- a/config/i3/scripts/keyboard_layout +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -setxkbmap -query | awk '/layout/{print $2}' diff --git a/config/i3blocks/config b/config/i3blocks/config index 0ec9161..85da162 100644 --- a/config/i3blocks/config +++ b/config/i3blocks/config @@ -38,11 +38,6 @@ command=~/.config/i3blocks/scripts/mpd interval=5 instance=remote -[keymap] -command=~/.config/i3/scripts/keyboard_layout -interval=once -signal=11 - # Volume indicator # # The first parameter sets the step (and units to display) @@ -4,9 +4,13 @@ setxkbmap -option compose:menu numlockx xset -b # disable beeping +# Use GTK theme for QT applications export QT_QPA_PLATFORMTHEME=gtk2 export QT_STYLE_OVERRIDE='gtk2' -export GTK_IM_MODULE=xim +# use IBus for keyboard inputs +export GTK_IM_MODULE=ibus +export XMODIFIERS=@im=ibus +export QT_IM_MODULE=ibus # Fix fullscreen game offscreen export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 # To fix missing textures on intel |