aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cache/wal/chromium/Cached Theme.pakbin773 -> 773 bytes
-rw-r--r--.config/i3/config2
-rwxr-xr-x.local/share/bin/kbindicator10
-rwxr-xr-x.local/share/bin/mode2
4 files changed, 7 insertions, 7 deletions
diff --git a/.cache/wal/chromium/Cached Theme.pak b/.cache/wal/chromium/Cached Theme.pak
index ac12c37..acee6cf 100644
--- a/.cache/wal/chromium/Cached Theme.pak
+++ b/.cache/wal/chromium/Cached Theme.pak
Binary files differ
diff --git a/.config/i3/config b/.config/i3/config
index d8948a6..425f7be 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -1,6 +1,6 @@
# variables
set $mod Mod4
-set $inner_gaps 16
+set $inner_gaps 10
set $outer_gaps 0
# set gaps
diff --git a/.local/share/bin/kbindicator b/.local/share/bin/kbindicator
index fec586c..819abb2 100755
--- a/.local/share/bin/kbindicator
+++ b/.local/share/bin/kbindicator
@@ -1,9 +1,9 @@
#!/bin/sh
-ENGINE="$(ibus engine)"
+CONTROLLER="`qdbus 'org.fcitx.Fcitx5' '/controller' 'org.fcitx.Fcitx.Controller1.CurrentInputMethod'`"
-case $ENGINE in
- "anthy") echo "jp" ;;
- "xkb:us::eng") echo "us" ;;
- "xkb:us:intl:eng") echo "us-intl" ;;
+case $CONTROLLER in
+ "keyboard-us") echo "us" ;;
+ "keyboard-us-intl") echo "us-intl" ;;
+ "mozc") echo "jp" ;;
*) ;;
esac
diff --git a/.local/share/bin/mode b/.local/share/bin/mode
index 2d16819..6515350 100755
--- a/.local/share/bin/mode
+++ b/.local/share/bin/mode
@@ -155,7 +155,7 @@ switch_cfgs() {
mkdir -p ~/.local/share/mode
echo $1 > ~/.local/share/mode/active
- rm ~/.local/share/mode/dark ~/.local/share/mode/light 2> /dev/null
+ rm -f ~/.local/share/mode/dark ~/.local/share/mode/light
touch ~/.local/share/mode/$1
}