Add reboot, shutdown and suspend apps for rofi

This commit is contained in:
Henrik Lissner 2019-12-09 03:50:27 -05:00
parent d90b3536d9
commit 7cc879f28a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -31,6 +31,25 @@
exec = "${<config/rofi>}/bin/rofi-filemenu -x";
categories = "System;Utility";
})
(makeDesktopItem {
name = "reboot";
desktopName = "System: Reboot";
icon = "system-reboot";
exec = "systemctl reboot";
})
(makeDesktopItem {
name = "shutdown";
desktopName = "System: Shut Down";
icon = "system-shutdown";
exec = "systemctl shutdown";
})
(makeDesktopItem {
name = "sleep";
desktopName = "System: Sleep";
icon = "system-suspend";
exec = "systemctl suspend";
})
];
};