mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:50:44 +08:00
anyrun: Added margin config option (#7687)
Added the new `margin` config option to the Anyrun module
This commit is contained in:
@@ -127,6 +127,12 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
margin = mkOption {
|
||||
type = int;
|
||||
default = 0;
|
||||
description = "Add a margin around the window to allow for CSS shadow styling";
|
||||
};
|
||||
|
||||
hideIcons = mkOption {
|
||||
type = bool;
|
||||
default = false;
|
||||
@@ -259,6 +265,7 @@ in
|
||||
y: ${stringifyNumeric cfg.config.y},
|
||||
width: ${stringifyNumeric cfg.config.width},
|
||||
height: ${stringifyNumeric cfg.config.height},
|
||||
margin: ${toString cfg.config.margin},
|
||||
hide_icons: ${boolToString cfg.config.hideIcons},
|
||||
ignore_exclusive_zones: ${boolToString cfg.config.ignoreExclusiveZones},
|
||||
layer: ${capitalize cfg.config.layer},
|
||||
|
||||
Reference in New Issue
Block a user