Diff
1diff --git a/dot_config/waybar/config-bottom.jsonc.tmpl b/dot_config/waybar/config-bottom.jsonc.tmpl
2index 802943dc1b90791712e581f5eab368e4fff0cfd5..926b678d0505409b46354d7a1037f4ff8e917273 100644
3--- a/dot_config/waybar/config-bottom.jsonc.tmpl
4+++ b/dot_config/waybar/config-bottom.jsonc.tmpl
5@@ -5,14 +5,15 @@
6 "position": "bottom",
7 "reload_style_on_change": true,
8 "modules-right": [
9- "custom/arrow_left_end",
10+ "custom/arrow_left_end_alt",
11 "network#tailscale",
12- "custom/arrow_left",
13- "network",
14 "custom/arrow_left_alt",
15- "temperature",
16+ "network",
17 "custom/arrow_left",
18+ "temperature",
19+ {{- if not .waybar.top.extra_modules }}
20 "power-profiles-daemon",
21+ {{- end }}
22 "custom/arrow_left_alt",
23 "cpu",
24 "custom/arrow_left",
25@@ -25,10 +26,10 @@
26 "tooltip-format": "Power profile: {profile}\nDriver: {driver}",
27 "tooltip": true,
28 "format-icons": {
29- "default": "",
30- "performance": "",
31- "balanced": "",
32- "power-saver": ""
33+ "default": "",
34+ "performance": "",
35+ "balanced": "",
36+ "power-saver": ""
37 }
38 },
39 "cpu": {
40@@ -87,8 +88,8 @@
41 "network#tailscale": {
42 "interval": 5,
43 "interface": "tailscale0",
44- "format": " {ipaddr}/{cidr}",
45- "format-disconnected": " tailscale",
46+ "format": "",
47+ "format-disconnected": "",
48 "tooltip": false
49 },
50 "custom/arrow_left": {
51diff --git a/dot_config/waybar/config-top.jsonc.tmpl b/dot_config/waybar/config-top.jsonc.tmpl
52index a55a945997a833e089d499df0d005e4744fbfee3..fb3c886cfbac85fd4b6485a51a12ccfb871a048c 100644
53--- a/dot_config/waybar/config-top.jsonc.tmpl
54+++ b/dot_config/waybar/config-top.jsonc.tmpl
55@@ -15,8 +15,7 @@
56 "pulseaudio#mic",
57 "custom/arrow_left_alt",
58 "pulseaudio",
59- {{ .waybar.top.extra_modules }}
60- "custom/arrow_left",
61+ {{ if .waybar.top.extra_modules }}{{ .waybar.top.extra_modules }}{{ else }}"custom/arrow_left",{{ end }}
62 "hyprland/language",
63 "custom/arrow_left_alt",
64 "clock#date",
65@@ -248,6 +247,24 @@
66 "exec": "waybar-crypto",
67 "exec-if": "ping pro-api.coinmarketcap.com -c1"
68 },
69+ "idle_inhibitor": {
70+ "format": "{icon}",
71+ "format-icons": {
72+ "activated": "",
73+ "deactivated": ""
74+ }
75+ },
76+ "power-profiles-daemon": {
77+ "format": "{icon}",
78+ "tooltip-format": "Power profile: {profile}\nDriver: {driver}",
79+ "tooltip": true,
80+ "format-icons": {
81+ "default": "",
82+ "performance": "",
83+ "balanced": "",
84+ "power-saver": ""
85+ }
86+ },
87 "custom/arrow_left": {
88 "format": "",
89 "tooltip": false
90diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css
91index 1c0d2be5e6946dde62c8afc91c2dbe485646f1e0..37254c44533e687718157540f3a9630ceeb05432 100644
92--- a/dot_config/waybar/style.css
93+++ b/dot_config/waybar/style.css
94@@ -83,15 +83,16 @@
95 #clock.date,
96 #tray,
97 #custom-crypto,
98-#temperature,
99-#network.tailscale,
100-#pulseaudio {
101+#network,
102+#pulseaudio,
103+#idle_inhibitor {
104 background: @bg;
105 }
106
107 #backlight,
108-#network,
109 #memory,
110+#network.tailscale,
111+#temperature,
112 #language,
113 #clock.time,
114 #mpris,