aboutsummaryrefslogtreecommitdiffstats
path: root/config/waybar/Modules
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2024-09-13 11:03:20 +0900
committerJaKooLit <ejhay.games@gmail.com>2024-09-13 11:03:20 +0900
commit6c99347a62111f6ca23bf16c841d2cf1673b69b6 (patch)
treec5121c99ee9a528c3abd48f5480850d9f0739cfb /config/waybar/Modules
parent6c526a514f2ad8502b1285fcb3c43f8d973fb32d (diff)
custom idle inhibitor on waybar which kills hypridle when toggled
Diffstat (limited to 'config/waybar/Modules')
-rw-r--r--config/waybar/Modules16
1 files changed, 13 insertions, 3 deletions
diff --git a/config/waybar/Modules b/config/waybar/Modules
index 0b8b6da2..856f9dc2 100644
--- a/config/waybar/Modules
+++ b/config/waybar/Modules
@@ -2,7 +2,6 @@
/* Waybar Modules */
{
-
/* NOTE: hyprland-workspaces on a separate file */
// Weather and Temperature Modules as this is most like to change always.
// Result is of course easier to edit
@@ -21,7 +20,7 @@
"interval": 10,
"tooltip": true,
"hwmon-path": [
- "/sys/class/hwmon/hwmon1/temp1_input",
+ "/sys/class/hwmon/hwmon1/temp2_input",
"/sys/class/thermal/thermal_zone0/temp"
],
//"thermal-zone": 0,
@@ -37,7 +36,7 @@
"interval": 10,
"tooltip": true,
"hwmon-path": [
- "/sys/class/hwmon/hwmon1/temp1_input",
+ "/sys/class/hwmon/hwmon1/temp2_input",
"/sys/class/thermal/thermal_zone0/temp"
],
//"thermal-zone": 0,
@@ -469,6 +468,17 @@
"tooltip": true,
"tooltip-format": "󱧣 Quick Tips",
},
+// Hypridle inhibitor
+"custom/hypridle": {
+ "format": " 󰷛 ",
+ "return-type": "json",
+ "escape": true,
+ "exec-on-event": true,
+ "interval": 60,
+ "exec": "$HOME/.config/hypr/scripts/Hypridle.sh status",
+ "on-click": "$HOME/.config/hypr/scripts/Hypridle.sh toggle",
+ "on-click-right": "hyprlock"
+ },
"custom/keyboard": {
"exec": "cat ~/.cache/kb_layout",
"interval": 1,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage