From f6e341bdbbec0d05a5c20baf79cd1704f6fa3df2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 20 Oct 2024 15:17:35 +0200 Subject: ... --- accounts/gkleen@sif/default.nix | 4 ++-- accounts/gkleen@sif/hyprland.nix | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'accounts/gkleen@sif') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 8cee684f..5bdd1651 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -164,7 +164,7 @@ in { edit-server mediawiki editorconfig typescript-mode markdown-mode nftables-mode rustic lsp-mode lsp-ui direnv company projectile tomorrow-night-paradise-theme - treesit-grammars.with-all-grammars magit-delta + treesit-grammars.with-all-grammars magit-delta scad-mode ]; overrides = self: super: { tomorrow-night-paradise-theme = super.trivialBuild { @@ -707,7 +707,7 @@ in { matrix-synapse-tools.synadm flakeInputs.deploy-rs.packages.${config.nixpkgs.system}.deploy-rs sieve-connect gimp inkscape udiskie glab nitrokey-app - pynitrokey gtklock wlrctl + pynitrokey gtklock wlrctl remmina openscad ]; file = { diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix index c5043e87..3216f307 100644 --- a/accounts/gkleen@sif/hyprland.nix +++ b/accounts/gkleen@sif/hyprland.nix @@ -192,6 +192,10 @@ in { export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs socat ])}:$PATH" socat STDIO UNIX-CONNECT:"$XDG_RUNTIME_DIR"/yt-dlp.sock <<<$'{ "urls": ["'"$(wl-paste)"$'"] }' ''}" + "$mainMod ALT, L, exec, ${pkgs.writeShellScript "mpv" '' + export PATH="${lib.makeBinPath (with pkgs; [ wl-clipboard-rs ])}:$PATH" + exec mpv "$(wl-paste)" + ''}" ", Print, exec, ${pkgs.writeShellScript "screenshot" '' export PATH="${lib.makeBinPath (with pkgs; [ grim slurp wl-clipboard-rs coreutils ])}:$PATH" -- cgit v1.2.3