main
59c7d64 · 8 days ago 139 commits
  1[
  2	{
  3		"layer": "top",
  4		"position": "top",
  5		"output": "DP-1",
  6		"height": 32,
  7		"spacing": 0,
  8		"modules-left": [
  9			"custom/about",
 10			"clock#date",
 11			"clock#time",
 12			"custom/packages",
 13			"custom/butt-out",
 14			"custom/handy"
 15		],
 16		"modules-center": [
 17			"hyprland/workspaces#main"
 18		],
 19		"modules-right": [
 20			"hyprland/workspaces#special",
 21			"custom/ai-creds",
 22			"custom/brightness",
 23			"pulseaudio",
 24			"custom/notification",
 25			"custom/internet",
 26			"custom/power"
 27		],
 28		"custom/about": {
 29			"format": "󰣇",
 30			"interval": "once",
 31			"tooltip": true,
 32			"tooltip-format": "About System",
 33			"on-click": "smart-launch --tui 'about-system' 'bash -c \"fastfetch --disable-linewrap; read -n 1 -s\"'"
 34		},
 35		"hyprland/workspaces#main": {
 36			"disable-scroll": false,
 37			"show-special": false,
 38			"format": "{icon}",
 39			"format-icons": {
 40				"YT": "",
 41				"Code": "",
 42				"Research": "",
 43			}
 44		},
 45		"custom/butt-out": {
 46			"exec": "$HOME/.wraith/scripts/butt-out.sh remaining",
 47			"interval": 1,
 48			"on-click-right": "$HOME/.wraith/scripts/butt-out.sh kill",
 49			"return-type": "json"
 50		},
 51		"custom/handy": {
 52			"exec": "$HOME/.wraith/scripts/transcribe.sh",
 53			"interval": 1,
 54			"return-type": "json"
 55		},
 56		"hyprland/workspaces#special": {
 57			"disable-scroll": false,
 58			"sort-by": "id",
 59			"show-special": true,
 60			"format": "{icon}",
 61			"format-icons": {
 62				"obs": "",
 63				"music": "󰎆"
 64			},
 65			"ignore-workspaces": [
 66				"^(?!.*(obs|music)).*$"
 67			]
 68		},
 69		"clock#date": {
 70			"format": "{:%d-%m-%y}",
 71			"interval": 3600,
 72			"tooltip": false
 73		},
 74		"clock#time": {
 75			"format": "{:%I:%M %p}",
 76			"interval": 1,
 77			"timezone": "Asia/Kolkata",
 78			"tooltip": false
 79		},
 80		"custom/packages": {
 81			"exec": "$HOME/.wraith/scripts/packages.sh details",
 82			"interval": 5,
 83			"return-type": "json",
 84			"cursor": false,
 85			"on-click": "$HOME/.wraith/scripts/packages.sh update",
 86			"tooltip": true
 87		},
 88		"custom/internet": {
 89			"exec": "$HOME/.wraith/scripts/internet-connectivity.sh",
 90			"interval": 5,
 91			"return-type": "json"
 92		},
 93		"custom/power": {
 94			"format": "󰐥",
 95			"tooltip": false,
 96			"cursor": false,
 97			"menu": "on-click",
 98			"menu-file": "~/.config/waybar/power_menu.xml",
 99			"menu-actions": {
100				"shutdown": "systemctl poweroff --no-wall",
101				"reboot": "systemctl reboot --no-wall",
102				"lock": "swaylock --config ~/.config/sway/swaylock.conf",
103				"suspend": "systemctl suspend"
104			}
105		},
106		"pulseaudio": {
107			"format": "{icon} {volume}% ",
108			"format-muted": "   0%",
109			"format-icons": {
110				"headphone": " ",
111				"headset": " ",
112				"default": [
113					" ",
114					"  ",
115					"  "
116				]
117			},
118			"cursor": false,
119			"on-click-right": "pavucontrol -t 3",
120			"on-click": "pactl -- set-sink-mute 0 toggle",
121			"tooltip": false
122		},
123		"custom/notification": {
124			"tooltip": true,
125			"format": "<span size='16pt'>{icon}</span>",
126			"format-icons": {
127				"notification": "󱅫",
128				"none": "󰂜",
129				"dnd-notification": "󰂠",
130				"dnd-none": "󰪓",
131				"inhibited-notification": "󰂛",
132				"inhibited-none": "󰪑",
133				"dnd-inhibited-notification": "󰂛",
134				"dnd-inhibited-none": "󰪑"
135			},
136			"return-type": "json",
137			"exec-if": "which swaync-client",
138			"exec": "swaync-client -swb",
139			"on-click": "swaync-client -t -sw",
140			"on-click-right": "swaync-client -d -sw",
141			"escape": true
142		},
143		"custom/ai-creds":{
144			"interval": 1500,
145			"exec": "$HOME/.wraith/scripts/ai-credits-checker.sh",
146			"return-type": "json",
147			"on-click": "librewolf https://openrouter.ai/activity/trends"
148		},
149		"custom/brightness": {
150			"interval": 1,
151			"exec": "$HOME/.wraith/scripts/brightness.sh get",
152			"return-type": "json",
153			"format": "{icon}{percentage}%",
154			"cursor": false,
155			"on-click": "$HOME/.wraith/scripts/brightness.sh set 10",
156			"on-scroll-up": "$HOME/.wraith/scripts/brightness.sh set +5",
157			"on-scroll-down": "$HOME/.wraith/scripts/brightness.sh set -5",
158			"format-icons": {
159				"default": [
160					"󰃞  ",
161					"󰃟  ",
162					"󰃠  "
163				]
164			},
165			"tooltip": false
166		}
167	},
168	{
169		"layer": "top",
170		"position": "bottom",
171		"output": [
172			"HDMI-A-1",
173			"HDMI-A-2"
174		],
175		"height": 32,
176		"margin-bottom":13,
177		"spacing": 0,
178		"modules-center": [
179			"hyprland/workspaces#sec"
180		],
181		"hyprland/workspaces#sec": {
182			"disable-scroll": false,
183			"show-special": false,
184			"format": "{icon}",
185			"format-icons": {
186				"AI":"󱚝",
187				"Communication": " ",
188				"default": "󰺕",
189				"active": ""
190			}
191		}
192	}
193]