From e05eec07ef82fc0c986542d18a29ecebfe03bb4e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 2 May 2020 13:07:27 -0400 Subject: [PATCH] Remove shut down, reboot & sleep actions from rofi Twice. I've accidentally hit "Reboot" twice, in the past two weeks. So let's not make this so easy to do... --- modules/desktop/apps/rofi.nix | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/modules/desktop/apps/rofi.nix b/modules/desktop/apps/rofi.nix index d5820285..04074449 100644 --- a/modules/desktop/apps/rofi.nix +++ b/modules/desktop/apps/rofi.nix @@ -54,24 +54,6 @@ with lib; exec = "${} -x"; }) - (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 = "${} -f"; - }) (makeDesktopItem { name = "lock-display"; desktopName = "Lock screen";