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