This commit is contained in:
Barrett Ruth 2026-02-13 13:39:01 -05:00
parent 490b13b1d2
commit b929b3e617
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 6 additions and 5 deletions

View file

@ -43,11 +43,12 @@ in
gemini-cli
typst
libreoffice-fresh
glab
]
++ lib.optionals zen [ zen-browser.packages.${hostPlatform}.default ]
++ lib.optionals sioyek [ sioyek-wrapped ]
++ lib.optionals vesktop [ pkgs.vesktop ]
++ lib.optionals claude [ pkgs.claude-code ];
++ lib.optionals claude [ pkgs.claude-code ]
++ lib.optionals signal [ pkgs.signal-desktop ];
xdg.configFile."claude/settings.json" = lib.mkIf claude {

View file

@ -12,10 +12,10 @@ require() {
require tmux
get_scope() {
_wname=$(tmux display-message -p '#{window_name}')
case "$_wname" in
ai@*|code@*|git@*|run@*|term@*|misc@*) printf '%s' "${_wname#*@}" ;;
*) printf '%s' "$_wname" ;;
_path=$(tmux display-message -p '#{pane_current_path}')
case "$_path" in
"$HOME") printf '~' ;;
*) printf '%s' "${_path##*/}" ;;
esac
}