Refactor DMS IPC bindings for Niri and Hyprland
- Updated `binds.nix` files for both Niri and Hyprland to utilize a centralized `dmsIpcBinds` structure, improving maintainability and consistency across keybindings. - Introduced `dmsIpcBinds` in `default.nix` for both modules to streamline the command definitions for DMS IPC calls. - Enhanced `dms` module to define shared IPC commands, ensuring uniform command formatting for different compositors.
This commit is contained in:
@@ -101,7 +101,10 @@
|
||||
"sleep 1 && hyprctl reload"
|
||||
];
|
||||
}
|
||||
(self.lib.hyprlandBinds { inherit lib dmsEnabled; })
|
||||
(self.lib.hyprlandBinds {
|
||||
inherit lib dmsEnabled;
|
||||
dmsIpcBinds = self.lib.dmsIpcBinds;
|
||||
})
|
||||
{
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
|
||||
Reference in New Issue
Block a user