firefox: remove native app dep on dirname
This commit is contained in:
parent
043619c474
commit
8332540276
1 changed files with 3 additions and 2 deletions
|
|
@ -10,10 +10,11 @@ function message -a msg
|
|||
end
|
||||
|
||||
set -q XDG_STATE_HOME && set -l state $XDG_STATE_HOME || set -l state $HOME/.local/state
|
||||
set -l scheme_path $state/caelestia/scheme.json
|
||||
set -l state_dir $state/caelestia
|
||||
set -l scheme_path $state_dir/scheme.json
|
||||
|
||||
message (jq -c . $scheme_path)
|
||||
|
||||
inotifywait -q -e 'close_write,moved_to,create' -m (dirname $scheme_path) | while read dir events file
|
||||
inotifywait -q -e 'close_write,moved_to,create' -m $state_dir | while read dir events file
|
||||
test "$dir$file" = $scheme_path && message (jq -c . $scheme_path)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue