diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-12-07 10:58:39 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-12-07 10:58:39 +0900 |
| commit | 86ccfafed6083d36a38714867202545ed83ae8b2 (patch) | |
| tree | 650a6cc50674aad3e90a544d998ae9f2cc30fbfc /config/waybar/modules | |
| parent | fefd56f435d8885f30982c3d5ad09a91495d83a8 (diff) | |
added custom-keyboad waybar module
Diffstat (limited to 'config/waybar/modules')
| -rw-r--r-- | config/waybar/modules | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config/waybar/modules b/config/waybar/modules index a4567c08..fa989045 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -457,6 +457,14 @@ "tooltip": false, "on-click": "~/.config/hypr/scripts/KeyHints.sh", }, + + "custom/keyboard": { + "exec": "cat /tmp/kb_layout", + "interval": 3, + "format": " {}", + "on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh", + "tooltip": false, + }, "custom/light_dark": { "format": "", @@ -640,7 +648,7 @@ "temperature#vertical": { "interval": 10, "tooltip": true, - "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], + "hwmon-path": ["/sys/class/hwmon/hwmon6/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], //"thermal-zone": 0, "critical-threshold": 80, "format-critical": "{icon}\n{temperatureC}°C", |
