aboutsummaryrefslogtreecommitdiffstats
path: root/config/waybar/configs/Peony
blob: c5396974dea65f68829c83b735fa13e464198322 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
//* ----------- 💫 https://github.com/JaKooLit 💫 -------- */
//* ............................................*/
//* ................PEONY.......................*/
//* ............................................*/
//* --- 👍 designed by https://github.com/Krautt  👍 --- */

{
 
	"include": "~/.config/waybar/modules",
	"layer": "top",
	//"mode": "dock",
	"exclusive": true,
	"passthrough": false,
	"position": "top",
	"spacing": 0,
	"fixed-center": false,
	"ipc": true,
	"margin-top": 5,
	"margin-bottom": 5,
	"width": 1444,
	
	"modules-left": ["hyprland/workspaces#peony", "tray#peony"],
	  
	"modules-center": ["clock#peony"], 
	
	"modules-right": ["wireplumber#peony","custom/separator#line","backlight#peony","custom/separator#line","temperature#peony","custom/separator#line","battery#peony","network#peony"],


	//M O D U L E S //

	"hyprland/workspaces#peony": {
		"active-only":false,
		"all-outputs": true,
		"format": "{icon}",
		"on-click": "activate",
		"persistent_workspaces":{
			"1": [],
			"2": [],
			"3": [],
			"4": [],
			"5": []
		},
		"format-icons": {
		  "1": "I",
		  "2": "II",
		  "3": "III",
		  "4": "IV",
		  "5": "V"
		  
		}
	  },

	"clock#peony": {
		"interval": 60,
			"tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
			"format": "{:%B | %a %d, %Y | %H:%M %p}",
			"format-alt": "{:%a %b %d, %G}"
		},

		"wireplumber#peony": {
			"format": "{icon} {volume}",
			"format-muted": " Mute",
			"on-click": "~/.config/hypr/scripts/Volume.sh --toggle",
			"on-click-right": "pavucontrol -t 3",
			"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
			"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
			"format-icons": ["", "", "󰕾", ""], 
		},

		"backlight#peony": {
			"device": "intel_backlight",
			"format": "{percent}% {icon}",
			"format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"],
		},
		
		"temperature#peony": {
			// "thermal-zone": 2,
			// "hwmon-path": ["/sys/class/hwmon/hwmon2/temp1_input", "/sys/class/thermal/thermal_zone0/temp"],
			// "critical-threshold": 80,
			// "format-critical": "{temperatureC}°C ",
			"format": "{temperatureC}°C "

		},

		"network#peony": {
			"format": "{ifname}",
			"format-wifi": "{icon}",
			"format-ethernet": "󰌘",
			"format-disconnected": "󰌙", 
			"tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}",
			"format-linked": "󰈁 {ifname} (No IP)",
			"tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
			"tooltip-format-ethernet": "{ifname} 󰌘",
			"tooltip-format-disconnected": "󰌙 Disconnected",
			"max-length": 50,
			"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
		  },

		  "battery#peony": {
			"interval": 60,
			"align": 0,
			"rotate": 0,
			//"bat": "BAT1",
			//"adapter": "ACAD",
			"full-at": 100,
			"design-capacity": false,
			"states": {
			  "good": 95,
			  "warning": 30,
			  "critical": 15
					 },
			"format": "{icon}  {capacity}%",
			"format-charging": " {capacity}%",
			"format-plugged": "󱘖 {capacity}%",
			"format-full": "{icon} Full",
			"format-alt": "{icon} {time}",
			"format-icons": ["", "", "", "", ""],
			"format-time": "{H}h {M}min",
			"tooltip": true,
			"tooltip-format": "{timeTo} {power}w",
			"on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh",
			"on-click-right": "~/.config/hypr/scripts/Wlogout.sh",
		  },

		  "tray#peony": {
			"icon-size": 17,
			"spacing": 8,
		  }
}	
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage