日本語入力を直して
This commit is contained in:
33
README.md
33
README.md
@@ -6,34 +6,47 @@ Files can be `stow`'ed and un'`stow`'ed with `stow.sh`.
|
||||
It will link all dotfiles to their correct place.
|
||||
|
||||
## fonts
|
||||
Fonts are provided in `fonts/`
|
||||
Fonts are provided in `fonts/`.
|
||||
SFMono also provides icons.
|
||||
|
||||
## ssh-agent(1)
|
||||
Move `ssh-agent.service` to `~/.config/systemd/user/ssh-agent.service`
|
||||
and start it appropriately.
|
||||
Only used in sway.
|
||||
|
||||
## deps
|
||||
### for sway
|
||||
+ `waybar`
|
||||
+ `SwayNotificationCenter`
|
||||
+ `wob` (progress bar)
|
||||
+ `wofi` (launcher)
|
||||
+ `wob` (progress bar; audio, brightness)
|
||||
+ `wofi` (program launcher)
|
||||
+ `slurp`, `grim`, `swappy` (screenshot)
|
||||
+ `swaylock-effects`
|
||||
+ [`wmrctl`](https://git.sr.ht/~brocellous/wlrctl) (window switcher)
|
||||
+ `swaylock-effects` (fancy locker)
|
||||
+ [`wmrctl`](https://git.sr.ht/~brocellous/wlrctl) (advanced window switcher)
|
||||
|
||||
### other (used in scripts)
|
||||
+ `fzf` (used in many places)
|
||||
### other
|
||||
+ `fzf`
|
||||
+ `ripgrep` (`nvim` needs this)
|
||||
+ `ripgrep-all` (used in grep scripts)
|
||||
+ `fd` (rust find; used in scripts)
|
||||
+ `ripgrep-all` (used in `wofi`; `sway`)
|
||||
+ `fd` (rust find; used in `sway`)
|
||||
+ all `fcitx5` stuff (data, gtk, qt, mozc)
|
||||
|
||||
### theming stuff
|
||||
### theming stuff (sway)
|
||||
+ main bg: #323232
|
||||
+ accent: #93b259
|
||||
+ icons: `Flat-Remix-Green-Light-darkPanel` (from `flat-remix-icon-theme`)
|
||||
+ theme: `Flat-Remix-GTK-Green-Light-solid` with adjusted accent
|
||||
+ or `/usr/share/themes/Flat-Remix-Marc`
|
||||
|
||||
## 日本語入力
|
||||
With `fcitx5` under `sway` use:
|
||||
+ `GTK_IM_MODULE=fcitx5`
|
||||
+ `QT_IM_MODULE=fcitx5`
|
||||
+ `SDL_IM_MODULE=fcitx5`
|
||||
+ `GLFW_IM_MODULE=ibus`
|
||||
+ `XMODIFIERS="@im=fcitx5"`
|
||||
|
||||
With `ibus-anthy` under GNOME use:
|
||||
+ `GTK_IM_MODULE=ibus`
|
||||
+ `QT_IM_MODULE=ibus`
|
||||
+ `XMODIFIERS=@im=ibus`
|
||||
|
||||
@@ -3,8 +3,6 @@ EDITOR=vim
|
||||
VISUAL=vim
|
||||
_JAVA_AWT_WM_NONREPARENTING=1
|
||||
SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
|
||||
GTK_IM_MODULE=fcitx5
|
||||
QT_IM_MODULE=fcitx5
|
||||
SDL_IM_MODULE=fcitx5
|
||||
GLFW_IM_MODULE=ibus
|
||||
XMODIFIERS="@im=fcitx5"
|
||||
GTK_IM_MODULE=ibus
|
||||
QT_IM_MODULE=ibus
|
||||
XMODIFIERS=@im=ibus
|
||||
|
||||
@@ -14,8 +14,8 @@ DIR="%{$fg[blue]%}%~"
|
||||
GIT="%{$fg[red]%}\$vcs_info_msg_0_"
|
||||
HOSTN="%{$fg[yellow]%}%m "
|
||||
|
||||
BREAK=''
|
||||
[ $(tput cols) -lt 60 ] && BREAK=$'\n'
|
||||
# BREAK=''
|
||||
# [ $(tput cols) -lt 60 ] && BREAK=$'\n'
|
||||
|
||||
export PROMPT="${HOSTN}${DIR}${GIT} ${BREAK}${ICON}%{$reset_color%} "
|
||||
zstyle ':vcs_info:git:*' formats ' (%b )'
|
||||
@@ -111,10 +111,6 @@ alias zg='ls'
|
||||
alias ädrbes='chown'
|
||||
alias erstelle='touch'
|
||||
|
||||
if [ -f ~/.zshrc_local ]; then
|
||||
source ~/.zshrc_local
|
||||
fi
|
||||
|
||||
# ============================== Completion
|
||||
unsetopt menu_complete # do not autoselect the first completion entry
|
||||
unsetopt flowcontrol
|
||||
@@ -302,3 +298,8 @@ fancy-ctrl-z () {
|
||||
}
|
||||
zle -N fancy-ctrl-z
|
||||
bindkey '^Z' fancy-ctrl-z
|
||||
|
||||
# ============================== Source other definitions
|
||||
if [ -f ~/.zshrc_local ]; then
|
||||
source ~/.zshrc_local
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user