provide desktop utilities
This commit is contained in:
18
flake.nix
18
flake.nix
@@ -68,6 +68,24 @@
|
||||
niphas-set-wallpaper = prev.writers.writeDashBin "niphas-set-wallpaper" ''
|
||||
exec ${lib.getExe prev.swaybg} --mode fill --image ${toString final.niphas-wallpaper}
|
||||
'';
|
||||
|
||||
niphas-clipboard-watcher = prev.writers.writeDashBin "niphas-clipboard-watcher" ''
|
||||
exec ${lib.getExe' prev.wl-clipboard "wl-paste"} -t text --watch ${lib.getExe prev.clipman} store
|
||||
'';
|
||||
|
||||
niphas-redshift =
|
||||
let
|
||||
geolocation = [
|
||||
52.5244
|
||||
13.4105
|
||||
];
|
||||
latitude = builtins.elemAt geolocation 0;
|
||||
longitude = builtins.elemAt geolocation 1;
|
||||
in
|
||||
prev.writers.writeDashBin "niphas-redshift" ''
|
||||
exec ${prev.getExe prev.wlsunset} -l ${toString latitude} -L ${toString longitude}
|
||||
'';
|
||||
|
||||
vimv = prev.callPackage packages/vimv.nix { };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user