dot/scripts/powermenu

4 lines
107 B
Bash
Executable File

#!/bin/sh
printf "suspend\nreboot\npoweroff\nhibernate" | rofi -dmenu -p "systemctl" | xargs -r systemctl