-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (30 loc) · 1.18 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
install:
install -D pa-app-list $$HOME/bin/pa-app-list
install -D pa-app-sink $$HOME/bin/pa-app-sink
install -D pa-app-source $$HOME/bin/pa-app-source
install -D pa-app-source-volume $$HOME/bin/pa-app-source-volume
install -D pa-app-volume $$HOME/bin/pa-app-volume
install -D pa-card-profile $$HOME/bin/pa-card-profile
install -D pa-default-sink $$HOME/bin/pa-default-sink
install -D pa-default-source $$HOME/bin/pa-default-source
install -D pa-entities-list $$HOME/bin/pa-entities-list
[ -f $$HOME/.config/pulse-scripts/entities ] || install -m 700 -D entities.example $$HOME/.config/pulse-scripts/entities
install -m 644 -D pa-function-lib $$HOME/.local/share/pulse-scripts/pa-function-lib
uninstall:
rm $$HOME/bin/pa-app-list
rm $$HOME/bin/pa-app-sink
rm $$HOME/bin/pa-app-volume
rm $$HOME/bin/pa-app-source
rm $$HOME/bin/pa-default-source
rm $$HOME/bin/pa-default-sink
rm $$HOME/bin/pa-app-source-volume
rm $$HOME/bin/pa-card-profile
rm $$HOME/bin/pa-entities-list
rm -r $$HOME/.config/pulse-scripts/
rm -r $$HOME/.local/share/pulse-scripts
list-sinks:
pactl list sinks | grep -A 1 Name
list-sources:
pactl list sources | grep -A 1 Name
list-cards:
pactl list cards | grep Name