From f3d4eeedd6bb84e2d6095aa34a2d4b93f1d329f8 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Tue, 27 Jan 2026 12:34:55 -0500 Subject: [PATCH] updated --- configs/hypr/dms/colors.conf | 25 ++ configs/niri/config.kdl | 1 + configs/niri/config.kdl.dmsbackup1769533267 | 340 ++++++++++++++++++++ configs/niri/dms/alttab.kdl | 13 +- configs/niri/dms/binds.kdl | 0 configs/niri/dms/colors.kdl | 21 +- configs/niri/dms/cursor.kdl | 0 configs/niri/dms/layout.kdl | 33 +- configs/niri/dms/outputs.kdl | 0 configs/niri/dms/wpblur.kdl | 7 +- 10 files changed, 412 insertions(+), 28 deletions(-) create mode 100644 configs/hypr/dms/colors.conf create mode 100644 configs/niri/config.kdl.dmsbackup1769533267 create mode 100644 configs/niri/dms/binds.kdl create mode 100644 configs/niri/dms/cursor.kdl create mode 100644 configs/niri/dms/outputs.kdl diff --git a/configs/hypr/dms/colors.conf b/configs/hypr/dms/colors.conf new file mode 100644 index 0000000..30f8195 --- /dev/null +++ b/configs/hypr/dms/colors.conf @@ -0,0 +1,25 @@ +# ! Auto-generated file. Do not edit directly. +# Remove source = ./dms/colors.conf from your config to override. + +$primary = rgb(42a5f5) +$outline = rgb(8c9199) +$error = rgb(f2b8b5) + +general { + col.active_border = $primary + col.inactive_border = $outline +} + +group { + col.border_active = $primary + col.border_inactive = $outline + col.border_locked_active = $error + col.border_locked_inactive = $outline + + groupbar { + col.active = $primary + col.inactive = $outline + col.locked_active = $error + col.locked_inactive = $outline + } +} diff --git a/configs/niri/config.kdl b/configs/niri/config.kdl index e447757..f895893 100644 --- a/configs/niri/config.kdl +++ b/configs/niri/config.kdl @@ -338,3 +338,4 @@ recent-windows { // match app-id=r#"^Slack$"# // open-on-workspace "chat" // } +include "dms/binds.kdl" diff --git a/configs/niri/config.kdl.dmsbackup1769533267 b/configs/niri/config.kdl.dmsbackup1769533267 new file mode 100644 index 0000000..e447757 --- /dev/null +++ b/configs/niri/config.kdl.dmsbackup1769533267 @@ -0,0 +1,340 @@ +// https://github.com/YaLTeR/niri/wiki/Configuration:-Input +input { + touchpad { + tap + natural-scroll + } +} +overview { + backdrop-color "#777777" +} +cursor { + // xcursor-theme "breeze_cursors" + xcursor-size 48 + hide-when-typing +} + +environment { + QT_QPA_PLATFORM "wayland" + QT_WAYLAND_DISABLE_WINDOWDECORATION "1" + NIXOS_OZONE_WL "1" + DISPLAY ":0" + ELECTRON_OZONE_PLATFORM_HINT "auto" +} + +// ========================= +// Programs to start on startup +// ========================= + +window-rule { + match app-id=r#"^Slack$"# + match app-id=r#"^signal$"# + open-focused true +} + + +// ========================= +// Outputs +// ========================= +output "BOE 0x0BCA Unknown" { + mode "2256x1504@60" + scale 1 + transform "normal" + position x=0 y=0 +} +// Portable Azopa +output "PNP(GWD) ARZOPA \\x15\\xd9F\\x1675US0000" { + mode "1920x1080@60" + scale 1 + transform "normal" + position x=-1920 y=0 +} +// Two Screens in Office +output "Samsung Electric Company S22R35x H4TR604392" { + mode "1920x1080@74.973" + scale 1 + transform "normal" + position x=-960 y=-1080 +} + +output "Samsung Electric Company S22R35x H4TR503886" { + mode "1920x1080@74.973" + scale 1 + transform "normal" + position x=980 y=-1080 +} + +// Office +output "Dell Inc. DELL SE3223Q 1WDWKK3" { + scale 2 + position x=0 y=-1080 +} +output "Dell Inc. DELL SE3223Q 1TRXKK3" { + scale 2 + position x=1920 y=-1080 +} + +// ========================= +// General layout +// ========================= +layout { + gaps 8 + center-focused-column "never" + tab-indicator { + width 8 + gap 8 + length total-proportion=1.0 + hide-when-single-tab + position "top" + place-within-column + } + shadow {} + preset-column-widths { + proportion 0.33333 + proportion 0.5 + proportion 0.66667 + } + default-column-width { proportion 0.5; } + focus-ring { + width 4 + active-gradient from="#ff06" to="#af0f" angle=45 in="oklch longer hue" + inactive-color "#505050" + } + border { + off + } + insert-hint { + color "#ffc87f80" + gradient from="#ffbb6680" to="#ffc88080" angle=45 relative-to="workspace-view" + } +} +prefer-no-csd +window-rule { + geometry-corner-radius 6 + tiled-state true +} +animations { + window-movement { + duration-ms 250 + } + workspace-switch { + duration-ms 250 + } + horizontal-view-movement { + duration-ms 250 + } +} + +// ========================= +// Screen Shots +// ========================= +screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" + +// ========================= +// Window Rules +// ========================= +// Open the Firefox picture-in-picture player as floating by default. +window-rule { + match app-id="org.pipewire.Helvum" + + open-focused true + open-floating true + default-floating-position x=0 y=25 relative-to="top" + default-window-height { proportion 0.8; } + default-column-width { proportion 0.75; } +} +window-rule { + match app-id=r#"firefox$"# title="^Picture-in-Picture$" + match app-id="org.pulseaudio.pavucontrol" + match app-id="Rofi" + match app-id="nm-connection-editor" + match app-id=".blueman-manager-wrapped" + match app-id=r#"^org.gnome.Calendar$"# + match app-id=r#"^gcr-prompter$"# + match app-id=r#"^xdg-desktop-portal-gnome$"# + match app-id=r#"^nm-applet$"# + match app-id=r#"^chrome-.*"# + match app-id="waypaper" + match title="$Huddle:.*" app-id="Slack" + + open-focused true + open-floating true + default-floating-position x=0 y=25 relative-to="top" + default-window-height { proportion 0.5; } + default-column-width { proportion 0.25; } +} +window-rule { + match is-active=false + opacity 0.85 +} +window-rule { + match is-urgent=true + open-focused true +} +window-rule { + match app-id="satty" + open-focused true + open-floating true + min-width 800 + min-height 400 + default-floating-position x=-200 y=200 relative-to="top" + + default-window-height { proportion 0.75; } + default-column-width { proportion 0.75; } +} +window-rule { + match app-id="code" + match app-id="org.shotcut.Shotcut" + exclude app-id=r#"^code$"# title=r#"^Visual Studio Code$"# + + open-fullscreen false + open-floating false + open-maximized true + open-focused true + opacity 0.95 +} +window-rule { + match app-id=r"Bitwarden" + match app-id="Sparrow" + match title="Bitwarden" + block-out-from "screen-capture" + shadow { + on + } + focus-ring { + width 4 + active-color "#f00f" + inactive-color "#f00f" + } +} +// ========================= +// General Stuff +// ========================= +switch-events { + lid-close { spawn "notify-send" "The laptop lid is closed!"; } + lid-open { spawn "notify-send" "The laptop lid is open!"; } +} +hotkey-overlay { + skip-at-startup +} + +// ========================= +// General binds +// ========================= +binds { + Mod+Shift+H { show-hotkey-overlay; } + Mod+T { spawn "ghostty"; } + Mod+Space { spawn "dms" "ipc" "call" "spotlight" "toggle"; } + Mod+Z { spawn "flatpak" "run" "app.zen_browser.zen"; } + Mod+B { spawn "chromium"; } + Mod+E { spawn "wofi-emoji"; } + XF86AudioRaiseVolume allow-when-locked=true { spawn "dms" "ipc" "call" "audio" "increment" "10"; } + XF86AudioLowerVolume allow-when-locked=true { spawn "dms" "ipc" "call" "audio" "decrement" "10"; } + XF86AudioMute allow-when-locked=true { spawn "dms" "ipc" "call" "audio" "mute"; } + XF86AudioMicMute allow-when-locked=true { spawn "dms" "ipc" "call" "audio" "micmute"; } + XF86MonBrightnessUp allow-when-locked=true { spawn "dms" "ipc" "call" "brightness" "increment" "10" ""; } + XF86MonBrightnessDown allow-when-locked=true { spawn "dms" "ipc" "call" "brightness" "decrement" "10" ""; } + + // XF86AudioRaiseVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "raise"; } + // XF86AudioLowerVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "lower"; } + // XF86AudioMute allow-when-locked=true { spawn "swayosd-client" "--output-volume" "mute-toggle"; } + // XF86AudioMicMute allow-when-locked=true { spawn "swayosd-client" "--input-volume" "mute-toggle"; } + // XF86MonBrightnessUp allow-when-locked=true { spawn "swayosd-client" "--brightness" "raise"; } + // XF86MonBrightnessDown allow-when-locked=true { spawn "swayosd-client" "--brightness" "lower"; } + + Mod+Alt+L { spawn "/run/current-system/sw/bin/makoctl" "dismiss" "-a"; } + + Mod+Left { focus-column-left; } + Mod+Down { focus-workspace-down; } + Mod+Up { focus-workspace-up; } + Mod+Right { focus-column-right; } + + Mod+Tab { toggle-overview; } + Mod+Shift+Tab { focus-monitor-next; } + + Mod+Ctrl+Right { swap-window-right; } + Mod+Ctrl+Left { swap-window-left; } + Mod+Ctrl+Up { move-window-to-workspace-up; } + Mod+Ctrl+Down { move-window-to-workspace-down; } + + Mod+W { toggle-column-tabbed-display; } + Mod+F { maximize-column; } + Mod+Shift+F { fullscreen-window; } + Mod+Ctrl+F { reset-window-height; } + Mod+V { toggle-window-floating; } + + Mod+C { center-column; } + + Mod+Minus { set-column-width "-10%"; } + Mod+Equal { set-column-width "+10%"; } + + Mod+Shift+Minus { set-window-height "-10%"; } + Mod+Shift+Equal { set-window-height "+10%"; } + + Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } + Print { spawn "sh" "-c" "grim -g \"$(slurp)\" - | satty -f -"; } + Mod+P { spawn "sh" "-c" "grim -g \"$(slurp)\" - | satty -f -"; } + + Mod+R { spawn "/home/ari/.config/niri/screen-record.sh"; } + + Ctrl+Alt+Delete { quit; } + Mod+Q { close-window; } + + // Mod+Ctrl+W { + // spawn "sh" "-c" "/home/ari/.config/niri/start-up-script.sh"; + // } +} + +// spawn-at-startup "/home/ari/.config/niri/start-up-script.sh" + + +recent-windows { + // off + debounce-ms 750 + + open-delay-ms 150 + + highlight { + active-color "#999999ff" + urgent-color "#ff9999ff" + padding 30 + corner-radius 0 + } + + previews { + max-height 480 + max-scale 0.5 + } + + binds { + Alt+Tab { next-window; } + Alt+Shift+Tab { previous-window; } + Alt+grave { next-window filter="app-id"; } + Alt+Shift+grave { previous-window filter="app-id"; } + + Mod+Tab { next-window; } + Mod+Shift+Tab { previous-window; } + Mod+grave { next-window filter="app-id"; } + Mod+Shift+grave { previous-window filter="app-id"; } + } +} + +// workspace "chat" { +// layout { +// gaps 4 +// border { +// off +// } +// focus-ring { +// width 4 +// active-color "#ff0" +// inactive-color "#ff0" +// } +// background-color "#ff0" +// } +// } + +// window-rule { +// match app-id=r#"^Slack$"# +// open-on-workspace "chat" +// } diff --git a/configs/niri/dms/alttab.kdl b/configs/niri/dms/alttab.kdl index 91d8337..091ea07 100644 --- a/configs/niri/dms/alttab.kdl +++ b/configs/niri/dms/alttab.kdl @@ -1,5 +1,10 @@ -recent-windows { - highlight { +// ! DO NOT EDIT ! + // ! AUTO-GENERATED BY DMS ! + // ! CHANGES WILL BE OVERWRITTEN ! + // ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! + + recent-windows { + highlight { corner-radius 12 - } -} + } + } diff --git a/configs/niri/dms/binds.kdl b/configs/niri/dms/binds.kdl new file mode 100644 index 0000000..e69de29 diff --git a/configs/niri/dms/colors.kdl b/configs/niri/dms/colors.kdl index 96e10b9..7e6101c 100644 --- a/configs/niri/dms/colors.kdl +++ b/configs/niri/dms/colors.kdl @@ -1,15 +1,18 @@ +// ! Auto-generated file. Do not edit directly. +// Remove `include "dms/colors.kdl"` from your config to override. + layout { background-color "transparent" focus-ring { - active-color "#f9e2af" - inactive-color "#6c7086" + active-color "#42a5f5" + inactive-color "#8c9199" urgent-color "#f2b8b5" } border { - active-color "#f9e2af" - inactive-color "#6c7086" + active-color "#42a5f5" + inactive-color "#8c9199" urgent-color "#f2b8b5" } @@ -18,19 +21,19 @@ layout { } tab-indicator { - active-color "#f9e2af" - inactive-color "#6c7086" + active-color "#42a5f5" + inactive-color "#8c9199" urgent-color "#f2b8b5" } insert-hint { - color "#f9e2af80" + color "#42a5f580" } } recent-windows { highlight { - active-color "#6e5a2f" + active-color "#0d47a1" urgent-color "#f2b8b5" } -} \ No newline at end of file +} diff --git a/configs/niri/dms/cursor.kdl b/configs/niri/dms/cursor.kdl new file mode 100644 index 0000000..e69de29 diff --git a/configs/niri/dms/layout.kdl b/configs/niri/dms/layout.kdl index f7fa83c..f8f8e4f 100644 --- a/configs/niri/dms/layout.kdl +++ b/configs/niri/dms/layout.kdl @@ -1,17 +1,22 @@ -layout { - gaps 5 +// ! DO NOT EDIT ! + // ! AUTO-GENERATED BY DMS ! + // ! CHANGES WILL BE OVERWRITTEN ! + // ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! - border { - width 2 - } + layout { + gaps 5 - focus-ring { + border { width 2 - } -} -window-rule { - geometry-corner-radius 12 - clip-to-geometry true - tiled-state true - draw-border-with-background false -} + } + + focus-ring { + width 2 + } + } + window-rule { + geometry-corner-radius 12 + clip-to-geometry true + tiled-state true + draw-border-with-background false + } diff --git a/configs/niri/dms/outputs.kdl b/configs/niri/dms/outputs.kdl new file mode 100644 index 0000000..e69de29 diff --git a/configs/niri/dms/wpblur.kdl b/configs/niri/dms/wpblur.kdl index 88ac831..3d58802 100644 --- a/configs/niri/dms/wpblur.kdl +++ b/configs/niri/dms/wpblur.kdl @@ -1,4 +1,9 @@ +// ! DO NOT EDIT ! +// ! AUTO-GENERATED BY DMS ! +// ! CHANGES WILL BE OVERWRITTEN ! +// ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! + layer-rule { match namespace="dms:blurwallpaper" place-within-backdrop true -} \ No newline at end of file +}