]> Freerunner's - dotfiles.git/commitdiff
foot: clean-up config
authorAndre Ramnitz <tux.rising@gmail.com>
Wed, 8 Apr 2026 14:24:16 +0000 (16:24 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Wed, 8 Apr 2026 14:50:03 +0000 (16:50 +0200)
dot-config/foot/bash.ini
dot-config/foot/foot.ini
dot-config/hypr/fragments/keybinds.conf
dot-config/hypr/fragments/windowrules.conf
dot-config/hypr/hyprland.conf
dot-config/hypr/hyprtoolkit.conf
dot-config/hypr/scripts/gamemode.sh

index 9ab169e83c948814c28a07602bf39754d41e810b..55a6f3ba4e4842645b97abdff41a1b108e8578e0 100644 (file)
@@ -1,5 +1,6 @@
 # -*- conf -*-
+
+[main]
 include=~/.config/foot/foot.ini
 shell=/bin/bash
-# vim: ft=dosini
 
index 10fbe93dc3feb51418b987fd51dbd0ec258933de..24995ae2133a9bd9d468705ae7ca3a8cfefad488 100644 (file)
@@ -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=<bold variant of regular font>
+font=ZedMono Nerd Font Propo:size=12:weight=normal
+font-bold=ZedMono Nerd Font Propo:size=12:weight=bold
 # font-italic=<italic variant of regular font>
 # font-bold-italic=<bold+italic variant of regular font>
 # 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=<font metrics>
 # letter-spacing=0
 # horizontal-letter-offset=0
 # vertical-letter-offset=0
 # underline-offset=<font metrics>
 # underline-thickness=<font underline thickness>
+# strikeout-thickness=<font 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=<COLSxROWS>
 # 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:<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]
 # style=block
-# color=<inverse foreground/background>
 # blink=yes
-blink-rate=480
+# blink-rate=500
+
 # beam-thickness=1.5
 # underline-thickness=<font 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=<inverse foreground/background>
+
 ## 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=<not set>
 # ...
 # dim7=<not-set>
@@ -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=<inverse foreground/background>
 # selection-background=<inverse foreground/background>
@@ -144,9 +176,14 @@ flash-alpha=0.5
 # search-box-match=<regular0> <regular3>     # black-on-yellow
 # urls=<regular3>
 
-[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=<regular1>
 
 [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
-
index e69b60f32620ba57cf7718935978baa21f9a3c33..313ce2ced9cdfebc4dcad011541ae3d48158763e 100644 (file)
@@ -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
 # ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
index 61929d0e913b46e732703abeb70256ed06d14ec1..42aef324e7ec5687dab14d52396f720b86bce0d7 100644 (file)
@@ -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 {
index 76cac797bbd84bf1eef81430c69cc35acf0d600a..4fea37bed07763ab2bf9f461fbd2ae3991859f3f 100644 (file)
@@ -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
index d802d13ae4b0e8bedc087d68cbb99774d80597f3..62033f955c4f848a4300eebf1794758169ef348b 100644 (file)
@@ -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
index 0ae8bf820ef0059e8f70bb5dd58729419e6d6211..e80fc97bf3b1961b77f559320aeb065bf122867e 100755 (executable)
@@ -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;