From 1208eb4165774d271e35e2465d8a32ca91c7937c Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 26 Feb 2025 10:40:18 -0500 Subject: [PATCH] AutoYADM commit: 2025-02-26 10:40:18 --- .config/niri/config.kdl | 9 +++++---- .config/waybar/config | 17 +++++++++++++++-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index c883c554..eac267be 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -20,7 +20,7 @@ input { // dwt // dwtp // drag-lock - natural-scroll + // natural-scroll // accel-speed 0.2 // accel-profile "flat" scroll-method "two-finger" @@ -75,7 +75,7 @@ layout { // - "always", the focused column will always be centered. // - "on-overflow", focusing a column will center it if it doesn't fit // together with the previously focused column. - center-focused-column "on-overflow" + center-focused-column "never" // You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between. preset-column-widths { @@ -239,6 +239,7 @@ animations { // Slow down all animations by this factor. Values below 1 speed them up instead. // slowdown 3.0 + slowdown 0.7 } // Window rules let you adjust behavior for individual windows. @@ -273,7 +274,7 @@ window-rule { // Example: block out two password managers from screen capture. // (This example rule is commented out with a "/-" in front.) -/-window-rule { +window-rule { match app-id=r#"^org\.keepassxc\.KeePassXC$"# match app-id=r#"^org\.gnome\.World\.Secrets$"# match app-id=r#"^Bitwarden$"# @@ -320,7 +321,7 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+Return { spawn "footclient"; } Mod+D { spawn "fuzzel" "--hide-before-typing" "-I" "--placeholder=Select an application:"; } - Mod+Ctrl+semicolon { spawn "swaylock"; } + Mod+Ctrl+semicolon { spawn "swaylock" "-c" "121212" "-e" "-f" "-F"; } // You can also use a shell. Do this if you need pipes, multiple commands, etc. // Note: the entire command goes as a single argument in the end. diff --git a/.config/waybar/config b/.config/waybar/config index e8b41915..df5747ff 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -18,9 +18,22 @@ "sway/window": { "max-length": 50 }, + // "niri/workspaces": { + // "disable-scroll": false, + // }, "niri/workspaces": { - "disable-scroll": false, - }, + "format": "{icon}", + "format-icons": { + // Named workspaces + // (you need to configure them in niri) + "browser": "", + "discord": "", + "chat": "", + // Icons by state + "active": "", + "default": "" + } + } // "sway/workspaces": { // "disable-scroll" : false, // },