personal dotfiles: my Hyprland config
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
{
	"notification-window-width": 300,
	"control-center-width": 300,
	"widgets": ["title","dnd", "menubar","notifications","inhibitors","mpris","volume","backlight"],
	"widget-config": {
		"backlight": {
			"label": "☀️",
			"min": 1,
			"device": "ae94000.dsi.0"
		},
		"volume": {
			"label": "🔈",
			"show-per-app": true
		},
				"menubar": {
					"buttons#screenshot":{
						"actions": [
							{"label":"⌨️","command":"sh -c 'dbus-send --session --print-reply --dest=sm.puri.OSK0 /sm/puri/OSK0   sm.puri.OSK0.SetVisible boolean:$(dbus-send --session --print-reply --dest=sm.puri.OSK0 /sm/puri/OSK0   org.freedesktop.DBus.Properties.Get string:sm.puri.OSK0 string:Visible |grep -o \"false\\|true\" |jq \".|not\")'"}
						]
					},
					"buttons#torch":{
						"actions": [
							{"label":"💡","command":"gtk-launch flashlight"}
						]
					}
				}
	},
	"scripts": {
		"new-im": {
			"exec": "sh -c '[ ! -f /home/user/.config/sxmo/.novibrate ] && sxmo_vibrate 400 2500; [ ! -f ~/.config/sxmo/.noring ] && mpv --volume=50 --really-quiet /usr/share/sounds/freedesktop/stereo/message-new-instant.oga'",
			"sound-name": "message-new-instant"
		},
		"incoming-call": {
			"exec": "sh -c '[ ! -f /home/user/.config/sxmo/.novibrate ] && sxmo_vibrate 400 2500; [ ! -f ~/.config/sxmo/.noring ] && mpv --volume=50 --really-quiet --loop=2 /usr/share/sounds/freedesktop/stereo/phone-incoming-call.oga'",
			"sound-name": "phone-incoming-call"
		}
	}
}