feat(config): default background color #111111
- commit
- b011ab053acca5cc144a82ccdc5e8ad675bffb3d
- author
- brice · · 2026-09-24 15:11 UTC
- parent
- fed7c18
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3 files · +3 -3
M examples/config +1 -1
| @@ -14,7 +14,7 @@ keyboard.cmd = super | |||
| 14 | 14 | # Command for spawn-terminal and the terminal opened at startup. | |
| 15 | 15 | terminal = foot | |
| 16 | 16 | ||
| 17 | - | background = #1e1e2e | |
| 17 | + | background = #111111 | |
| 18 | 18 | ||
| 19 | 19 | # Drawn inside the window edge; width 0 disables it, empty inactive draws nothing. | |
| 20 | 20 | border.width = 2 | |
| @@ -14,7 +14,7 @@ keyboard.cmd = super | |||||
| 14 | # Command for spawn-terminal and the terminal opened at startup. | 14 | # Command for spawn-terminal and the terminal opened at startup. | ||
| 15 | terminal = foot | 15 | terminal = foot | ||
| 16 | 16 | ||||
| 17 | - | background = #1e1e2e | 17 | + | background = #111111 |
| 18 | 18 | ||||
| 19 | # Drawn inside the window edge; width 0 disables it, empty inactive draws nothing. | 19 | # Drawn inside the window edge; width 0 disables it, empty inactive draws nothing. | ||
| 20 | border.width = 2 | 20 | border.width = 2 | ||
M internal/adapters/config/config.go +1 -1
| @@ -73,7 +73,7 @@ func Defaults() ports.Config { | |||
| 73 | 73 | c.Keyboard.RepeatDelay = 600 | |
| 74 | 74 | c.Keyboard.CmdKey = "super" | |
| 75 | 75 | c.Terminal.Command = []string{"foot"} | |
| 76 | - | c.Background.Color = "#1e1e2e" | |
| 76 | + | c.Background.Color = "#111111" | |
| 77 | 77 | c.Border.Width = 2 | |
| 78 | 78 | c.Border.Active = "#b4befe" | |
| 79 | 79 | c.Layout.MaxColumns = 2 | |
| @@ -73,7 +73,7 @@ func Defaults() ports.Config { | |||||
| 73 | c.Keyboard.RepeatDelay = 600 | 73 | c.Keyboard.RepeatDelay = 600 | ||
| 74 | c.Keyboard.CmdKey = "super" | 74 | c.Keyboard.CmdKey = "super" | ||
| 75 | c.Terminal.Command = []string{"foot"} | 75 | c.Terminal.Command = []string{"foot"} | ||
| 76 | - | c.Background.Color = "#1e1e2e" | 76 | + | c.Background.Color = "#111111" |
| 77 | c.Border.Width = 2 | 77 | c.Border.Width = 2 | ||
| 78 | c.Border.Active = "#b4befe" | 78 | c.Border.Active = "#b4befe" | ||
| 79 | c.Layout.MaxColumns = 2 | 79 | c.Layout.MaxColumns = 2 | ||
M internal/adapters/config/watch_test.go +1 -1
| @@ -82,7 +82,7 @@ func TestWatch(t *testing.T) { | |||
| 82 | 82 | write(path, "background = bad\nborder.width = 5\n") | |
| 83 | 83 | select { | |
| 84 | 84 | case c := <-out: | |
| 85 | - | if c.Config.Background.Color != "#1e1e2e" || c.Config.Border.Width != 5 { | |
| 85 | + | if c.Config.Background.Color != "#111111" || c.Config.Border.Width != 5 { | |
| 86 | 86 | t.Fatalf("partial reload: %+v", c.Config) | |
| 87 | 87 | } | |
| 88 | 88 | case <-time.After(time.Second): | |
| @@ -82,7 +82,7 @@ func TestWatch(t *testing.T) { | |||||
| 82 | write(path, "background = bad\nborder.width = 5\n") | 82 | write(path, "background = bad\nborder.width = 5\n") | ||
| 83 | select { | 83 | select { | ||
| 84 | case c := <-out: | 84 | case c := <-out: | ||
| 85 | - | if c.Config.Background.Color != "#1e1e2e" || c.Config.Border.Width != 5 { | 85 | + | if c.Config.Background.Color != "#111111" || c.Config.Border.Width != 5 { |
| 86 | t.Fatalf("partial reload: %+v", c.Config) | 86 | t.Fatalf("partial reload: %+v", c.Config) | ||
| 87 | } | 87 | } | ||
| 88 | case <-time.After(time.Second): | 88 | case <-time.After(time.Second): | ||