From 3c6b04f52d120c9179032bf7d07b7874b9a3a7ab Mon Sep 17 00:00:00 2001 From: Hannes Date: Wed, 18 Feb 2026 16:12:21 +0100 Subject: [PATCH] Added support for wlogout --- config.toml | 6 +++- templates/wlogout.css | 79 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 templates/wlogout.css diff --git a/config.toml b/config.toml index f4ff1d9..11d4f6f 100644 --- a/config.toml +++ b/config.toml @@ -7,4 +7,8 @@ output_dir = "~/.config/matugen/generated" [templates.quickshell] input_path = "~/.config/matugen/templates/quickshell.qml" -output_path = "~/.config/quickshell/colors/Colors.qml" \ No newline at end of file +output_path = "~/.config/quickshell/colors/Colors.qml" + +[templates.wlogout] +input_path = "~/.config/matugen/templates/wlogout.css" +output_path = "~/.config/wlogout/style.css" \ No newline at end of file diff --git a/templates/wlogout.css b/templates/wlogout.css new file mode 100644 index 0000000..0054660 --- /dev/null +++ b/templates/wlogout.css @@ -0,0 +1,79 @@ +* { + background-image: none; + transition: 20ms; + box-shadow: none; +} + +window { + background-image: image(url("../../Pictures/Wallpapers/Static/blurred.jpg")); +} + +button { + color: {{colors.surface.default.hex}}; + background-color: {{colors.surface_tint.default.hex}}; + background-position: center; + background-repeat: no-repeat; + background-size: 20%; + border: none; + border-radius: 10px; + outline-style: none; +} + +/* options */ +#lock { + color: {{colors.secondary.default.hex}}; + background-color: {{colors.on_primary.default.hex}}; + background-image: image(url("icons/lock.png")); + border-radius: 5px 0px 0px 0px; + margin : 100px 0px 0px 550px; +} + +#reboot { + color: {{colors.tertiary.default.hex}}; + background-color: {{colors.on_tertiary.default.hex}}; + background-image: image(url("icons/reboot.png")); + border-radius: 0px 0px 0px 5px; + margin : 0px 0px 100px 550px; +} + +#logout { + color: {{colors.tertiary_fixed.default.hex}}; + background-color: {{colors.on_tertiary_fixed.default.hex}}; + background-image: image(url("icons/logout.png")); + border-radius: 0px 5px 0px 0px; + margin : 100px 550px 0px 0px; +} + +#shutdown { + color: {{colors.secondary.default.hex}}; + background-color: {{colors.on_secondary.default.hex}}; + background-image: image(url("icons/shutdown.png")); + border-radius: 0px 0px 5px 0px; + margin : 0px 550px 100px 0px; +} + +/* options on hover */ +button:hover { + background-size: 25%; +} + +button:hover#lock { + border-radius: 10px 10px 0px 10px; + margin : 80px 0px 0px 530px; +} + +button:hover#reboot { + border-radius: 10px 0px 10px 10px; + margin : 0px 0px 80px 530px; +} + +button:hover#logout { + border-radius: 10px 10px 10px 0px; + margin : 80px 530px 0px 0px; +} + +button:hover#shutdown { + border-radius: 0px 10px 10px 10px; + margin: 0px 530px 80px 0px; +} +