From f0649975db8ab2ba120244d8094119f1ce4e2d66 Mon Sep 17 00:00:00 2001 From: purian23 Date: Fri, 22 Aug 2025 23:19:04 -0400 Subject: [PATCH] Update DMS to lowercase for synergy --- README.md | 74 ++++++++++++++++++++++++++--------------------------- docs/IPC.md | 64 ++++++++++++++++++++++----------------------- 2 files changed, 69 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index b754a1ff..4e1b24b1 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ paru -S dankmaterialshell-git mkdir -p ~/.config/quickshell ``` ```bash -git clone https://github.com/AvengeMedia/DankMaterialShell.git ~/.config/quickshell/DMS +git clone https://github.com/AvengeMedia/DankMaterialShell.git ~/.config/quickshell/dms ``` ```bash qs -c DankMaterialShell @@ -267,7 +267,7 @@ spawn-at-startup "/usr/lib/mate-polkit/polkit-mate-authentication-agent-1" // This may be a different path on different distributions, the above is for the arch linux mate-polkit package // Starts DankShell -spawn-at-startup "qs" "-c" "DMS" +spawn-at-startup "qs" "-c" "dms" // If using niri newer than 271534e115e5915231c99df287bbfe396185924d (~aug 17 2025) // you can add this to disable built in config load errors since dank shell provides this @@ -282,41 +282,41 @@ config-notification { // 4. For the increment/decrement ones you can change the steps to whatever you like too binds { Mod+Space hotkey-overlay-title="Application Launcher" { - spawn "qs" "-c" "DMS" "ipc" "call" "spotlight" "toggle"; + spawn "qs" "-c" "dms" "ipc" "call" "spotlight" "toggle"; } Mod+V hotkey-overlay-title="Clipboard Manager" { - spawn "qs" "-c" "DMS" "ipc" "call" "clipboard" "toggle"; + spawn "qs" "-c" "dms" "ipc" "call" "clipboard" "toggle"; } Mod+M hotkey-overlay-title="Task Manager" { - spawn "qs" "-c" "DMS" "ipc" "call" "processlist" "toggle"; + spawn "qs" "-c" "dms" "ipc" "call" "processlist" "toggle"; } Mod+N hotkey-overlay-title="Notification Center" { - spawn "qs" "-c" "DMS" "ipc" "call" "notifications" "toggle"; + spawn "qs" "-c" "dms" "ipc" "call" "notifications" "toggle"; } Mod+Comma hotkey-overlay-title="Settings" { - spawn "qs" "-c" "DMS" "ipc" "call" "settings" "toggle"; + spawn "qs" "-c" "dms" "ipc" "call" "settings" "toggle"; } Super+Alt+L hotkey-overlay-title="Lock Screen" { - spawn "qs" "-c" "DMS" "ipc" "call" "lock" "lock"; + spawn "qs" "-c" "dms" "ipc" "call" "lock" "lock"; } XF86AudioRaiseVolume allow-when-locked=true { - spawn "qs" "-c" "DMS" "ipc" "call" "audio" "increment" "3"; + spawn "qs" "-c" "dms" "ipc" "call" "audio" "increment" "3"; } XF86AudioLowerVolume allow-when-locked=true { - spawn "qs" "-c" "DMS" "ipc" "call" "audio" "decrement" "3"; + spawn "qs" "-c" "dms" "ipc" "call" "audio" "decrement" "3"; } XF86AudioMute allow-when-locked=true { - spawn "qs" "-c" "DMS" "ipc" "call" "audio" "mute"; + spawn "qs" "-c" "dms" "ipc" "call" "audio" "mute"; } XF86AudioMicMute allow-when-locked=true { - spawn "qs" "-c" "DMS" "ipc" "call" "audio" "micmute"; + spawn "qs" "-c" "dms" "ipc" "call" "audio" "micmute"; } XF86MonBrightnessUp allow-when-locked=true { - spawn "qs" "-c" "DMS" "ipc" "call" "brightness" "increment" "5" ""; + spawn "qs" "-c" "dms" "ipc" "call" "brightness" "increment" "5" ""; } // You can override the default device for e.g. keyboards by adding the device name to the last param XF86MonBrightnessDown allow-when-locked=true { - spawn "qs" "-c" "DMS" "ipc" "call" "brightness" "decrement" "5" ""; + spawn "qs" "-c" "dms" "ipc" "call" "brightness" "decrement" "5" ""; } } ``` @@ -334,7 +334,7 @@ exec-once = /usr/lib/mate-polkit/polkit-mate-authentication-agent-1 # This may be a different path on different distributions, the above is for the arch linux mate-polkit package # Starts DankShell -exec-once = qs -c DMS +exec-once = qs -c dms # Dank keybinds # 1. These should not be in conflict with any pre-existing keybindings @@ -343,23 +343,23 @@ exec-once = qs -c DMS # 4. For the increment/decrement ones you can change the steps to whatever you like too # Application and system controls -bind = SUPER, Space, exec, qs -c DMS ipc call spotlight toggle -bind = SUPER, V, exec, qs -c DMS ipc call clipboard toggle -bind = SUPER, M, exec, qs -c DMS ipc call processlist toggle -bind = SUPER, N, exec, qs -c DMS ipc call notifications toggle -bind = SUPER, comma, exec, qs -c DMS ipc call settings toggle -bind = SUPERALT, L, exec, qs -c DMS ipc call lock lock +bind = SUPER, Space, exec, qs -c dms ipc call spotlight toggle +bind = SUPER, V, exec, qs -c dms ipc call clipboard toggle +bind = SUPER, M, exec, qs -c dms ipc call processlist toggle +bind = SUPER, N, exec, qs -c dms ipc call notifications toggle +bind = SUPER, comma, exec, qs -c dms ipc call settings toggle +bind = SUPERALT, L, exec, qs -c dms ipc call lock lock # Audio controls (function keys) -bindl = , XF86AudioRaiseVolume, exec, qs -c DMS ipc call audio increment 3 -bindl = , XF86AudioLowerVolume, exec, qs -c DMS ipc call audio decrement 3 -bindl = , XF86AudioMute, exec, qs -c DMS ipc call audio mute -bindl = , XF86AudioMicMute, exec, qs -c DMS ipc call audio micmute +bindl = , XF86AudioRaiseVolume, exec, qs -c dms ipc call audio increment 3 +bindl = , XF86AudioLowerVolume, exec, qs -c dms ipc call audio decrement 3 +bindl = , XF86AudioMute, exec, qs -c dms ipc call audio mute +bindl = , XF86AudioMicMute, exec, qs -c dms ipc call audio micmute # Brightness controls (function keys) -bindl = , XF86MonBrightnessUp, exec, qs -c DMS ipc call brightness increment 5 "" +bindl = , XF86MonBrightnessUp, exec, qs -c dms ipc call brightness increment 5 "" # You can override the default device for e.g. keyboards by adding the device name to the last param -bindl = , XF86MonBrightnessDown, exec, qs -c DMS ipc call brightness decrement 5 "" +bindl = , XF86MonBrightnessDown, exec, qs -c dms ipc call brightness decrement 5 "" ``` ### IPC Commands @@ -369,24 +369,24 @@ Control everything from the command line, or via keybinds. For comprehensive doc # Audio control ```bash -qs -c DMS ipc call audio setvolume 50 -qs -c DMS ipc call audio mute +qs -c dms ipc call audio setvolume 50 +qs -c dms ipc call audio mute ``` # Launch applications ```bash -qs -c DMS ipc call spotlight toggle -qs -c DMS ipc call processlist toggle +qs -c dms ipc call spotlight toggle +qs -c dms ipc call processlist toggle ``` # System control ``` -qs -c DMS ipc call wallpaper set /path/to/image.jpg -qs -c DMS ipc call theme toggle -qs -c DMS ipc call lock lock +qs -c dms ipc call wallpaper set /path/to/image.jpg +qs -c dms ipc call theme toggle +qs -c dms ipc call lock lock ``` # Media control ``` -qs -c DMS ipc call mpris playPause -qs -c DMS ipc call mpris next +qs -c dms ipc call mpris playPause +qs -c dms ipc call mpris next ``` ## Theming @@ -563,7 +563,7 @@ All settings are configurable in **Getting help:** - Check the [issues](https://github.com/AvengeMedia/DankMaterialShell/issues) for known problems -- Share logs from `qs -c DMS` for debugging +- Share logs from `qs -c dms` for debugging - Join the niri community for compositor-specific questions ## Contributing diff --git a/docs/IPC.md b/docs/IPC.md index 4c1e5e24..725bb385 100644 --- a/docs/IPC.md +++ b/docs/IPC.md @@ -3,7 +3,7 @@ DankMaterialShell provides comprehensive IPC (Inter-Process Communication) functionality that allows external control of the shell through command-line commands. All IPC commands follow the format: ```bash -qs -c DMS ipc call [parameters...] +qs -c dms ipc call [parameters...] ``` ## Target: `audio` @@ -44,9 +44,9 @@ Audio system control and information. ### Examples ```bash -qs -c DMS ipc call audio setvolume 50 -qs -c DMS ipc call audio increment 10 -qs -c DMS ipc call audio mute +qs -c dms ipc call audio setvolume 50 +qs -c dms ipc call audio increment 10 +qs -c dms ipc call audio mute ``` ## Target: `brightness` @@ -86,9 +86,9 @@ Display brightness control for internal and external displays. ### Examples ```bash -qs -c DMS ipc call brightness set 80 -qs -c DMS ipc call brightness increment 10 "" -qs -c DMS ipc call brightness decrement 5 "intel_backlight" +qs -c dms ipc call brightness set 80 +qs -c dms ipc call brightness increment 10 "" +qs -c dms ipc call brightness decrement 5 "intel_backlight" ``` ## Target: `night` @@ -121,8 +121,8 @@ Night mode (gamma/color temperature) control. ### Examples ```bash -qs -c DMS ipc call night toggle -qs -c DMS ipc call night temperature 4000 +qs -c dms ipc call night toggle +qs -c dms ipc call night temperature 4000 ``` ## Target: `mpris` @@ -161,8 +161,8 @@ Media player control via MPRIS interface. ### Examples ```bash -qs -c DMS ipc call mpris playPause -qs -c DMS ipc call mpris next +qs -c dms ipc call mpris playPause +qs -c dms ipc call mpris next ``` ## Target: `lock` @@ -185,8 +185,8 @@ Screen lock control and status. ### Examples ```bash -qs -c DMS ipc call lock lock -qs -c DMS ipc call lock isLocked +qs -c dms ipc call lock lock +qs -c dms ipc call lock isLocked ``` ## Target: `inhibit` @@ -209,8 +209,8 @@ Idle inhibitor control to prevent automatic sleep/lock. ### Examples ```bash -qs -c DMS ipc call inhibit toggle -qs -c DMS ipc call inhibit enable +qs -c dms ipc call inhibit toggle +qs -c dms ipc call inhibit enable ``` ## Target: `wallpaper` @@ -230,8 +230,8 @@ Wallpaper management and retrieval. ### Examples ```bash -qs -c DMS ipc call wallpaper get -qs -c DMS ipc call wallpaper set /path/to/image.jpg +qs -c dms ipc call wallpaper get +qs -c dms ipc call wallpaper set /path/to/image.jpg ``` ## Target: `theme` @@ -254,8 +254,8 @@ Theme mode control (light/dark mode switching). ### Examples ```bash -qs -c DMS ipc call theme toggle -qs -c DMS ipc call theme dark +qs -c dms ipc call theme toggle +qs -c dms ipc call theme dark ``` ## Modal Controls @@ -305,19 +305,19 @@ System process list and performance modal control. ### Modal Examples ```bash # Open application launcher -qs -c DMS ipc call spotlight toggle +qs -c dms ipc call spotlight toggle # Show clipboard history -qs -c DMS ipc call clipboard open +qs -c dms ipc call clipboard open # Toggle notification center -qs -c DMS ipc call notifications toggle +qs -c dms ipc call notifications toggle # Show settings -qs -c DMS ipc call settings open +qs -c dms ipc call settings open # Show system monitor -qs -c DMS ipc call processlist toggle +qs -c dms ipc call processlist toggle ``` ## Common Usage Patterns @@ -328,10 +328,10 @@ These IPC commands are designed to be used with window manager keybindings. Exam ```kdl binds { - Mod+Space { spawn "qs" "-c" "DMS" "ipc" "call" "spotlight" "toggle"; } - Mod+V { spawn "qs" "-c" "DMS" "ipc" "call" "clipboard" "toggle"; } - XF86AudioRaiseVolume { spawn "qs" "-c" "DMS" "ipc" "call" "audio" "increment" "3"; } - XF86MonBrightnessUp { spawn "qs" "-c" "DMS" "ipc" "call" "brightness" "increment" "5" ""; } + Mod+Space { spawn "qs" "-c" "dms" "ipc" "call" "spotlight" "toggle"; } + Mod+V { spawn "qs" "-c" "dms" "ipc" "call" "clipboard" "toggle"; } + XF86AudioRaiseVolume { spawn "qs" "-c" "dms" "ipc" "call" "audio" "increment" "3"; } + XF86MonBrightnessUp { spawn "qs" "-c" "dms" "ipc" "call" "brightness" "increment" "5" ""; } } ``` @@ -344,9 +344,9 @@ IPC commands can be used in scripts for automation: # Toggle night mode based on time of day hour=$(date +%H) if [ $hour -ge 20 ] || [ $hour -le 6 ]; then - qs -c DMS ipc call night enable + qs -c dms ipc call night enable else - qs -c DMS ipc call night disable + qs -c dms ipc call night disable fi ``` @@ -356,9 +356,9 @@ Many commands provide status information useful for scripts: ```bash # Check if screen is locked before performing action -if qs -c DMS ipc call lock isLocked | grep -q "false"; then +if qs -c dms ipc call lock isLocked | grep -q "false"; then # Perform action only if unlocked - qs -c DMS ipc call notifications open + qs -c dms ipc call notifications open fi ```