From: Andre Ramnitz Date: Wed, 8 Apr 2026 14:24:16 +0000 (+0200) Subject: foot: clean-up config X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=410adbeec9b60c63dd6b88bbf7790a8588b620ef;p=dotfiles.git foot: clean-up config --- diff --git a/dot-config/foot/bash.ini b/dot-config/foot/bash.ini index 9ab169e8..55a6f3ba 100644 --- a/dot-config/foot/bash.ini +++ b/dot-config/foot/bash.ini @@ -1,5 +1,6 @@ # -*- conf -*- + +[main] include=~/.config/foot/foot.ini shell=/bin/bash -# vim: ft=dosini diff --git a/dot-config/foot/foot.ini b/dot-config/foot/foot.ini index 10fbe93d..24995ae2 100644 --- a/dot-config/foot/foot.ini +++ b/dot-config/foot/foot.ini @@ -1,8 +1,10 @@ # -*- conf -*- + +[main] include=~/.config/foot/themes/noctalia +shell=/bin/fish # shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) -shell=/bin/fish # term=foot (or xterm-256color if built with -Dterminfo=disabled) # login-shell=no @@ -10,80 +12,92 @@ shell=/bin/fish # title=foot # locked-title=no -# font=monospace:size=8 -# font-bold= +font=ZedMono Nerd Font Propo:size=12:weight=normal +font-bold=ZedMono Nerd Font Propo:size=12:weight=bold # font-italic= # font-bold-italic= # font-size-adjustment=0.5 -font=ZedMono Nerd Font Propo:size=12:weight=normal -font-bold=ZedMono Nerd Font Propo:size=12:weight=bold -# font=ZedMono NFP:size=12:weight=normal -# font-bold=ZedMono NFP:size=12:weight=bold -# font-italic=IosevkaTerm NFM:size=12:style=italic:weight=200 -# font-bold-italic=IosevkaTerm NFM:size=12:slant=italic:weight=500 # line-height= # letter-spacing=0 # horizontal-letter-offset=0 # vertical-letter-offset=0 # underline-offset= # underline-thickness= +# strikeout-thickness= # box-drawings-uses-font-glyphs=no # dpi-aware=no +# gamma-correct-blending=no +# initial-color-theme=dark # initial-window-size-pixels=700x500 # Or, # initial-window-size-chars= # initial-window-mode=windowed -initial-window-size-chars=135x32 -pad=5x5 center # optionally append 'center' +pad=5x5 center-when-maximized-and-fullscreen + # resize-by-cells=yes +# resize-keep-grid=yes # resize-delay-ms=100 -# bold-text-in-bright=yes +# bold-text-in-bright=no # word-delimiters=,│`|:"'()[]{}<> # selection-target=primary -workers=8 # limited to 1 ccx without smt +workers=8 # limited to 1 ccx without smt # utmp-helper=/usr/lib/utempter/utempter # When utmp backend is ‘libutempter’ (Linux) # utmp-helper=/usr/libexec/ulog-helper # When utmp backend is ‘ulog’ (FreeBSD) +# uppercase-regex-insert=yes + [environment] # name=value +[security] +# osc52=enabled # disabled|copy-enabled|paste-enabled|enabled + [bell] +# system=yes # urgent=no -notify=no -visual=no +# notify=no +# visual=no # command= # 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} --replace-id ${replace-id} ${action-argument} --print-id -- ${title} ${body} +# 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] -# lines=1000 lines=32768 multiplier=3.0 + # indicator-position=relative -# indicator-format="" indicator-format=percentage [url] -launch=xdg-open ${url} -# launch=qutebrowser --target=tab --untrusted-args ${url} +# launch=xdg-open ${url} # label-letters=sadfjklewcmpgh -label-letters=asdfghjkl # osc8-underline=url-mode -# protocols=http, https, ftp, ftps, file, gemini, gopher -# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[] +# regex=(((https?://|mailto:|ftp://|file:|ssh:|ssh://|git://|tel:|magnet:|ipfs://|ipns://|gemini://|gopher://|news:)|www\.)([0-9a-zA-Z:/?#@!$&*+,;=.~_%^\-]+|\([]\["0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*\)|\[[\(\)"0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*\]|"[]\[\(\)0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*"|'[]\[\(\)0-9a-zA-Z:/?#@!$&*+,;=.~_%^\-]*')+([0-9a-zA-Z/#@$&*+=~_%^\-]|\([]\["0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*\)|\[[\(\)"0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*\]|"[]\[\(\)0-9a-zA-Z:/?#@!$&'*+,;=.~_%^\-]*"|'[]\[\(\)0-9a-zA-Z:/?#@!$&*+,;=.~_%^\-]*')) + +# You can define your own regex's, by adding a section called +# 'regex:' 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= +# launch= ${match} +# +# [key-bindings] +# regex-launch=[your-fancy-name] Control+Shift+q +# regex-copy=[your-fancy-name] Control+Alt+Shift+q [cursor] # style=block -# color= # blink=yes -blink-rate=480 +# blink-rate=500 + # beam-thickness=1.5 # underline-thickness= @@ -94,17 +108,16 @@ blink-rate=480 [touch] # long-press-delay=400 -[colors] -alpha=0.777 -flash-alpha=0.5 -# # background=242424 -# # foreground=ffffff -# # flash=7f7f00 -# # flash-alpha=0.5 -# alpha=0.85 -# flash=da4453 +[colors-dark] +alpha=0.85 +# alpha-mode=default # Can be `default`, `matching` or `all` +# background=242424 +# foreground=ffffff +# flash=7f7f00 # flash-alpha=0.5 +# cursor= + ## Normal/regular colors (color palette 0-7) # regular0=242424 # black # regular1=f62b5a # red @@ -126,6 +139,7 @@ flash-alpha=0.5 # bright7=ffffff # bright white ## dimmed colors (see foot.ini(5) man page) +# dim-blend-towards=black # dim0= # ... # dim7= @@ -135,6 +149,24 @@ flash-alpha=0.5 # ... # 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 # selection-foreground= # selection-background= @@ -144,9 +176,14 @@ flash-alpha=0.5 # search-box-match= # black-on-yellow # urls= -[colors2] -alpha=0.777 -flash-alpha=0.5 +[colors-light] +# Alternative color theme, see man page foot.ini(5) +# Same builtin defaults as [color], except for: +# dim-blend-towards=white +alpha=0.85 +background=ffffff +foreground=242424 + [csd] # preferred=server @@ -164,16 +201,16 @@ flash-alpha=0.5 # button-close-color= [key-bindings] -# scrollback-up-page=Shift+Page_Up -scrollback-up-half-page=Alt+Shift+Page_Up +# 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 -scrollback-down-half-page=Alt+Shift+Page_Down +# 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 -# clipboard-copy=Control+Shift+c wl-copy -# clipboard-paste=Control+Shift+v wl-paste +# clipboard-copy=Control+Shift+c XF86Copy +# clipboard-paste=Control+Shift+v XF86Paste # primary-paste=Shift+Insert # search-start=Control+Shift+r # font-increase=Control+plus Control+equal Control+KP_Add @@ -193,13 +230,16 @@ scrollback-down-half-page=Alt+Shift+Page_Down # prompt-prev=Control+Shift+z # prompt-next=Control+Shift+x # unicode-input=Control+Shift+u +# color-theme-switch-1=none +# color-theme-switch-2=none +color-theme-toggle=Control+Shift+Alt+t # noop=none +# quit=none [search-bindings] # cancel=Control+g Control+c Escape -# commit=Return +# commit=Return KP_Enter # find-prev=Control+r -find-prev=Control+Shift+r # find-next=Control+s # cursor-left=Left Control+b # cursor-left-word=Control+Left Mod1+b @@ -211,6 +251,8 @@ find-prev=Control+Shift+r # delete-prev-word=Mod1+BackSpace Control+BackSpace # delete-next=Delete # delete-next-word=Mod1+d Control+Delete +# 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 @@ -222,12 +264,11 @@ find-prev=Control+Shift+r # clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste # primary-paste=Shift+Insert # unicode-input=none -# quit=none -# scrollback-up-page=Shift+Page_Up -scrollback-up-half-page=Shift+Alt+Page_Up +# 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 -scrollback-down-half-page=Shift+Alt+Page_Down +# 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 @@ -256,4 +297,3 @@ scrollback-down-half-page=Shift+Alt+Page_Down # select-row=BTN_LEFT-4 # vim: ft=dosini - diff --git a/dot-config/hypr/fragments/keybinds.conf b/dot-config/hypr/fragments/keybinds.conf index e69b60f3..313ce2ce 100644 --- a/dot-config/hypr/fragments/keybinds.conf +++ b/dot-config/hypr/fragments/keybinds.conf @@ -5,12 +5,16 @@ # modifiers & variables # ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── +# Mod1 = Alt_L +# Mod5 = Alt_R +# Mod4 = Super_L + $suremod = SHIFT ALT CTRL $mainmod = SUPER $fallbackterm = konsole $term = foot -$floatterm = foot -o pad=0x0 -a popup +$floatterm = foot -a popup # mainmod shortcuts # ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── @@ -56,7 +60,7 @@ bind = $suremod, L, exec, ~/.config/hypr/scripts/powermen # ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── bind = $mainmod, Print, exec, flatpak run be.alexandervanhee.gradia --screenshot=INTERACTIVE bind = SHIFT, Print, exec, flatpak run be.alexandervanhee.gradia --screenshot=FULL -bind = ALT CTRL, L, exec, qs -c noctalia-shell ipc call lockScreen lock +bind = Mod1 Mod5, L, exec, qs -c noctalia-shell ipc call lockScreen lock # media keys # ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── diff --git a/dot-config/hypr/fragments/windowrules.conf b/dot-config/hypr/fragments/windowrules.conf index 61929d0e..42aef324 100644 --- a/dot-config/hypr/fragments/windowrules.conf +++ b/dot-config/hypr/fragments/windowrules.conf @@ -21,7 +21,7 @@ windowrule { name = floating_enable float = on size = 1280 800 - match:class = ^((org.kde|ark|lxqt|vlc|pcmanfm|qalculate|kdesystemsettings|org.keepassxc|KeePassXC|gimp|clipse|openrgb|nwg-look|alsa-scarlett-gui|lstopo|org.corectrl.CoreCtrl|LACT|lutris|blueman-manager|org.freedesktop.impl.portal|be.alexandervanhee.gradia|io.missioncenter.MissionCenter|io.github.ilya_zlobintsev.LACT).*)$ + match:class = ^((org.kde|smplayer|mpv|ark|lxqt|vlc|pcmanfm|qalculate|kdesystemsettings|org.keepassxc|KeePassXC|gimp|clipse|openrgb|nwg-look|alsa-scarlett-gui|lstopo|org.corectrl.CoreCtrl|LACT|lutris|blueman-manager|org.freedesktop.impl.portal|be.alexandervanhee.gradia|io.missioncenter.MissionCenter|io.github.ilya_zlobintsev.LACT|ncmpcpp).*)$ } windowrule { diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index 76cac797..4fea37be 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -57,7 +57,6 @@ layout { } dwindle { - pseudotile = yes force_split = 2 smart_split = 0 split_width_multiplier = 2.0 @@ -119,10 +118,10 @@ decoration { input { float_switch_override_focus = 2 numlock_by_default = 1 - kb_layout = us,de - kb_variant = de_se_fi, + kb_layout = us + kb_variant = de_se_fi kb_model = - kb_options = grp:alt_caps_toggle + kb_options = kb_rules = follow_mouse = 1 @@ -192,7 +191,7 @@ misc { allow_session_lock_restore = 1 initial_workspace_tracking = 1 font_family = ZedMono NFP - enable_swallow = 1 + enable_swallow = 0 swallow_regex = ^(foot)$ size_limits_tiled = 0 session_lock_xray = 1 diff --git a/dot-config/hypr/hyprtoolkit.conf b/dot-config/hypr/hyprtoolkit.conf index d802d13a..62033f95 100644 --- a/dot-config/hypr/hyprtoolkit.conf +++ b/dot-config/hypr/hyprtoolkit.conf @@ -1,7 +1,7 @@ -background = rgba(1f1f28ff) -base = rgba(1f1f28ff) -text = rgba(dcd7baff) -alternate_base = rgba(2a2a37ff) -bright_text = rgba(1f1f28ff) -accent = rgba(c4b28aff) -accent_secondary = rgba(8ea49eff) \ No newline at end of file +background = rgba(191724ff) +base = rgba(191724ff) +text = rgba(e0def4ff) +alternate_base = rgba(26233aff) +bright_text = rgba(191724ff) +accent = rgba(ebbcbaff) +accent_secondary = rgba(9ccfd8ff) \ No newline at end of file diff --git a/dot-config/hypr/scripts/gamemode.sh b/dot-config/hypr/scripts/gamemode.sh index 0ae8bf82..e80fc97b 100755 --- a/dot-config/hypr/scripts/gamemode.sh +++ b/dot-config/hypr/scripts/gamemode.sh @@ -13,7 +13,7 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then keyword group:groupbar:rounding 0;\ keyword input:follow_mouse 0;;\ keyword input:float_switch_override_focus 2;" - echo on > "$HOME/.cache/hyprgamemode" + echo "on" > "$HOME/.cache/hyprgamemode" exit fi hyprctl reload;