Add gset fish function/alias
This commit is contained in:
parent
19e5058583
commit
2e6495332f
|
@ -13,15 +13,17 @@
|
||||||
# DEs (gnome is elsewhere)
|
# DEs (gnome is elsewhere)
|
||||||
hyprland
|
hyprland
|
||||||
# default utils improvements
|
# default utils improvements
|
||||||
exa # ls
|
lsd # ls
|
||||||
bat # cat
|
bat # cat
|
||||||
fd # find
|
fd # find
|
||||||
duf # du
|
duf # du
|
||||||
xcp # cp
|
xcp # cp
|
||||||
ripgrep # grep
|
ripgrep # grep
|
||||||
|
# rando stuff
|
||||||
kitty # terminal
|
kitty # terminal
|
||||||
plex-media-player # ugh where's the good app?
|
plex-media-player # ugh where's the good app?
|
||||||
telegram-desktop # msg
|
telegram-desktop # msg
|
||||||
|
jq
|
||||||
# editors (emacs is god, lives elsewhere)
|
# editors (emacs is god, lives elsewhere)
|
||||||
neovim
|
neovim
|
||||||
# browsers
|
# browsers
|
||||||
|
@ -56,6 +58,12 @@
|
||||||
interactiveShellInit = "
|
interactiveShellInit = "
|
||||||
set fish_greeting # Disable greeting
|
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 = {
|
programs.starship = {
|
||||||
|
|
Loading…
Reference in a new issue