Replace user configuration with KDL and improve Rust source spacing

This commit is contained in:
Samuel Onoja committed 2026-09-27 05:46:51 +01:00
1 parent dbdfc5688e
commit 9e90de4e74
41 files changed
+1668 -559

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
commands {
terminal "foot"
screenshot "ferese-screenshot"
screenshot-full "ferese-screenshot" "--full"
}
input {
xkb-layout "us"
focus-follows-mouse #false
touchpad {
swipe-threshold 80
}
}
layout {
smart-gaps #false
}
theme {
surface {
bar {
background "#1C202E"
opacity 0.95
text-primary "#F0F3FA"
text-muted "#AAB4C7"
}
}
}
window-rule app-id="dev.ferese.Settings" floating=#true
window-rule title="Choose a wallpaper" floating=#true
desktop-widgets {
clock {
enabled #false
anchor "top_left"
margin-x 64
margin-y 80
time-size 72.0
date-size 18.0
opacity 0.9
}
}
-51
View File
@@ -1,51 +0,0 @@
# User configuration: ~/.config/ferese/config.toml
# Unspecified monitors use automatic placement and preferred modes.
[commands]
terminal = ["foot"]
screenshot = ["ferese-screenshot"]
screenshot-full = ["ferese-screenshot", "--full"]
[input]
xkb_layout = "us"
focus_follows_mouse = false
[input.touchpad]
swipe_threshold = 80
[layout]
smart_gaps = false
# Edge-to-edge menu bar; its foreground palette is independent of popup surfaces.
[theme.surface.bar]
background = "#1C202E"
opacity = 0.95
text_primary = "#F0F3FA"
text_muted = "#AAB4C7"
# Super+Enter opens Foot. Super+Shift+S selects a screenshot. Super+Shift+E logs out.
# See README.md for monitor profiles and additional bindings.
[[window_rules]]
app_id = "dev.ferese.Settings"
floating = true
[[window_rules]]
title = "Choose a wallpaper"
floating = true
# Optional desktop clock; all dimensions are logical pixels.
[desktop_widgets.clock]
enabled = false
anchor = "top_left"
margin_x = 64
margin_y = 80
time_size = 72.0
date_size = 18.0
opacity = 0.9
# Swipe bindings use the same actions and arguments as keyboard bindings.
# Defaults: up/down switch workspaces; left/right focus windows.
# Example override:
# [[bindings]]
# keys = "Swipe3Up"
# action = "toggle-overview"