aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJa.KooLit <ejhay.games@gmail.com>2024-08-28 17:54:25 +0900
committerJa.KooLit <ejhay.games@gmail.com>2024-08-28 17:54:25 +0900
commit5f0175c687a668e7af037b2158bcf62713b560c0 (patch)
tree1ab5a6c24cd3f2e5fa6f234cda424014d118675f
parent40bf2504704853ba79ec29a04816c61c90355300 (diff)
Waybar modules Weather and Temperature are moved up to beginning for easy edit of these modules
-rw-r--r--config/waybar/modules91
1 files changed, 48 insertions, 43 deletions
diff --git a/config/waybar/modules b/config/waybar/modules
index 6ae63e03..3b920fe1 100644
--- a/config/waybar/modules
+++ b/config/waybar/modules
@@ -2,6 +2,53 @@
/* Waybar Modules */
{
+
+// Weather and Temperature Modules as this is most like to change always.
+// Result is of course easier to edit
+"custom/weather": {
+ "format": "{}",
+ "format-alt": "{alt}: {}",
+ "format-alt-click": "click",
+ "interval": 3600,
+ "return-type": "json",
+ "exec": "~/.config/hypr/UserScripts/Weather.sh",
+ //"exec": "~/.config/hypr/UserScripts/Weather.py",
+ "exec-if": "ping wttr.in -c1",
+ "tooltip": true,
+},
+"temperature": {
+ "interval": 10,
+ "tooltip": true,
+ "hwmon-path": [
+ "/sys/class/hwmon/hwmon1/temp1_input",
+ "/sys/class/thermal/thermal_zone0/temp"
+ ],
+ //"thermal-zone": 0,
+ "critical-threshold": 82,
+ "format-critical": "{temperatureC}°C {icon}",
+ "format": "{temperatureC}°C {icon}",
+ "format-icons": [
+ "󰈸"
+ ],
+ "on-click-right": "kitty --title nvtop sh -c 'nvtop'"
+},
+"temperature#vertical": {
+ "interval": 10,
+ "tooltip": true,
+ "hwmon-path": [
+ "/sys/class/hwmon/hwmon1/temp1_input",
+ "/sys/class/thermal/thermal_zone0/temp"
+ ],
+ //"thermal-zone": 0,
+ "critical-threshold": 80,
+ "format-critical": "{icon}\n{temperatureC}°C",
+ "format": " {icon}",
+ "format-icons": [
+ "󰈸"
+ ],
+ "on-click-right": "kitty --title nvtop sh -c 'nvtop'"
+},
+
// HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs
// CIRCLES Style
"hyprland/workspaces": {
@@ -568,22 +615,6 @@
"tooltip-format": "{source_desc} | {source_volume}%",
"scroll-step": 5,
},
-"temperature": {
- "interval": 10,
- "tooltip": true,
- "hwmon-path": [
- "/sys/class/hwmon/hwmon1/temp1_input",
- "/sys/class/thermal/thermal_zone0/temp"
- ],
- //"thermal-zone": 0,
- "critical-threshold": 82,
- "format-critical": "{temperatureC}°C {icon}",
- "format": "{temperatureC}°C {icon}",
- "format-icons": [
- "󰈸"
- ],
- "on-click-right": "kitty --title nvtop sh -c 'nvtop'"
-},
"tray": {
"icon-size": 18,
"spacing": 4,
@@ -712,17 +743,7 @@
"tooltip": true,
"tooltip-format": "Left Click: Update System\nArch Linux Only",
},
-"custom/weather": {
- "format": "{}",
- "format-alt": "{alt}: {}",
- "format-alt-click": "click",
- "interval": 3600,
- "return-type": "json",
- "exec": "~/.config/hypr/UserScripts/Weather.sh",
- //"exec": "~/.config/hypr/UserScripts/Weather.py",
- "exec-if": "ping wttr.in -c1",
- "tooltip": true,
-},
+
// Separators
"custom/separator#dot": {
"format": "",
@@ -840,22 +861,6 @@
"tooltip": true,
"tooltip-format": "{source_desc} | {source_volume}%",
},
-"temperature#vertical": {
- "interval": 10,
- "tooltip": true,
- "hwmon-path": [
- "/sys/class/hwmon/hwmon1/temp1_input",
- "/sys/class/thermal/thermal_zone0/temp"
- ],
- //"thermal-zone": 0,
- "critical-threshold": 80,
- "format-critical": "{icon}\n{temperatureC}°C",
- "format": " {icon}",
- "format-icons": [
- "󰈸"
- ],
- "on-click-right": "kitty --title nvtop sh -c 'nvtop'"
-},
"custom/power_vertical": {
"format": "⏻",
"exec": "echo ; echo 󰟡 power // blur",
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage