Add gset fish function/alias
This commit is contained in:
parent
19e5058583
commit
2e6495332f
|
@ -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 <nixpkgs> { }; glib.passthru.getSchemaPath gnome3.mutter' | jq --raw-output) gsettings $argv";
|
||||
description = "invoke gsettings with nixos environment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.starship = {
|
||||
|
|
Loading…
Reference in a new issue