cleanups
This commit is contained in:
parent
490b13b1d2
commit
b929b3e617
2 changed files with 6 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue