summaryrefslogtreecommitdiff
path: root/src/caelestia/subcommands/scheme.py
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-17 12:49:16 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-17 12:49:16 +1000
commit2c94c42cbd269b9b7fae3ad4d33e31e493e739b4 (patch)
tree3593981fecd1847bd0bfe423a0f7942483ba9055 /src/caelestia/subcommands/scheme.py
parentcompletions: update for prev commit (diff)
downloadcaelestia-cli-2c94c42cbd269b9b7fae3ad4d33e31e493e739b4.tar.gz
caelestia-cli-2c94c42cbd269b9b7fae3ad4d33e31e493e739b4.tar.bz2
caelestia-cli-2c94c42cbd269b9b7fae3ad4d33e31e493e739b4.zip
scheme: add notify opt
For sending a notification on error
Diffstat (limited to 'src/caelestia/subcommands/scheme.py')
-rw-r--r--src/caelestia/subcommands/scheme.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/caelestia/subcommands/scheme.py b/src/caelestia/subcommands/scheme.py
index c8842f7..b326e5d 100644
--- a/src/caelestia/subcommands/scheme.py
+++ b/src/caelestia/subcommands/scheme.py
@@ -13,6 +13,9 @@ class Set:
def run(self) -> None:
scheme = get_scheme()
+ if self.args.notify:
+ scheme.notify = True
+
if self.args.random:
scheme.set_random()
apply_colours(scheme.colours, scheme.mode)