NixOS-Config/pkgs/restart/default.nix

19 lines
219 B
Nix

{
lib,
stdenv,
writeShellApplication,
}:
writeShellApplication
{
name = "restart";
runtimeInputs = [killall];
text = ''
# Restart script for kde
killall plasmashell
kstart plasmashell
'';
}