From 49dae6be39a6a3c7c694e69a652bd43d240df01e Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Mon, 30 Mar 2026 16:01:46 +0200 Subject: [PATCH] misc edits: foot, nvim, sway, qute --- CONFIG/foot/foot.ini | 47 +++--------------------------------- CONFIG/nvim/init.lua | 8 ------ CONFIG/qutebrowser/config.py | 2 +- CONFIG/sway/config | 18 +++++++------- 4 files changed, 13 insertions(+), 62 deletions(-) diff --git a/CONFIG/foot/foot.ini b/CONFIG/foot/foot.ini index 4a433d1..9c788e2 100644 --- a/CONFIG/foot/foot.ini +++ b/CONFIG/foot/foot.ini @@ -32,6 +32,9 @@ dpi-aware=yes # selection-target=primary # workers= +[main] +include=/usr/share/foot/themes/gruvbox + [environment] SYSTEMD_EDITOR=/usr/bin/nvim EDITOR=/usr/bin/nvim @@ -68,50 +71,6 @@ lines=100000 # hide-when-typing=no # alternate-scroll-mode=yes -[colors-dark] -alpha=0.9 # Adjust alpha to change transparency level -foreground=cdd6f4 -background=1e1e2e -cursor=11111b f5e0dc - -regular0=45475a -regular1=f38ba8 -regular2=a6e3a1 -regular3=f9e2af -regular4=89b4fa -regular5=f5c2e7 -regular6=94e2d5 -regular7=bac2de - -bright0=585b70 -bright1=f38ba8 -bright2=a6e3a1 -bright3=f9e2af -bright4=89b4fa -bright5=f5c2e7 -bright6=94e2d5 -bright7=a6adc8 - -## dimmed colors (see foot.ini(5) man page) -# dim0= -# ... -# dim7= - -## The remaining 256-color palette -16=fab387 -17=f5e0dc -# ... -# 255 = <256-color palette #255> - -# Misc colors -selection-foreground=cdd6f4 -selection-background=414356 -jump-labels=11111b fab387 -# scrollback-indicator= # black-on-bright-blue -search-box-no-match=11111b f38ba8 -search-box-match=cdd6f4 313244 -urls=89b4fa - [csd] # preferred=server size=0 diff --git a/CONFIG/nvim/init.lua b/CONFIG/nvim/init.lua index 68bbe13..934f924 100644 --- a/CONFIG/nvim/init.lua +++ b/CONFIG/nvim/init.lua @@ -331,14 +331,6 @@ vim.api.nvim_create_user_command("ConvertEOL", function(opts) }) end, { nargs = 1 }) --- fix diff colors on some color schemes --- https://codeyarns.com/tech/2011-07-29-vim-chart-of-color-names.html -vim.api.nvim_create_user_command("FixColors", function() - vim.api.nvim_set_hl(0, "CustomCursor", { fg = "salmon1", bg = "cyan" }) - vim.api.nvim_set_hl(0, "CustomICursor", { fg = "salmon1", bg = "cyan" }) - vim.api.nvim_set_hl(0, "ColorColumn", { bg = "salmon4" }) -end, {}) - -- ---------------------------------------- -- SPECS -- ---------------------------------------- diff --git a/CONFIG/qutebrowser/config.py b/CONFIG/qutebrowser/config.py index b6b42a3..49f05f1 100644 --- a/CONFIG/qutebrowser/config.py +++ b/CONFIG/qutebrowser/config.py @@ -16,8 +16,8 @@ config.bind("", "tab-clone -w") config.bind("", "tab-clone -t") config.bind("", "restart", mode="normal") config.bind("", "history") -config.bind("", "config-cycle colors.webpage.darkmode.enabled true false") config.bind("", "edit-url") +config.bind("", "config-cycle colors.webpage.darkmode.enabled true false") config.bind("", "config-cycle tabs.position top left") config.bind("", "devtools") config.bind("", "view-source") diff --git a/CONFIG/sway/config b/CONFIG/sway/config index a47a25a..ff963dd 100644 --- a/CONFIG/sway/config +++ b/CONFIG/sway/config @@ -157,15 +157,15 @@ bindsym { floating_modifier $mod normal bindsym { # Resize with arrow keys - $mod+ctrl+Right resize shrink width 10 px - $mod+ctrl+Up resize grow height 10 px - $mod+ctrl+Down resize shrink height 10 px - $mod+ctrl+Left resize grow width 10 px + $mod+ctrl+Right resize shrink width 100 px + $mod+ctrl+Up resize grow height 100 px + $mod+ctrl+Down resize shrink height 100 px + $mod+ctrl+Left resize grow width 100 px # Resize with Vim keys - $mod+ctrl+$right resize shrink width 10 px - $mod+ctrl+$up resize grow height 10 px - $mod+ctrl+$down resize shrink height 10 px - $mod+ctrl+$left resize grow width 10 px + $mod+ctrl+$right resize shrink width 100 px + $mod+ctrl+$up resize grow height 100 px + $mod+ctrl+$down resize shrink height 100 px + $mod+ctrl+$left resize grow width 100 px } # Resize floating windows with mouse scroll bindsym --whole-window --border { @@ -294,7 +294,7 @@ exec_always swayidle -w \ idlehint 240 # Start foot server -exec_always --no-startup-id foot --server +exec systemctl --user enable --now foot-server.service exec { # Desktop notifications