From 2e6495332fca81a36ba567afedb94130097f77fc Mon Sep 17 00:00:00 2001 From: Jessica Canady Date: Wed, 12 Jul 2023 20:59:59 -0400 Subject: [PATCH] Add gset fish function/alias --- users/phoenix/hm.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/users/phoenix/hm.nix b/users/phoenix/hm.nix index be85add..9c3cd49 100644 --- a/users/phoenix/hm.nix +++ b/users/phoenix/hm.nix @@ -13,15 +13,17 @@ # DEs (gnome is elsewhere) hyprland # default utils improvements - exa # ls + lsd # ls bat # cat fd # find duf # du xcp # cp ripgrep # grep + # rando stuff kitty # terminal plex-media-player # ugh where's the good app? telegram-desktop # msg + jq # editors (emacs is god, lives elsewhere) neovim # browsers @@ -56,6 +58,12 @@ interactiveShellInit = " set fish_greeting # Disable greeting "; + functions = { + gset = { + body = "env GSETTINGS_SCHEMA_DIR=$(nix-instantiate -I nixpkgs=$HOME/Projects/nixpkgs --eval --json -E 'with import { }; glib.passthru.getSchemaPath gnome3.mutter' | jq --raw-output) gsettings $argv"; + description = "invoke gsettings with nixos environment"; + }; + }; }; programs.starship = {