From b71f8758391e749afc307ce865eb501bb01a93ff Mon Sep 17 00:00:00 2001 From: ryukamish Date: Sat, 4 Jul 2026 20:49:19 +0530 Subject: fix: keep waybar config simple and minimal and display not turning on after lock --- .config/waybar/style.css | 21 +++++++++------------ .local/bin/sway-power | 12 ++++++------ 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 4f1c58f..96b8bfd 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -2,18 +2,18 @@ border: none; font-family: "IoskeleyMonoNL Nerd Font, monospace"; font-size: 12px; - font-weight: bold; + /* font-weight: bold; */ min-height: 0; } window#waybar { - background-color: alpha(#0a0a0a, 0.8); - color: #ffffff; + background-color: #0a0a0a; + /* color: #ffffff; */ } #workspaces button { padding: 3px 5px; - color: #ffffff; + /* color: #ffffff; */ } #workspaces button:hover { @@ -22,14 +22,15 @@ window#waybar { } #workspaces button.focused { - background-color: #7fc8ff; - color: #0a0a0a; + /* background-color: #7fc8ff; */ + color: #7fc8ff; border-radius: 0; + border-bottom: solid 2px; } #workspaces button.urgent { - color: #ffffff; - background: #ff0000; + color: #f38ba8; + /* background: #ff0000; */ border-radius: 0; } @@ -47,10 +48,6 @@ window#waybar { padding: 0 12px; } -#temperature.critical { - color: #ff0000; -} - /* custom modules */ #custom-screenrecording-indicator { color: #ff0000; diff --git a/.local/bin/sway-power b/.local/bin/sway-power index 3d5006c..31e5013 100755 --- a/.local/bin/sway-power +++ b/.local/bin/sway-power @@ -11,14 +11,14 @@ case "$PWR_OPTS" in loginctl hibernate ;; Lock) - _have swaylock && swaylock --daemonize && swaymsg 'output * power off' + _have swaylock && swaylock --daemonize ;; - Logout) - loginctl terminate-session self - ;; + Logout) + loginctl terminate-session self + ;; Reboot) - loginctl reboot - ;; + loginctl reboot + ;; Shutdown) loginctl poweroff ;; -- cgit v1.3