diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2024-09-13 11:03:20 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2024-09-13 11:03:20 +0900 |
| commit | 6c99347a62111f6ca23bf16c841d2cf1673b69b6 (patch) | |
| tree | c5121c99ee9a528c3abd48f5480850d9f0739cfb /config/waybar/Modules | |
| parent | 6c526a514f2ad8502b1285fcb3c43f8d973fb32d (diff) | |
custom idle inhibitor on waybar which kills hypridle when toggled
Diffstat (limited to 'config/waybar/Modules')
| -rw-r--r-- | config/waybar/Modules | 16 |
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, |
