Removed volume notification
This commit is contained in:
		| @ -101,16 +101,6 @@ volume.mute = function() | ||||
| 	volume.commands:mute() | ||||
| 	volume.muted = true | ||||
|  | ||||
| 	-- Spawn notification | ||||
| 	local n = naughty.notify({ | ||||
| 		title = "Volume muted", | ||||
| 		text = "Silence!", | ||||
| 		timeout = 1, | ||||
| 		replaces_id = volume.notificationid | ||||
| 	}) | ||||
|  | ||||
| 	volume.notificationid = n.id | ||||
|  | ||||
| 	volume.exec_hooks() | ||||
| end | ||||
|  | ||||
| @ -118,16 +108,6 @@ volume.unmute = function() | ||||
| 	volume.commands:unmute() | ||||
| 	volume.muted = false | ||||
|  | ||||
| 	-- Spawn notification | ||||
| 	local n = naughty.notify({ | ||||
| 		title = "Volume unmuted", | ||||
| 		text = "Loud.", | ||||
| 		timeout = 1, | ||||
| 		replaces_id = volume.notificationid | ||||
| 	}) | ||||
|  | ||||
| 	volume.notificationid = n.id | ||||
|  | ||||
| 	volume.exec_hooks() | ||||
| end | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user