summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-07-04 20:49:19 +0530
committerryukamish <[email protected]>2026-07-04 20:49:19 +0530
commitb71f8758391e749afc307ce865eb501bb01a93ff (patch)
tree9bec719f789479f106b556a84f15dda02642e9e2
parente0af17bd9cfc081a8e6d8148883d02714a21dfc7 (diff)
fix: keep waybar config simple and minimal and display not turning on after lock
-rw-r--r--.config/waybar/style.css21
-rwxr-xr-x.local/bin/sway-power12
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
;;