home
/
code
/
khome.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Move today's goals/tasks to the top of the daily template
[khome.git]
/
home
/
bin
/
vol_set
1
#! /bin/bash
2
3
set -e
4
5
if
[
"
$1
"
!=
""
]
6
then
7
value
=
"
$1
"
8
else
9
value
=
"50%"
10
fi
11
12
sink
=
"$(pactl info | awk '/^Default Sink:/ {print
$3
; exit 0}')"
13
pactl set-sink-mute
"
$sink
"
false
14
pactl set-sink-volume
"
$sink
"
"
$value
"
This page took
0.065822 seconds
and
4
git commands to generate.