summaryrefslogtreecommitdiff
path: root/users/kassouni/palette/reboot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/kassouni/palette/reboot.nix')
-rw-r--r--users/kassouni/palette/reboot.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/users/kassouni/palette/reboot.nix b/users/kassouni/palette/reboot.nix
index 0b5d51f..bc25ef4 100644
--- a/users/kassouni/palette/reboot.nix
+++ b/users/kassouni/palette/reboot.nix
@@ -1,5 +1,9 @@
{ writers, systemd }:
-writers.writeBashBin "reboot" ''
- set -eu
- ${systemd}/bin/systemctl reboot
-''
+{
+ name = "reboot";
+ icon = "󰑐";
+ exe = writers.writeBash "reboot" ''
+ set -eu
+ exec ${systemd}/bin/systemctl reboot
+ '';
+}