#!/bin/bash

# omarchy:summary=Toggle suspend availability in the system menu

omarchy-toggle suspend-off

if omarchy-toggle-enabled suspend-off; then
  omarchy-notification-send -g 󰒲 "$(omarchy-text "Suspend removed from system menu")"
else
  omarchy-notification-send -g 󰒲 "$(omarchy-text "Suspend now available in system menu")"
fi
