From 3564f446ccd1dfcc5f35ace80033113fc6f2511b Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Wed, 1 Apr 2026 03:48:42 +0200 Subject: [PATCH] dwls: dwl script --- configuration.nix | 5 +++-- dwls.nix | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 dwls.nix diff --git a/configuration.nix b/configuration.nix index 52d1b36..414a77e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -133,6 +133,9 @@ ]; shell = pkgs.nushell; packages = with pkgs; [ + (import ./dwls.nix { inherit pkgs lib; }) + wmenu + dwl tree dust eza @@ -161,8 +164,6 @@ slurp wireshark brightnessctl - wmenu - dwl ]; }; diff --git a/dwls.nix b/dwls.nix new file mode 100644 index 0000000..58330c0 --- /dev/null +++ b/dwls.nix @@ -0,0 +1,4 @@ +{ pkgs, lib }: +pkgs.writeShellScriptBin "dwls" '' + ${lib.getExe pkgs.slstatus} -s | ${lib.getExe pkgs.dwl} -s ${lib.getExe pkgs.wbg} ~/Pictures/Wallpapers/d3.png +''