update foot config to latest template

This commit is contained in:
Joel Beckmeyer 2025-03-21 10:39:27 -04:00
parent ffacf2038d
commit 981b1d8008

View File

@ -19,6 +19,7 @@ font=FiraCode:size=10
# vertical-letter-offset=0 # vertical-letter-offset=0
# underline-offset=<font metrics> # underline-offset=<font metrics>
# underline-thickness=<font underline thickness> # underline-thickness=<font underline thickness>
# strikeout-thickness=<font strikeout thickness>
# box-drawings-uses-font-glyphs=no # box-drawings-uses-font-glyphs=no
# dpi-aware=no # dpi-aware=no
@ -26,10 +27,10 @@ font=FiraCode:size=10
# initial-window-size-chars=<COLSxROWS> # initial-window-size-chars=<COLSxROWS>
initial-window-mode=maximized initial-window-mode=maximized
pad=1x1 # optionally append 'center' pad=1x1 # optionally append 'center'
# resize-by-cells=yes
# resize-keep-grid=yes
# resize-delay-ms=100 # resize-delay-ms=100
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
# bold-text-in-bright=no # bold-text-in-bright=no
# word-delimiters=,│`|:"'()[]{}<> # word-delimiters=,│`|:"'()[]{}<>
# selection-target=primary # selection-target=primary
@ -40,12 +41,24 @@ pad=1x1 # optionally append 'center'
[environment] [environment]
# name=value # name=value
[security]
# osc52=enabled # disabled|copy-enabled|paste-enabled|enabled
[bell] [bell]
# system=yes
# urgent=no # urgent=no
# notify=no # notify=no
# visual=no
# command= # command=
# command-focused=no # command-focused=no
[desktop-notifications]
# command=notify-send --wait --app-name ${app-id} --icon ${app-id} --category ${category} --urgency ${urgency} --expire-time ${expire-time} --hint STRING:image-path:${icon} --hint BOOLEAN:suppress-sound:${muted} --hint STRING:sound-name:${sound-name} --replace-id ${replace-id} ${action-argument} --print-id -- ${title} ${body}
# command-action-argument=--action ${action-name}=${action-label}
# close=""
# inhibit-when-focused=yes
[scrollback] [scrollback]
# lines=1000 # lines=1000
# multiplier=3.0 # multiplier=3.0
@ -56,13 +69,25 @@ pad=1x1 # optionally append 'center'
# launch=xdg-open ${url} # launch=xdg-open ${url}
# label-letters=sadfjklewcmpgh # label-letters=sadfjklewcmpgh
# osc8-underline=url-mode # osc8-underline=url-mode
# protocols=http, https, ftp, ftps, file, gemini, gopher # regex=(([a-z][[:alnum:]-]+:(/{1,3}|[a-z0-9%])|www[:digit:]{0,3}[.])([^[:space:](){}<>]+|\(([^[:space:](){}<>]+|(\([^[:space:](){}<>]+\)))*\)|\[([^]\[[:space:](){}<>]+|(\[[^]\[[:space:](){}<>]+\]))*\])+(\(([^[:space:](){}<>]+|(\([^[:space:](){}<>]+\)))*\)|\[([^]\[[:space:](){}<>]+|(\[[^]\[[:space:](){}<>]+\]))*\]|[^]\[[:space:]`!(){};:'".,<>?«»“”‘’]))
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
# You can define your own regex's, by adding a section called
# 'regex:<ID>' with a 'regex' and 'launch' key. These can then be tied
# to a key-binding. See foot.ini(5) for details
# [regex:your-fancy-name]
# regex=<a POSIX-Extended Regular Expression>
# launch=<path to script or application> ${match}
#
# [key-bindings]
# regex-launch=[your-fancy-name] Control+Shift+q
# regex-copy=[your-fancy-name] Control+Alt+Shift+q
[cursor] [cursor]
# style=block # style=block
# color=<inverse foreground/background> # color=<inverse foreground/background>
# blink=no # blink=no
# blink-rate=500
# beam-thickness=1.5 # beam-thickness=1.5
# underline-thickness=<font underline thickness> # underline-thickness=<font underline thickness>
@ -87,6 +112,7 @@ regular4=458588
regular5=b16286 regular5=b16286
regular6=689d6a regular6=689d6a
regular7=7c6f64 regular7=7c6f64
# Bright colors (color palette 8-15) # Bright colors (color palette 8-15)
bright0=a89984 bright0=a89984
bright1=9d0006 bright1=9d0006
@ -107,6 +133,24 @@ bright7=665c54
# ... # ...
# 255 = <256-color palette #255> # 255 = <256-color palette #255>
## Sixel colors
# sixel0 = 000000
# sixel1 = 3333cc
# sixel2 = cc2121
# sixel3 = 33cc33
# sixel4 = cc33cc
# sixel5 = 33cccc
# sixel6 = cccc33
# sixel7 = 878787
# sixel8 = 424242
# sixel9 = 545499
# sixel10 = 994242
# sixel11 = 549954
# sixel12 = 995499
# sixel13 = 549999
# sixel14 = 999954
# sixel15 = cccccc
## Misc colors ## Misc colors
# selection-foreground=<inverse foreground/background> # selection-foreground=<inverse foreground/background>
# selection-background=<inverse foreground/background> # selection-background=<inverse foreground/background>
@ -132,18 +176,20 @@ bright7=665c54
# button-close-color=<regular1> # button-close-color=<regular1>
[key-bindings] [key-bindings]
# scrollback-up-page=Shift+Page_Up # scrollback-up-page=Shift+Page_Up Shift+KP_Page_Up
# 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=Shift+Page_Down Shift+KP_Page_Down
# scrollback-down-half-page=none # scrollback-down-half-page=none
# scrollback-down-line=none # scrollback-down-line=none
# scrollback-home=none
# scrollback-end=none
# 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
font-increase=none # font-increase=Control+plus Control+equal Control+KP_Add
font-decrease=none # font-decrease=Control+minus Control+KP_Subtract
# font-reset=Control+0 Control+KP_0 # font-reset=Control+0 Control+KP_0
# spawn-terminal=Control+Shift+n # spawn-terminal=Control+Shift+n
# minimize=none # minimize=none
@ -152,6 +198,7 @@ font-decrease=none
# 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
# 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
@ -159,10 +206,11 @@ font-decrease=none
# prompt-next=Control+Shift+x # prompt-next=Control+Shift+x
# unicode-input=Control+Shift+u # unicode-input=Control+Shift+u
# noop=none # noop=none
# quit=none
[search-bindings] [search-bindings]
# cancel=Control+g Control+c Escape # cancel=Control+g Control+c Escape
# commit=Return # commit=Return KP_Enter
# 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+b
@ -175,11 +223,27 @@ font-decrease=none
# 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-to-word-boundary=Control+w # delete-to-start=Control+u
# delete-to-end=Control+k
# extend-char=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-backward-char=Shift+Left
# extend-backward-to-word-boundary=Control+Shift+Left
# extend-backward-to-next-whitespace=none
# extend-line-up=Shift+Up
# 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 Shift+KP_Page_Up
# scrollback-up-half-page=none
# scrollback-up-line=none
# scrollback-down-page=Shift+Page_Down Shift+KP_Page_Down
# scrollback-down-half-page=none
# scrollback-down-line=none
# scrollback-home=none
# scrollback-end=none
[url-bindings] [url-bindings]
# cancel=Control+g Control+c Control+d Escape # cancel=Control+g Control+c Control+d Escape
@ -189,6 +253,10 @@ font-decrease=none
# \x03=Mod4+c # Map Super+c -> Ctrl+c # \x03=Mod4+c # Map Super+c -> Ctrl+c
[mouse-bindings] [mouse-bindings]
# scrollback-up-mouse=BTN_WHEEL_BACK
# scrollback-down-mouse=BTN_WHEEL_FORWARD
# font-increase=Control+BTN_WHEEL_BACK
# font-decrease=Control+BTN_WHEEL_FORWARD
# selection-override-modifiers=Shift # selection-override-modifiers=Shift
# primary-paste=BTN_MIDDLE # primary-paste=BTN_MIDDLE
# select-begin=BTN_LEFT # select-begin=BTN_LEFT
@ -197,6 +265,7 @@ font-decrease=none
# select-extend-character-wise=Control+BTN_RIGHT # select-extend-character-wise=Control+BTN_RIGHT
# select-word=BTN_LEFT-2 # select-word=BTN_LEFT-2
# select-word-whitespace=Control+BTN_LEFT-2 # select-word-whitespace=Control+BTN_LEFT-2
# select-row=BTN_LEFT-3 # select-quote = BTN_LEFT-3
# select-row=BTN_LEFT-4
# vim: ft=dosini # vim: ft=dosini