foot: update config

This commit is contained in:
FollieHiyuki 2021-03-17 16:04:27 +03:00
parent 8b9c2a2d30
commit dcd525c8bb
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
4 changed files with 46 additions and 23 deletions

View File

@ -599,9 +599,9 @@ include wfxr/forgit forgit.plugin.sh
mkdir -p "$BASH_COMPLETION_USER_DIR/completions"
# github cli completion
if command -v gh >/dev/null && [ ! -f "$BASH_COMPLETION_USER_DIR/completions/gh" ]; then
gh completion -s bash > "$BASH_COMPLETION_USER_DIR/completions/gh"
fi
# if command -v gh >/dev/null && [ ! -f "$BASH_COMPLETION_USER_DIR/completions/gh" ]; then
# gh completion -s bash > "$BASH_COMPLETION_USER_DIR/completions/gh"
# fi
# kitten from kitty
if command -v kitty > /dev/null; then

View File

@ -1,7 +1,7 @@
# Github cli completion
if command -v gh > /dev/null; and not test -f $HOME/.config/fish/completions/gh.fish
gh completion -s fish > $HOME/.config/fish/completions/gh.fish
end
# if command -v gh > /dev/null; and not test -f $HOME/.config/fish/completions/gh.fish
# gh completion -s fish > $HOME/.config/fish/completions/gh.fish
# end
# kitten from kitty
if command -v kitty > /dev/null

View File

@ -1,22 +1,35 @@
# -*- conf -*-
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
# login-shell=no
font=Iosevka Nerd Font:style=Regular:size=12, Sarasa Mono J:style=Regular:size=12
font-bold=Iosevka Nerd Font:style=Bold:size=12, Sarasa Mono J:style=Bold:size=12
font-italic=Iosevka Nerd Font:style=Italic:size=12, Sarasa Mono J:style=Italic:size=12
font-bold-italic=Iosevka Nerd Font:style=Bold Italic:size=12, Sarasa Mono J:style=Bold Italic:size=12
# line-height=<font metrics>
# letter-spacing=0
# horizontal-letter-offset=0
# vertical-letter-offset=0
dpi-aware=no
initial-window-size-pixels=800x600 # Or,
# initial-window-size-chars=<COLSxROWS>
# initial-window-mode=windowed
# pad=2x2
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot
# login-shell=no
# workers=<number of logical CPUs>
# pad=2x2 # optionally append 'center'
# resize-delay-ms=100
# notify=notify-send -a foot -i foot ${title} ${body}
url-launch=qutebrowser ${url}
# bold-text-in-bright=no
# bell=none
# word-delimiters=,│`|:"'()[]{}<>
# notify=notify-send -a foot -i foot ${title} ${body}
# jump-label-letters=sadfjklewcmpgh
# selection-target=primary
# workers=<number of logical CPUs>
# osc8-underline=url-mode
[scrollback]
lines=10000
@ -36,8 +49,6 @@ hide-when-typing=yes
[colors]
alpha=1.0
# selection-foreground=<inverse foreground/background>
# selection-background=<inverse foreground/background>
# --- Nord --- #
foreground=d8dee9
background=2e3440
@ -77,14 +88,19 @@ bright7=eceff4 # bright white
# bright6=56b6c2 # bright cyan
# bright7=bbc2cf # bright white
# selection-foreground=<inverse foreground/background>
# selection-background=<inverse foreground/background>
# jump-labels=<regular0> <regular3>
# urls=<regular3>
[csd]
# preferred=server
# size=26
# color=<foreground color>
# button-width=26
# button-minimize-color=ff0000ff
# button-maximize-color=ff00ff00
# button-close-color=ffff0000
# button-minimize-color=<regular4>
# button-maximize-color=<regular2>
# button-close-color=<regular1>
[key-bindings]
# scrollback-up-page=Shift+Page_Up
@ -106,7 +122,9 @@ bright7=eceff4 # bright white
fullscreen=F11
pipe-visible=[sh -c "xurls | wofi -d -i | xargs -r qutebrowser"] none
pipe-scrollback=[sh -c "xurls | wofi -d -i | xargs -r qutebrowser"] none
# pipe-selected=[xargs -r qutebrowser] none
pipe-selected=[xargs -r qutebrowser] none
# show-urls-launch=Control+Shift+u
# show-urls-copy=none
[search-bindings]
# cancel=Control+g Escape
@ -128,11 +146,16 @@ delete-next-word=Control+Delete
# clipboard-paste=Control+v Control+y
# primary-paste=Shift+Insert
[url-bindings]
# cancel=Control+g Control+d Escape
# toggle-url-visible=t
[mouse-bindings]
# primary-paste=BTN_MIDDLE
# select-begin=BTN_LEFT
# select-begin-block=Control+BTN_LEFT
# select-extend=BTN_RIGHT
# select-extend-character-wise=Control+BTN_RIGHT
# select-word=BTN_LEFT-2
# select-word-whitespace=Control+BTN_LEFT-2
# select-row=BTN_LEFT-3

View File

@ -19,11 +19,11 @@ compinit -d $HOME/.local/share/zsh/zcompdump-$ZSH_VERSION
autoload -U zmv zcalc zargs zed
# github-cli completion
if command -v gh > /dev/null && [ ! -f $HOME/.local/share/zsh/completions/_gh ]; then
gh completion -s zsh > $HOME/.local/share/zsh/completions/_gh
fi
zinit ice blockf as"completion"
zinit snippet $HOME/.local/share/zsh/completions/_gh
# if command -v gh > /dev/null && [ ! -f $HOME/.local/share/zsh/completions/_gh ]; then
# gh completion -s zsh > $HOME/.local/share/zsh/completions/_gh
# fi
# zinit ice blockf as"completion"
# zinit snippet $HOME/.local/share/zsh/completions/_gh
# kitten from kitty
if command -v kitty > /dev/null; then