From 78631cec284850cf381953bafb43507c4f436165 Mon Sep 17 00:00:00 2001 From: Vivian Elisabeth H <36878099+SparkleDEV@users.noreply.github.com> Date: Thu, 1 Jan 2026 03:00:28 +0100 Subject: [PATCH] Setup dms shell --- ghostty/.config/ghostty/config-dankcolors | 22 ++++ niri/.config/niri/config.kdl | 44 +++++-- niri/.config/niri/dms/alttab.kdl | 5 + niri/.config/niri/dms/colors.kdl | 36 ++++++ niri/.config/niri/dms/layout.kdl | 17 +++ niri/.config/niri/dms/wpblur.kdl | 4 + packages.txt | 8 +- qt6ct/.config/qt6ct/colors/matugen.conf | 144 ++++++++++++++++++++++ setup.sh | 2 +- 9 files changed, 267 insertions(+), 15 deletions(-) create mode 100644 ghostty/.config/ghostty/config-dankcolors create mode 100644 niri/.config/niri/dms/alttab.kdl create mode 100644 niri/.config/niri/dms/colors.kdl create mode 100644 niri/.config/niri/dms/layout.kdl create mode 100644 niri/.config/niri/dms/wpblur.kdl create mode 100644 qt6ct/.config/qt6ct/colors/matugen.conf diff --git a/ghostty/.config/ghostty/config-dankcolors b/ghostty/.config/ghostty/config-dankcolors new file mode 100644 index 0000000..a134579 --- /dev/null +++ b/ghostty/.config/ghostty/config-dankcolors @@ -0,0 +1,22 @@ +background = #191112 +foreground = #f0dee0 +cursor-color = #e91e63 +selection-background = #4a0e2f +selection-foreground = #f0dee0 + +palette = 0=#191112 +palette = 1=#d25e38 +palette = 2=#6ed686 +palette = 3=#cddb7b +palette = 4=#db5276 +palette = 5=#d4587e +palette = 6=#f32d6b +palette = 7=#abb2bf +palette = 8=#5c6370 +palette = 9=#e07f5f +palette = 10=#86e09a +palette = 11=#dce897 +palette = 12=#ffb8c7 +palette = 13=#bb5787 +palette = 14=#b3606f +palette = 15=#ffffff diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl index c501258..893e9b1 100644 --- a/niri/.config/niri/config.kdl +++ b/niri/.config/niri/config.kdl @@ -71,7 +71,7 @@ input { // Focus windows and outputs automatically when moving the mouse into them. // Setting max-scroll-amount="0%" makes it work only on windows already fully on screen. - // focus-follows-mouse max-scroll-amount="0%" + focus-follows-mouse max-scroll-amount="50%" } // You can configure outputs by their name, which you can find @@ -279,9 +279,8 @@ layout { // See the binds section below for more spawn examples. // This line starts waybar, a commonly used bar for Wayland compositors. -spawn-at-startup "waybar" -spawn-at-startup "swaync" -spawn-at-startup "swww-daemon" +spawn-at-startup "bash" "-c" "wl-paste --watch cliphist store &" // For dms clipboard history +spawn-at-startup "qs" "-c" "dms" // spawn-at-startup "kwalletd6" spawn-sh-at-startup "gnome-keyring-daemon -r -d" spawn-at-startup "vesktop" @@ -291,7 +290,7 @@ spawn-at-startup "vesktop" hotkey-overlay { // Uncomment this line to disable the "Important Hotkeys" pop-up at startup. - // skip-at-startup + skip-at-startup } // Uncomment this line to ask the clients to omit their client-side decorations if possible. @@ -392,13 +391,36 @@ binds { // Most actions that you can bind here can also be invoked programmatically with // `niri msg action do-something`. + // ######### + // ## dms ## + // ######### + + Mod+Space hotkey-overlay-title="Application Launcher" { + spawn "qs" "-c" "dms" "ipc" "call" "spotlight" "toggle"; + } + Mod+V hotkey-overlay-title="Clipboard Manager" { + spawn "qs" "-c" "dms" "ipc" "call" "clipboard" "toggle"; + } + Mod+P hotkey-overlay-title="Notepad" { + spawn "qs" "-c" "dms" "ipc" "call" "notepad" "toggle"; + } + xF86AudioPlay { + spawn-sh "qs -c dms ipc call mpris playPause"; + } + xF86AudioNext { + spawn-sh "qs -c dms ipc call mpris next"; + } + xF86AudioPrev { + spawn-sh "qs -c dms ipc call mpris previous"; + } + // Mod-Shift-/, which is usually the same as Mod-?, // shows a list of important hotkeys. Mod+Shift+S { show-hotkey-overlay; } // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+Return hotkey-overlay-title="Open a Terminal: GhosTTY" { spawn "ghostty"; } - Mod+Space hotkey-overlay-title="Run an Application: wofi" { spawn-sh "wofi --show drun"; } + // Mod+Space hotkey-overlay-title="Run an Application: wofi" { spawn-sh "wofi --show drun"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } Mod+E hotkey-overlay-title="Open file manager: Dolphin" { spawn "dolphin"; } // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. @@ -417,7 +439,7 @@ binds { // Example brightness key mappings for brightnessctl. // You can use regular spawn with multiple arguments too (to avoid going through "sh"), // but you need to manually put each argument in separate "" quotes. - XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; } + XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%+"; } XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; } // Open/close the Overview: a zoomed-out view of workspaces and windows. @@ -572,9 +594,9 @@ binds { Mod+BracketRight { consume-or-expel-window-right; } // Consume one window from the right to the bottom of the focused column. - Mod+Comma { consume-window-into-column; } + // Mod+Comma { consume-window-into-column; } // Expel the bottom window from the focused column to the right. - Mod+Period { expel-window-from-column; } + // Mod+Period { expel-window-from-column; } Mod+R { switch-preset-column-width; } // Cycling through the presets in reverse order is also possible. @@ -609,8 +631,8 @@ binds { Mod+Shift+Plus { set-window-height "+10%"; } // Move the focused window between the floating and the tiling layout. - Mod+V { toggle-window-floating; } - Mod+Shift+V { switch-focus-between-floating-and-tiling; } + Mod+X { toggle-window-floating; } + Mod+Shift+X { switch-focus-between-floating-and-tiling; } // Toggle tabbed column display mode. // Windows in this column will appear as vertical tabs, diff --git a/niri/.config/niri/dms/alttab.kdl b/niri/.config/niri/dms/alttab.kdl new file mode 100644 index 0000000..91d8337 --- /dev/null +++ b/niri/.config/niri/dms/alttab.kdl @@ -0,0 +1,5 @@ +recent-windows { + highlight { + corner-radius 12 + } +} diff --git a/niri/.config/niri/dms/colors.kdl b/niri/.config/niri/dms/colors.kdl new file mode 100644 index 0000000..0312130 --- /dev/null +++ b/niri/.config/niri/dms/colors.kdl @@ -0,0 +1,36 @@ +layout { + background-color "transparent" + + focus-ring { + active-color "#e91e63" + inactive-color "#9f8c8e" + urgent-color "#f2b8b5" + } + + border { + active-color "#e91e63" + inactive-color "#9f8c8e" + urgent-color "#f2b8b5" + } + + shadow { + color "#00000070" + } + + tab-indicator { + active-color "#e91e63" + inactive-color "#9f8c8e" + urgent-color "#f2b8b5" + } + + insert-hint { + color "#e91e6380" + } +} + +recent-windows { + highlight { + active-color "#4a0e2f" + urgent-color "#f2b8b5" + } +} \ No newline at end of file diff --git a/niri/.config/niri/dms/layout.kdl b/niri/.config/niri/dms/layout.kdl new file mode 100644 index 0000000..36c08f3 --- /dev/null +++ b/niri/.config/niri/dms/layout.kdl @@ -0,0 +1,17 @@ +layout { + gaps 4 + + border { + width 2 + } + + 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/niri/.config/niri/dms/wpblur.kdl b/niri/.config/niri/dms/wpblur.kdl new file mode 100644 index 0000000..88ac831 --- /dev/null +++ b/niri/.config/niri/dms/wpblur.kdl @@ -0,0 +1,4 @@ +layer-rule { + match namespace="dms:blurwallpaper" + place-within-backdrop true +} \ No newline at end of file diff --git a/packages.txt b/packages.txt index ab62152..9b50b25 100644 --- a/packages.txt +++ b/packages.txt @@ -1,6 +1,10 @@ arrpc +brightnessctl btop candy-icons-git +cava +cliphist +dms-shell eza fastfetch fuzzel @@ -10,6 +14,7 @@ git gnome-keyring hyfetch kvantum +matugen-bin ncdu neovim oh-my-posh @@ -17,13 +22,10 @@ otf-linja-pona power-profiles-daemon qt6ct-kde reflector -swaync -swww tealdeer ttf-sourcecodepro-nerd vesktop vim -waypaper wl-clipboard xdg-desktop-portal-gnome xdg-desktop-portal-gtk diff --git a/qt6ct/.config/qt6ct/colors/matugen.conf b/qt6ct/.config/qt6ct/colors/matugen.conf new file mode 100644 index 0000000..be1d099 --- /dev/null +++ b/qt6ct/.config/qt6ct/colors/matugen.conf @@ -0,0 +1,144 @@ +[ColorScheme] +active_colors=#f0dee0, #191112, #261d1e, #9f8c8e, #524345, #524345, #f0dee0, #000000, #f0dee0, #191112, #191112, #000000, #e91e63, #000000, #f8bbd9, #f8bbd9, #191112, #191112, #191112, #d6c2c3, #d6c2c3 +disabled_colors=#d6c2c3, #524345, #261d1e, #9f8c8e, #524345, #524345, #d6c2c3, #d6c2c3, #d6c2c3, #524345, #524345, #000000, #524345, #d6c2c3, #d6c2c3, #d6c2c3, #524345, #524345, #524345, #d6c2c3, #d6c2c3 +inactive_colors=#d6c2c3, #191112, #261d1e, #9f8c8e, #524345, #524345, #d6c2c3, #d6c2c3, #d6c2c3, #191112, #191112, #000000, #f8bbd9, #000000, #f8bbd9, #f8bbd9, #191112, #191112, #191112, #d6c2c3, #d6c2c3 + +[ColorEffects:Disabled] +Color=214,194,195 +ColorAmount=0 +ColorEffect=0 +ContrastAmount=0.65 +ContrastEffect=1 +IntensityAmount=0.1 +IntensityEffect=2 + +[ColorEffects:Inactive] +ChangeSelectionColor=true +Color=159,140,142 +ColorAmount=0.025 +ColorEffect=2 +ContrastAmount=0.1 +ContrastEffect=2 +Enable=false +IntensityAmount=0 +IntensityEffect=0 + +[Colors:Button] +BackgroundAlternate=38,29,30 +BackgroundNormal=25,17,18 +DecorationFocus=233,30,99 +DecorationHover=233,30,99 +ForegroundActive=233,30,99 +ForegroundInactive=214,194,195 +ForegroundLink=248,187,217 +ForegroundNegative=242,184,181 +ForegroundNeutral=248,187,217 +ForegroundNormal=240,222,224 +ForegroundPositive=248,187,217 +ForegroundVisited=248,187,217 + +[Colors:Complementary] +BackgroundAlternate=38,29,30 +BackgroundNormal=25,17,18 +DecorationFocus=233,30,99 +DecorationHover=233,30,99 +ForegroundActive=233,30,99 +ForegroundInactive=214,194,195 +ForegroundLink=248,187,217 +ForegroundNegative=242,184,181 +ForegroundNeutral=248,187,217 +ForegroundNormal=240,222,224 +ForegroundPositive=248,187,217 +ForegroundVisited=248,187,217 + +[Colors:Header] +BackgroundAlternate=25,17,18 +BackgroundNormal=25,17,18 +DecorationFocus=233,30,99 +DecorationHover=233,30,99 +ForegroundActive=233,30,99 +ForegroundInactive=214,194,195 +ForegroundLink=248,187,217 +ForegroundNegative=242,184,181 +ForegroundNeutral=248,187,217 +ForegroundNormal=240,222,224 +ForegroundPositive=248,187,217 +ForegroundVisited=248,187,217 + +[Colors:Header][Inactive] +BackgroundAlternate=25,17,18 +BackgroundNormal=25,17,18 +DecorationFocus=233,30,99 +DecorationHover=233,30,99 +ForegroundActive=233,30,99 +ForegroundInactive=214,194,195 +ForegroundLink=248,187,217 +ForegroundNegative=242,184,181 +ForegroundNeutral=248,187,217 +ForegroundNormal=240,222,224 +ForegroundPositive=248,187,217 +ForegroundVisited=248,187,217 + +[Colors:Selection] +BackgroundAlternate=74,14,47 +BackgroundNormal=233,30,99 +DecorationFocus=233,30,99 +DecorationHover=233,30,99 +ForegroundActive=0,0,0 +ForegroundInactive=214,194,195 +ForegroundLink=248,187,217 +ForegroundNegative=242,184,181 +ForegroundNeutral=248,187,217 +ForegroundNormal=0,0,0 +ForegroundPositive=248,187,217 +ForegroundVisited=248,187,217 + +[Colors:Tooltip] +BackgroundAlternate=25,17,18 +BackgroundNormal=25,17,18 +DecorationFocus=233,30,99 +DecorationHover=233,30,99 +ForegroundActive=233,30,99 +ForegroundInactive=214,194,195 +ForegroundLink=248,187,217 +ForegroundNegative=242,184,181 +ForegroundNeutral=248,187,217 +ForegroundNormal=240,222,224 +ForegroundPositive=248,187,217 +ForegroundVisited=248,187,217 + +[Colors:View] +BackgroundAlternate=25,17,18 +BackgroundNormal=25,17,18 +DecorationFocus=233,30,99 +DecorationHover=233,30,99 +ForegroundActive=233,30,99 +ForegroundInactive=214,194,195 +ForegroundLink=248,187,217 +ForegroundNegative=242,184,181 +ForegroundNeutral=248,187,217 +ForegroundNormal=240,222,224 +ForegroundPositive=248,187,217 +ForegroundVisited=248,187,217 + +[Colors:Window] +BackgroundAlternate=25,17,18 +BackgroundNormal=25,17,18 +DecorationFocus=233,30,99 +DecorationHover=233,30,99 +ForegroundActive=233,30,99 +ForegroundInactive=214,194,195 +ForegroundLink=248,187,217 +ForegroundNegative=242,184,181 +ForegroundNeutral=248,187,217 +ForegroundNormal=240,222,224 +ForegroundPositive=248,187,217 +ForegroundVisited=248,187,217 + +[WM] +activeBackground=25,17,18 +activeBlend=240,222,224 +activeForeground=240,222,224 +inactiveBackground=25,17,18 +inactiveBlend=214,194,195 +inactiveForeground=214,194,195 \ No newline at end of file diff --git a/setup.sh b/setup.sh index 0022336..b8d88b9 100755 --- a/setup.sh +++ b/setup.sh @@ -35,4 +35,4 @@ sudo systemctl enable arrpc --now echo "Applying stow" cd $DOTFILES_DIR -stow fastfetch fuzzel ghostty godot hyfetch mangohud niri nvim oh-my-posh waybar wofi zsh +stow fastfetch fuzzel ghostty godot hyfetch kvantum mangohud niri nvim qt6ct zsh