summaryrefslogtreecommitdiff
path: root/home/ebisu/fortune/system/shell
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-01 23:51:42 -0700
committerFuwn <[email protected]>2024-09-01 23:51:42 -0700
commitc7aa52483140c250d3e4e7250ab6b539404bf580 (patch)
tree5478352d41b0b37a65cb37e7562823cf42eee6ba /home/ebisu/fortune/system/shell
parentsecrets (diff)
downloadnixos-config-c7aa52483140c250d3e4e7250ab6b539404bf580.tar.xz
nixos-config-c7aa52483140c250d3e4e7250ab6b539404bf580.zip
secrets home
Diffstat (limited to 'home/ebisu/fortune/system/shell')
-rw-r--r--home/ebisu/fortune/system/shell/fish.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/ebisu/fortune/system/shell/fish.nix b/home/ebisu/fortune/system/shell/fish.nix
index d58b065..1d6003b 100644
--- a/home/ebisu/fortune/system/shell/fish.nix
+++ b/home/ebisu/fortune/system/shell/fish.nix
@@ -32,14 +32,14 @@
end
end
- set -l config_home (set -q XDG_CONFIG_HOME; and echo $XDG_CONFIG_HOME; or echo $HOME/.config)
+ set -l config_home (set -q XDG_CONFIG_HOME; and echo $XDG_CONFIG_HOME; or echo ${config.xdg.configHome})
set HISTSIZE -1
set HISTFILESIZE -1
set SAVEHIST -1
bind \ce edit_command_buffer
- cat ~/.cache/wal/sequences
+ cat ${config.xdg.cacheHome}/wal/sequences
zoxide init fish | source
direnv hook fish | source
@@ -146,7 +146,7 @@
rotd = "systemctl --user restart opentabledriver.service";
ks = "kaguya stream --user-agent 'Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0'";
def = "myougiden";
- suzuri = "SUZURI_MINIMAL=1 SUZURI_REVERSE=1 ~/Documents/Code/Git/Fuwn/suzuri/suzuri";
+ suzuri = "SUZURI_MINIMAL=1 SUZURI_REVERSE=1 ${config.home.homeDirectory}/Documents/Code/Git/Fuwn/suzuri/suzuri";
"5ch" = "html2md -i 'https://ff5ch.syoboi.jp/' -s section | glow";
shinobu = "curl --silent https://shinobu.fuwn.workers.dev/shinobu -o /tmp/shinobu && nsxiv /tmp/shinobu";
auto_subtitle = "source $HOME/Documents/Code/Git/Random/auto-subtitle/venv/bin/activate && auto_subtitle --model medium --task translate --srt_only True";