misc edits: foot, nvim, sway, qute

This commit is contained in:
Henrik Bakken
2026-03-30 16:01:46 +02:00
parent 4c362b4a71
commit 49dae6be39
4 changed files with 13 additions and 62 deletions
+3 -44
View File
@@ -32,6 +32,9 @@ dpi-aware=yes
# selection-target=primary
# workers=<number of logical CPUs>
[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=<not set>
# ...
# dim7=<not-set>
## 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=<regular0> <bright4> # black-on-bright-blue
search-box-no-match=11111b f38ba8
search-box-match=cdd6f4 313244
urls=89b4fa
[csd]
# preferred=server
size=0
-8
View File
@@ -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
-- ----------------------------------------
+1 -1
View File
@@ -16,8 +16,8 @@ config.bind("<Ctrl+n>", "tab-clone -w")
config.bind("<Ctrl+t>", "tab-clone -t")
config.bind("<Ctrl+Shift+r>", "restart", mode="normal")
config.bind("<Ctrl+h>", "history")
config.bind("<F8>", "config-cycle colors.webpage.darkmode.enabled true false")
config.bind("<F2>", "edit-url")
config.bind("<F10>", "config-cycle colors.webpage.darkmode.enabled true false")
config.bind("<F11>", "config-cycle tabs.position top left")
config.bind("<F12>", "devtools")
config.bind("<Shift+F12>", "view-source")
+9 -9
View File
@@ -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