#!/bin/bash

## Created By Aditya Shakya

MENU="$(rofi -sep "|" -dmenu -i -p 'System' -width 12 -hide-scrollbar -line-padding 4 -padding 20 -lines 6 <<< " Lock| Logout|Suspend|Hibernate| Reboot| Shutdown")"
            case "$MENU" in
                *Lock) light-locker-command -l ;;
                *Logout) xmonad --exit ;;
                *Suspend) systemctl suspend;;
                *Hibernate) systemctl hibernate;;
                *Shutdown) systemctl -i poweroff ;;
                *Reboot) systemctl reboot
            esac
