alpha
Login
or
Join now
j3s.sh
/
dotfiles
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
my dotz
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
zora: add slack as xdg-open target
author
Jes Olson
date
3 years ago
(Jan 10, 2023, 5:32 PM -0800)
commit
1b2df48e
1b2df48e8b4e58c56234347802fed95b10c8b60f
parent
8d404629
8d40462952f939b3f1da3d90ef3b7e9202feeacf
+18
-3
3 changed files
Expand all
Collapse all
Unified
Split
bin
xdg-open
zora
slack
xdg-open
-3
bin/xdg-open
Reviewed
···
6
6
*.pdf)
7
7
exec zathura "$1"
8
8
;;
9
9
-
slack)
10
10
-
exec slack "$1"
11
11
-
;;
12
9
*)
13
10
exec /usr/bin/xdg-open "$@"
14
11
;;
+3
bin/zora/slack
Reviewed
···
1
1
+
#!/bin/sh
2
2
+
3
3
+
xdg-open slack "$@"
+15
bin/zora/xdg-open
Reviewed
···
1
1
+
#!/bin/sh
2
2
+
case "${1%%:*}" in
3
3
+
http|https)
4
4
+
exec firefox "$1"
5
5
+
;;
6
6
+
*.pdf)
7
7
+
exec zathura "$1"
8
8
+
;;
9
9
+
slack)
10
10
+
exec chromium --app=https://digitalocean.slack.com "$1"
11
11
+
;;
12
12
+
*)
13
13
+
exec /usr/bin/xdg-open "$@"
14
14
+
;;
15
15
+
esac