AutoYADM commit: 2025-03-09 15:30:03
This commit is contained in:
parent
872a84aa50
commit
3d2e13b26c
2 changed files with 40 additions and 33 deletions
|
@ -1,18 +1,17 @@
|
||||||
# -*- conf -*-
|
# -*- conf -*-
|
||||||
# [main]
|
[main]
|
||||||
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
||||||
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
||||||
# login-shell=no
|
# login-shell=no
|
||||||
|
|
||||||
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
|
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
|
||||||
title=foot
|
# title=foot
|
||||||
# locked-title=no
|
# locked-title=no
|
||||||
include=~/dev/ashen/monorepo/foot/ashen.ini
|
include=~/dev/ashen/monorepo/foot/ashen.ini
|
||||||
|
|
||||||
# font=monospace:size=10
|
# font=monospace:size=10
|
||||||
# font=SauceCodePro NFM:size=12
|
# font=SauceCodePro NFM:size=12
|
||||||
font = SauceCodePro NFM:size=12, Symbols Nerd Font Mono:size=12, FreeMono:size=12
|
font = SauceCodePro NFM:size=12, Symbols Nerd Font Mono:size=12, FreeMono:size=12
|
||||||
underline-offset=3
|
|
||||||
# font-bold=<bold variant of regular font>
|
# font-bold=<bold variant of regular font>
|
||||||
# font-italic=<italic variant of regular font>
|
# font-italic=<italic variant of regular font>
|
||||||
# font-bold-italic=<bold+italic variant of regular font>
|
# font-bold-italic=<bold+italic variant of regular font>
|
||||||
|
@ -21,8 +20,8 @@ underline-offset=3
|
||||||
# letter-spacing=0
|
# letter-spacing=0
|
||||||
# horizontal-letter-offset=0
|
# horizontal-letter-offset=0
|
||||||
# vertical-letter-offset=0
|
# vertical-letter-offset=0
|
||||||
# underline-offset=<font metrics>
|
underline-offset=3
|
||||||
# underline-thickness=<font underline thickness>
|
# underline-thickness=1
|
||||||
# strikeout-thickness=<font strikeout thickness>
|
# strikeout-thickness=<font strikeout thickness>
|
||||||
# box-drawings-uses-font-glyphs=no
|
# box-drawings-uses-font-glyphs=no
|
||||||
# dpi-aware=no
|
# dpi-aware=no
|
||||||
|
@ -71,9 +70,8 @@ indicator-position=relative
|
||||||
indicator-format=""
|
indicator-format=""
|
||||||
|
|
||||||
[url]
|
[url]
|
||||||
label-letters=tnserigmdhcao
|
|
||||||
# launch=xdg-open ${url}
|
# launch=xdg-open ${url}
|
||||||
# label-letters=sadfjklewcmpgh
|
label-letters=tnserigmdhcao
|
||||||
# osc8-underline=url-mode
|
# osc8-underline=url-mode
|
||||||
# protocols=http, https, ftp, ftps, file, gemini, gopher
|
# protocols=http, https, ftp, ftps, file, gemini, gopher
|
||||||
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
|
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
|
||||||
|
@ -94,7 +92,7 @@ hide-when-typing=yes
|
||||||
# long-press-delay=400
|
# long-press-delay=400
|
||||||
|
|
||||||
[colors]
|
[colors]
|
||||||
# alpha=0.95
|
alpha=1.0
|
||||||
# background=121212
|
# background=121212
|
||||||
# foreground=f5f5f5
|
# foreground=f5f5f5
|
||||||
# flash=7f7f00
|
# flash=7f7f00
|
||||||
|
@ -172,10 +170,10 @@ hide-when-typing=yes
|
||||||
# button-close-color=<regular1>
|
# button-close-color=<regular1>
|
||||||
|
|
||||||
[key-bindings]
|
[key-bindings]
|
||||||
scrollback-up-page=Control+Alt+u
|
scrollback-up-page=Control+Shift+u
|
||||||
# scrollback-up-half-page=none
|
# scrollback-up-half-page=none
|
||||||
# scrollback-up-line=none
|
# scrollback-up-line=none
|
||||||
scrollback-down-page=Control+Alt+d
|
scrollback-down-page=Control+Shift+d
|
||||||
# scrollback-down-half-page=none
|
# scrollback-down-half-page=none
|
||||||
# scrollback-down-line=none
|
# scrollback-down-line=none
|
||||||
# scrollback-home=none
|
# scrollback-home=none
|
||||||
|
@ -183,13 +181,10 @@ scrollback-down-page=Control+Alt+d
|
||||||
clipboard-copy=Control+Shift+c XF86Copy
|
clipboard-copy=Control+Shift+c XF86Copy
|
||||||
clipboard-paste=Control+Shift+v XF86Paste
|
clipboard-paste=Control+Shift+v XF86Paste
|
||||||
# primary-paste=Shift+Insert
|
# primary-paste=Shift+Insert
|
||||||
# search-start=Control+Shift+r
|
search-start=Control+Shift+r
|
||||||
search-start=none
|
|
||||||
font-decrease=Control+Shift+j
|
font-decrease=Control+Shift+j
|
||||||
font-increase=Control+Shift+l
|
font-increase=Control+Shift+l
|
||||||
# font-increase=Control+plus Control+equal Control+KP_Add
|
font-reset=Control+0 Control+KP_0
|
||||||
# font-decrease=Control+minus Control+KP_Subtract
|
|
||||||
# font-reset=Control+0 Control+KP_0
|
|
||||||
# spawn-terminal=none
|
# spawn-terminal=none
|
||||||
# minimize=none
|
# minimize=none
|
||||||
# maximize=none
|
# maximize=none
|
||||||
|
@ -197,13 +192,13 @@ font-increase=Control+Shift+l
|
||||||
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
# pipe-selected=[xargs -r firefox] none
|
# pipe-selected=[xargs -r firefox] none
|
||||||
pipe-command-output=[wl-copy] none # Copy last command's output to the clipboard
|
pipe-command-output=[wl-copy] Control+Shift+y
|
||||||
# show-urls-launch=Control+Shift+o
|
# show-urls-launch=Control+Shift+o
|
||||||
# show-urls-copy=none
|
# show-urls-copy=none
|
||||||
# show-urls-persistent=none
|
# show-urls-persistent=none
|
||||||
# prompt-prev=Control+Shift+z
|
prompt-prev=Control+Shift+z
|
||||||
# prompt-next=Control+Shift+x
|
prompt-next=Control+Shift+x
|
||||||
unicode-input=none
|
unicode-input=Control+Shift+i
|
||||||
# unicode-input=Control+Shift+u
|
# unicode-input=Control+Shift+u
|
||||||
|
|
||||||
# noop=none
|
# noop=none
|
||||||
|
@ -214,31 +209,31 @@ cancel=Control+g Control+c Escape
|
||||||
commit=Return
|
commit=Return
|
||||||
find-prev=Control+r
|
find-prev=Control+r
|
||||||
find-next=Control+s
|
find-next=Control+s
|
||||||
# cursor-left=Left Control+b
|
cursor-left=Left Control+m
|
||||||
# cursor-left-word=Control+Left Mod1+b
|
# cursor-left-word=Control+b
|
||||||
# cursor-right=Right Control+f
|
cursor-right=Right Control+i
|
||||||
# cursor-right-word=Control+Right Mod1+f
|
# cursor-right-word=Control+Right Mod1+f
|
||||||
# cursor-home=Home Control+a
|
cursor-home=Home Control+h
|
||||||
# cursor-end=End Control+e
|
cursor-end=End Control+l
|
||||||
# delete-prev=BackSpace
|
# delete-prev=BackSpace
|
||||||
# delete-prev-word=Mod1+BackSpace Control+BackSpace
|
# delete-prev-word=Mod1+BackSpace Control+BackSpace
|
||||||
# delete-next=Delete
|
# delete-next=Delete
|
||||||
# delete-next-word=Mod1+d Control+Delete
|
# delete-next-word=Mod1+d Control+Delete
|
||||||
# extend-char=Shift+Right
|
extend-char=Shift+Right
|
||||||
# extend-to-word-boundary=Control+w Control+Shift+Right
|
extend-to-word-boundary=Control+w Control+Shift+Right
|
||||||
# extend-to-next-whitespace=Control+Shift+w
|
extend-to-next-whitespace=Control+Shift+w
|
||||||
# extend-line-down=Shift+Down
|
extend-line-down=Control+Shift+n
|
||||||
# extend-backward-char=Shift+Left
|
# extend-backward-char=Shift+Left
|
||||||
# extend-backward-to-word-boundary=Control+Shift+Left
|
extend-backward-to-word-boundary=Control+Shift+Left Control+b
|
||||||
# extend-backward-to-next-whitespace=none
|
# extend-backward-to-next-whitespace=none
|
||||||
# extend-line-up=Shift+Up
|
extend-line-up=Control+Shift+e
|
||||||
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
|
clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
|
||||||
# primary-paste=Shift+Insert
|
# primary-paste=Shift+Insert
|
||||||
# unicode-input=none
|
# unicode-input=none
|
||||||
# scrollback-up-page=Shift+Page_Up
|
scrollback-up-page=Control+Shift+u
|
||||||
# scrollback-up-half-page=none
|
# scrollback-up-half-page=none
|
||||||
# scrollback-up-line=none
|
# scrollback-up-line=none
|
||||||
# scrollback-down-page=Shift+Page_Down
|
scrollback-down-page=Control+Shift+d
|
||||||
# scrollback-down-half-page=none
|
# scrollback-down-half-page=none
|
||||||
# scrollback-down-line=none
|
# scrollback-down-line=none
|
||||||
# scrollback-home=none
|
# scrollback-home=none
|
||||||
|
|
12
.zshrc
12
.zshrc
|
@ -161,6 +161,18 @@ function mksh() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function osc7-pwd() {
|
||||||
|
emulate -L zsh # also sets localoptions for us
|
||||||
|
setopt extendedglob
|
||||||
|
local LC_ALL=C
|
||||||
|
printf '\e]7;file://%s%s\e\' $HOST ${PWD//(#m)([^@-Za-z&-;_~])/%${(l:2::0:)$(([##16]#MATCH))}}
|
||||||
|
}
|
||||||
|
|
||||||
|
function chpwd-osc7-pwd() {
|
||||||
|
(( ZSH_SUBSHELL )) || osc7-pwd
|
||||||
|
}
|
||||||
|
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
|
||||||
|
|
||||||
function preexec {
|
function preexec {
|
||||||
print -n "\e]133;C\e\\"
|
print -n "\e]133;C\e\\"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue