Update config.kdl

This commit is contained in:
wt committed 2025-08-24 14:06:49 +07:00
1 parent 921f7496b1
commit 7c0deaae8b
1 file changed
+20 -5
+20 -5
View File
@@ -14,7 +14,7 @@ input {
// For example: // For example:
// layout "us,ru" // layout "us,ru"
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
} }
// Enable numlock on startup, omitting this setting disables it. // Enable numlock on startup, omitting this setting disables it.
@@ -254,8 +254,8 @@ layout {
// See the binds section below for more spawn examples. // See the binds section below for more spawn examples.
// This line starts waybar, a commonly used bar for Wayland compositors. // This line starts waybar, a commonly used bar for Wayland compositors.
spawn-at-startup "ags run --gtk 3" spawn-at-startup "waybar"
spawn-at-startup "hyprpaper"
// Uncomment this line to ask the clients to omit their client-side decorations if possible. // Uncomment this line to ask the clients to omit their client-side decorations if possible.
// If the client will specifically ask for CSD, the request will be honored. // If the client will specifically ask for CSD, the request will be honored.
// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. // Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
@@ -277,9 +277,8 @@ screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
animations { animations {
// Uncomment to turn off all animations. // Uncomment to turn off all animations.
// off // off
// Slow down all animations by this factor. Values below 1 speed them up instead. // Slow down all animations by this factor. Values below 1 speed them up instead.
// slowdown 3.0 // slowdown 2.0
} }
// Window rules let you adjust behavior for individual windows. // Window rules let you adjust behavior for individual windows.
@@ -317,6 +316,17 @@ window-rule {
// block-out-from "screencast" // block-out-from "screencast"
} }
window-rule {
match app-id=r#"kitty$"#
opacity 0.9
}
environment {
QT_QPA_PLATFORM "wayland"
DISPLAY ":0"
EDITOR "zed"
}
// Example: enable rounded corners for all windows. // Example: enable rounded corners for all windows.
// (This example rule is commented out with a "/-" in front.) // (This example rule is commented out with a "/-" in front.)
window-rule { window-rule {
@@ -324,6 +334,10 @@ window-rule {
clip-to-geometry true clip-to-geometry true
} }
hotkey-overlay {
skip-at-startup
}
binds { binds {
// Keys consist of modifiers separated by + signs, followed by an XKB key name // Keys consist of modifiers separated by + signs, followed by an XKB key name
// in the end. To find an XKB name for a particular key, you may use a program // in the end. To find an XKB name for a particular key, you may use a program
@@ -341,6 +355,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker. // Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; } Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; }
Mod+T hotkey-overlay-title="Open a File Manager: Thunar" { spawn "thunar"; }
Mod+D hotkey-overlay-title="Run an Application: rofi" { spawn "~/dotfiles/rofi/launcher/launcher.sh"; } Mod+D hotkey-overlay-title="Run an Application: rofi" { spawn "~/dotfiles/rofi/launcher/launcher.sh"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; }