summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home/xyz/.config/fcitx5/conf/chttrans.conf5
-rwxr-xr-xhome/xyz/.local/bin/chmodef1
-rwxr-xr-xhome/xyz/.local/bin/mvt2
3 files changed, 5 insertions, 3 deletions
diff --git a/home/xyz/.config/fcitx5/conf/chttrans.conf b/home/xyz/.config/fcitx5/conf/chttrans.conf
index cb546117..f1f3c2ea 100644
--- a/home/xyz/.config/fcitx5/conf/chttrans.conf
+++ b/home/xyz/.config/fcitx5/conf/chttrans.conf
@@ -1,7 +1,5 @@
# Translate engine
Engine=Native
-# Enabled Input Methods
-EnabledIM=
# OpenCC profile for Simplified to Traditional
OpenCCS2TProfile=
# OpenCC profile for Traditional to Simplified
@@ -10,3 +8,6 @@ OpenCCT2SProfile=
[Hotkey]
0=Control+Shift+F
+[EnabledIM]
+0=pinyin
+
diff --git a/home/xyz/.local/bin/chmodef b/home/xyz/.local/bin/chmodef
index be9b2934..446bc230 100755
--- a/home/xyz/.local/bin/chmodef
+++ b/home/xyz/.local/bin/chmodef
@@ -1,4 +1,5 @@
#!/bin/sh
+# chmodef: CHMOD DEFault
# https://wiki.archlinux.org/title/File_permissions_and_attributes#Numeric_method
find "$@" -type d -execdir chmod 755 -- '{}' \+
diff --git a/home/xyz/.local/bin/mvt b/home/xyz/.local/bin/mvt
index d324856a..eefc19b0 100755
--- a/home/xyz/.local/bin/mvt
+++ b/home/xyz/.local/bin/mvt
@@ -1,6 +1,6 @@
#!/bin/sh
-
# emulate mv -t, for use with `find ... -exec mvt ... '{}' \+`, more POSIX compliant
+
dist="$1"
shift
mv -- "$@" "$dist"