aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2019-06-05 19:16:57 +0200
committerKarel Kočí <karel.koci@nic.cz>2019-06-05 19:16:57 +0200
commit788b559b33f84c644f3ae8b2c997b1820a8da740 (patch)
tree5e4dd51577307870f0f7f4dd2dcf091c5ec189a7 /config
parentf466a9386b0e62bd2c38370d81f48b389133c954 (diff)
downloadmyconfigs-788b559b33f84c644f3ae8b2c997b1820a8da740.tar.gz
myconfigs-788b559b33f84c644f3ae8b2c997b1820a8da740.tar.bz2
myconfigs-788b559b33f84c644f3ae8b2c997b1820a8da740.zip
i3: replace xim with ibus
Diffstat (limited to 'config')
-rw-r--r--config/i3/config4
-rwxr-xr-xconfig/i3/scripts/keyboard_layout2
-rw-r--r--config/i3blocks/config5
3 files changed, 1 insertions, 10 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)