diff options
| author | benj <benj@rse8.com> | 2021-09-14 11:35:44 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2021-09-14 11:35:44 -0700 |
| commit | 663c42957106cb2ba71075b4debdabe53b528559 (patch) | |
| tree | db70700f630de7668394f836dc47f97061d1d25b | |
| parent | f18df7f9ccbe619ff42a6511c05099df4225b450 (diff) | |
| download | setup-663c42957106cb2ba71075b4debdabe53b528559.tar setup-663c42957106cb2ba71075b4debdabe53b528559.tar.gz setup-663c42957106cb2ba71075b4debdabe53b528559.tar.bz2 setup-663c42957106cb2ba71075b4debdabe53b528559.tar.lz setup-663c42957106cb2ba71075b4debdabe53b528559.tar.xz setup-663c42957106cb2ba71075b4debdabe53b528559.tar.zst setup-663c42957106cb2ba71075b4debdabe53b528559.zip | |
- function for random bytes since I seem to be doing that a lot...
- fcitx-googlepinyin startup for i3
| -rw-r--r-- | .bashrc | 7 | ||||
| -rw-r--r-- | des/i3/config | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -24,6 +24,11 @@ function mkdirf () { mkdir -p $1 && cd $1 } +# get some random bytes +function random () { + head -c$1 /dev/urandom | tr -dc 'a-zA-Z0-9~!@#$%^&*(_-' +} + # Customize prompt if [ -n "$SSH_CLIENT" ]; then ssh_text="ssh" @@ -51,7 +56,7 @@ alias t='tmux' export ALTERNATE_EDITOR="" export EDITOR="vim" -export VISUAL=emacs +export VISUAL="vim" # NOTE: These env vars happen to be wanted. This also happens to fix a weird bug (just for reference): # This is a hack to avoid sbt/scala jline error introduced in the latest ncurses update diff --git a/des/i3/config b/des/i3/config index eba6fe1..535abd5 100644 --- a/des/i3/config +++ b/des/i3/config @@ -10,6 +10,9 @@ set $mod Mod4 +# fcitx-googlepinyin +exec --no-startup-id fcitx -d + # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font pango:monospace 8 |
