sway: tune wlogout appearance and args

This commit is contained in:
Fabio Scotto di Santolo
2026-05-17 20:24:55 +02:00
parent a69edfbf43
commit 26c02c8623
3 changed files with 17 additions and 9 deletions

View File

@@ -10,7 +10,8 @@
"Bash(git -C /home/fscotto/AnsiblePlaybook diff --stat)", "Bash(git -C /home/fscotto/AnsiblePlaybook diff --stat)",
"Bash(git -C /home/fscotto/AnsiblePlaybook status --short)", "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 -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)"
] ]
} }
} }

View File

@@ -102,6 +102,6 @@
"custom/power": { "custom/power": {
"format": "⏻", "format": "⏻",
"tooltip": false, "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"
} }
} }

View File

@@ -2,22 +2,29 @@
background-image: none; background-image: none;
box-shadow: none; box-shadow: none;
font-family: "LiterationMono Nerd Font", "Symbols Nerd Font Mono", monospace; 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 { window {
background-color: rgba(31, 31, 40, 0.85); background-color: rgba(31, 31, 40, 0.75);
} }
button { button {
color: #d0d0d0; color: #d0d0d0;
background-color: #2b2b36; background-color: #2b2b36;
border: 2px solid #3a3a46; border: 1px solid #3a3a46;
border-radius: 8px; border-radius: 10px;
margin: 12px; margin: 0;
padding: 0 0 12px 0;
min-width: 240px;
min-height: 140px;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center 28%;
background-size: 25%; background-size: 80px 80px;
} }
button:focus, button:focus,