Skip to content

Commit

Permalink
move to shell script for www dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
lepisma committed Sep 26, 2022
1 parent 2fb59f2 commit e6f8e11
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 260 deletions.
14 changes: 0 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,2 @@
*.pyc
.directory
/scripts/bin/bbq
/scripts/bin/pkr
/pod/roswell/pod
/scripts/bin/pod
/scripts/bin/www
/scripts/bin/aux-backup
/scripts/bin/dump-commit-events
/scripts/bin/psc
/scripts/bin/patchwork

/beets/.config/beets/state.pickle
/beets/.config/beets/discogs_token.json
/bbq/.config/bbq/scrobbled-at
*.sqlite
45 changes: 0 additions & 45 deletions pod/Lakefile

This file was deleted.

3 changes: 0 additions & 3 deletions pod/README.org

This file was deleted.

28 changes: 0 additions & 28 deletions pod/package.lisp

This file was deleted.

24 changes: 0 additions & 24 deletions pod/pod.asd

This file was deleted.

128 changes: 0 additions & 128 deletions pod/pod.lisp

This file was deleted.

18 changes: 0 additions & 18 deletions pod/roswell/pod.ros

This file was deleted.

17 changes: 17 additions & 0 deletions scripts/bin/www
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env fish

# Usage:
# www <url> ...

set -l app "firefox"

set -l alt_patterns ".google.co" "metabase.skit"

for pattern in $alt_patterns
if test -n (string match -r $pattern $argv[1])
set app "chromium"
break
end
end

eval $app $argv

0 comments on commit e6f8e11

Please sign in to comment.