Restart script for plasma added
This commit is contained in:
parent
8d8ed9f7b0
commit
0ca3787a1e
|
@ -30,6 +30,7 @@
|
|||
dvd
|
||||
dvt
|
||||
servo
|
||||
restart
|
||||
|
||||
# System tools
|
||||
aha
|
||||
|
|
|
@ -10,4 +10,5 @@ pkgs: {
|
|||
install-nix = pkgs.callPackage ./install-nix {};
|
||||
update = pkgs.callPackage ./update {};
|
||||
upgrade = pkgs.callPackage ./upgrade {};
|
||||
restart = pkgs.callPackage ./restart {};
|
||||
}
|
||||
|
|
18
pkgs/restart/default.nix
Normal file
18
pkgs/restart/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
writeShellApplication,
|
||||
}:
|
||||
writeShellApplication
|
||||
{
|
||||
name = "restart";
|
||||
|
||||
runtimeInputs = [killall];
|
||||
|
||||
text = ''
|
||||
# Restart script for kde
|
||||
|
||||
killall plasmashell
|
||||
kstart plasmashell
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue