From cb261acfc4337ba93d8886a2669b9babd6fae73b Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Wed, 17 Mar 2021 16:04:27 +0300 Subject: [PATCH] foot: update config --- home/.bashrc-bloated | 6 ++-- home/.config/fish/conf.d/evaluate.fish | 6 ++-- home/.config/foot/foot.ini | 47 +++++++++++++++++++------- home/.config/zsh/.zshrc | 10 +++--- 4 files changed, 46 insertions(+), 23 deletions(-) diff --git a/home/.bashrc-bloated b/home/.bashrc-bloated index a813585..0d0090c 100644 --- a/home/.bashrc-bloated +++ b/home/.bashrc-bloated @@ -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 diff --git a/home/.config/fish/conf.d/evaluate.fish b/home/.config/fish/conf.d/evaluate.fish index e1bc8be..943f2ca 100644 --- a/home/.config/fish/conf.d/evaluate.fish +++ b/home/.config/fish/conf.d/evaluate.fish @@ -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 diff --git a/home/.config/foot/foot.ini b/home/.config/foot/foot.ini index d2849f6..6b6e16f 100644 --- a/home/.config/foot/foot.ini +++ b/home/.config/foot/foot.ini @@ -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= +# letter-spacing=0 +# horizontal-letter-offset=0 +# vertical-letter-offset=0 dpi-aware=no + initial-window-size-pixels=800x600 # Or, # initial-window-size-chars= # initial-window-mode=windowed -# pad=2x2 -# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) -# term=foot -# login-shell=no -# workers= +# 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= +# osc8-underline=url-mode [scrollback] lines=10000 @@ -36,8 +49,6 @@ hide-when-typing=yes [colors] alpha=1.0 -# selection-foreground= -# selection-background= # --- Nord --- # foreground=d8dee9 background=2e3440 @@ -77,14 +88,19 @@ bright7=eceff4 # bright white # bright6=56b6c2 # bright cyan # bright7=bbc2cf # bright white +# selection-foreground= +# selection-background= +# jump-labels= +# urls= + [csd] # preferred=server # size=26 # color= # button-width=26 -# button-minimize-color=ff0000ff -# button-maximize-color=ff00ff00 -# button-close-color=ffff0000 +# button-minimize-color= +# button-maximize-color= +# button-close-color= [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 diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc index adbe8e4..0ea354d 100644 --- a/home/.config/zsh/.zshrc +++ b/home/.config/zsh/.zshrc @@ -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