diff options
author | xyz <gky44px1999@gmail.com> | 2021-10-26 22:42:19 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-10-26 22:42:19 -0700 |
commit | 1342df44ae32573f8b484b39df016f77f8be41e8 (patch) | |
tree | f08c203c289e8da6193315810f314b6f6a6895e5 /home/xyz | |
parent | 27a847a2527bfa673f26464fa0fb4493f0158ccc (diff) |
refactor
Diffstat (limited to 'home/xyz')
-rw-r--r-- | home/xyz/.config/fcitx5/conf/chttrans.conf | 5 | ||||
-rwxr-xr-x | home/xyz/.local/bin/chmodef | 1 | ||||
-rwxr-xr-x | home/xyz/.local/bin/mvt | 2 |
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" |