From 9e446bf0e7a803653852778fcc4e1f826ce02399 Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Sun, 17 May 2026 20:24:55 +0200 Subject: [PATCH] sway: tune wlogout appearance and args --- .claude/settings.local.json | 3 ++- dotfiles/desktop/.config/waybar/config.jsonc | 2 +- dotfiles/desktop/.config/wlogout/style.css | 21 +++++++++++++------- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 1adf84a..eaa528f 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -10,7 +10,8 @@ "Bash(git -C /home/fscotto/AnsiblePlaybook diff --stat)", "Bash(git -C /home/fscotto/AnsiblePlaybook status --short)", "Bash(git -C /home/fscotto/AnsiblePlaybook log --oneline --all -- ansible/inventory/host_vars/nymph.yml ansible/roles/profile_desktop_host/tasks/nymph.yml 'dotfiles/nymph/*')", - "Bash(git *)" + "Bash(git *)", + "Bash(wlogout --help)" ] } } diff --git a/dotfiles/desktop/.config/waybar/config.jsonc b/dotfiles/desktop/.config/waybar/config.jsonc index c54d2a7..4a4c38f 100644 --- a/dotfiles/desktop/.config/waybar/config.jsonc +++ b/dotfiles/desktop/.config/waybar/config.jsonc @@ -102,6 +102,6 @@ "custom/power": { "format": "⏻", "tooltip": false, - "on-click": "wlogout -b 3 -c 0 -r 0" + "on-click": "wlogout -n -b 3 -c 16 -r 16 -L 1344 -R 1344 -T 650 -B 650" } } diff --git a/dotfiles/desktop/.config/wlogout/style.css b/dotfiles/desktop/.config/wlogout/style.css index 72ec19c..408c933 100644 --- a/dotfiles/desktop/.config/wlogout/style.css +++ b/dotfiles/desktop/.config/wlogout/style.css @@ -2,22 +2,29 @@ background-image: none; box-shadow: none; font-family: "LiterationMono Nerd Font", "Symbols Nerd Font Mono", monospace; - font-size: 14pt; + font-size: 10pt; + min-width: 0; + min-height: 0; + margin: 0; + padding: 0; } window { - background-color: rgba(31, 31, 40, 0.85); + background-color: rgba(31, 31, 40, 0.75); } button { color: #d0d0d0; background-color: #2b2b36; - border: 2px solid #3a3a46; - border-radius: 8px; - margin: 12px; + border: 1px solid #3a3a46; + border-radius: 10px; + margin: 0; + padding: 0 0 12px 0; + min-width: 240px; + min-height: 140px; background-repeat: no-repeat; - background-position: center; - background-size: 25%; + background-position: center 28%; + background-size: 80px 80px; } button:focus,