diff --git a/.scripts/waybar-toggle.sh b/.scripts/waybar-toggle.sh
new file mode 100755
index 0000000..bccfe6a
--- /dev/null
+++ b/.scripts/waybar-toggle.sh
@@ -0,0 +1,32 @@
+#!/bin/env bash
+
+function close() {
+ if pgrep -x "waybar" > /dev/null; then
+ killall -q waybar
+
+ # Wait until the processes have been shut down
+ while pgrep -x waybar >/dev/null; do sleep 1; done
+ fi
+}
+
+function open() {
+ waybar &
+}
+
+if [ -z "$1" ]; then
+ close
+ open
+elif [ "$1" = "close" ]; then
+ if ! pgrep -x "waybar" > /dev/null; then
+ exit 1
+ fi
+ close
+elif [ "$1" = "open" ]; then
+ if pgrep -x "waybar" > /dev/null; then
+ exit 1
+ fi
+ open
+else
+ echo "Usage: $0 [close|open]"
+ exit 1
+fi
\ No newline at end of file
diff --git a/README.md b/README.md
index f5e775c..5980361 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-
+
## Setup Overview
diff --git a/eww/Main/eww.yuck b/eww/Main/eww.yuck
index 165430e..9c30044 100644
--- a/eww/Main/eww.yuck
+++ b/eww/Main/eww.yuck
@@ -26,7 +26,7 @@
(defpoll music-art :interval "1s" "Main/scripts/music-art")
(defpoll volume :interval "1s" "Main/scripts/system --vol")
(defpoll brightness :interval "1s" "Main/scripts/system --bri")
-(defpoll fortune :interval "1h" "Main/scripts/fortune.py 32 9")
+(defpoll fortune :interval "1h" "Main/scripts/fortune-split 32 9")
(deflisten cava "Main/scripts/cava")
(defpoll title :interval "1s" "Main/scripts/music-title --status")
(defpoll artist :interval "1s" "Main/scripts/player --artist")
diff --git a/eww/Main/scripts/fortune.py b/eww/Main/scripts/fortune-split
similarity index 100%
rename from eww/Main/scripts/fortune.py
rename to eww/Main/scripts/fortune-split
diff --git a/hypr/hyprland/keybinds.conf b/hypr/hyprland/keybinds.conf
index b726e96..91c4f1a 100755
--- a/hypr/hyprland/keybinds.conf
+++ b/hypr/hyprland/keybinds.conf
@@ -161,4 +161,5 @@ bind = Super+Alt, S, movetoworkspace, special:s
bind = Super, P, pin
bind = Alt, Tab, cyclenext
bind = Super, Tab, hyprexpo:expo, toggle # can be: toggle, select, off/disable or on/enable
-bind = Super+Ctrl, T, exec, ~/.scripts/workspace-new.sh
+bind = Super+Ctrl, T, exec, ~/.scripts/workspace-new.sh # Create new workspace
+bind = Super+Shift, K, exec, waybar-toggle.sh close || waybar-toggle.sh open # Toggle waybar visibility
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
index 67afab4..1aa33bf 100644
--- a/waybar/config.jsonc
+++ b/waybar/config.jsonc
@@ -140,8 +140,8 @@
"min-length": 20
},
"temperature": {
- // "thermal-zone": 1,
- "interval": 4,
+ "interval": 5,
+ "thermal-zone": 6,
"hwmon-path": "/sys/class/hwmon/hwmon6/temp1_input",
"critical-threshold": 80,
// "format-critical": " {temperatureC}°C",
@@ -152,7 +152,7 @@
"min-length": 7
},
"memory": {
- "interval": 30,
+ "interval": 11,
// "format": " {used:0.2f} / {total:0.0f} GB",
"format": " {percentage}%",
"on-click": "killall btop || ghostty -e btop",
@@ -160,7 +160,7 @@
"max-length": 7
},
"cpu": {
- "interval": 1,
+ "interval": 3,
//"format": " {}%", // Icon: microchip
"format": " {usage}%",
"max-length": 7,
@@ -168,7 +168,7 @@
"on-click": "killall btop || ghostty -e btop"
},
"battery": {
- "interval": 2,
+ "interval": 30,
"states": {
"good": 95,
"warning": 30,
diff --git a/wlogout/style.css b/wlogout/style.css
index 909b3d7..6908a53 100644
--- a/wlogout/style.css
+++ b/wlogout/style.css
@@ -12,7 +12,7 @@ button {
color: #cdd6f4;
border-radius: 0;
outline-style: none;
- background-color: #1e1e2e;
+ background-color: alpha(#1e1e2e, 0.8);
border: none;
border-width: 0px;
border-radius: 0px;
@@ -29,9 +29,8 @@ button {
button:focus,
button:active,
button:hover {
- /* 20% Overlay 2, 80% mantle */
- background-color: #313244;
background-size: 20%;
+ background-color: alpha(#1e1e2e, 0.6);
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(0.55, 0, 0.28, 1.682);
}