audio control
This commit is contained in:
parent
f63300a56d
commit
9fca3c500c
22
env/wm/sxhkdrc
vendored
22
env/wm/sxhkdrc
vendored
|
@ -177,10 +177,6 @@ super + space
|
||||||
rofi -show run -font "Monaco 9" -fuzzy -bw $BORDER_WIDTH -bg "#$(get_color 00)" -fg "#$(get_color 0A)" -hlfg "#$(get_color 0D)" -hlbg "#$(get_color 01)"
|
rofi -show run -font "Monaco 9" -fuzzy -bw $BORDER_WIDTH -bg "#$(get_color 00)" -fg "#$(get_color 0A)" -hlfg "#$(get_color 0D)" -hlbg "#$(get_color 01)"
|
||||||
# dmenu_run -fn "$PRIMARY_FONT_FAMILY_WITH_SIZE" -i -nb "#$(get_color 00)" -sb "#$(get_color 00)" -sf "#$(get_color 0A)" -nf "#$(get_color 04)" -h "$BAR_HEIGHT"
|
# dmenu_run -fn "$PRIMARY_FONT_FAMILY_WITH_SIZE" -i -nb "#$(get_color 00)" -sb "#$(get_color 00)" -sf "#$(get_color 0A)" -nf "#$(get_color 04)" -h "$BAR_HEIGHT"
|
||||||
|
|
||||||
# make sxhkd reload its configuration files:
|
|
||||||
super + Escape
|
|
||||||
pkill -USR1 -x sxhkd
|
|
||||||
|
|
||||||
# lock the desktop
|
# lock the desktop
|
||||||
super + ctrl + shift + l
|
super + ctrl + shift + l
|
||||||
slock
|
slock
|
||||||
|
@ -191,13 +187,22 @@ super + e
|
||||||
|
|
||||||
# volumes controls and media navigation for media keys
|
# volumes controls and media navigation for media keys
|
||||||
{_,shift + }XF86AudioLowerVolume
|
{_,shift + }XF86AudioLowerVolume
|
||||||
ADJ={10,1} && amixer -c 1 sset Speaker $ADJ%- && amixer -c 1 sset Headphone $ADJ%- && amixer -c 1 sset Master $ADJ%- && update_bar_MasterVolume
|
amixer -D pulse sset Master 5%-
|
||||||
|
|
||||||
|
# pulseaudio-ctl lower
|
||||||
|
# ADJ={10,1} && amixer -c 1 sset Speaker $ADJ%- && amixer -c 1 sset Headphone $ADJ%- && amixer -c 1 sset Master $ADJ%- && update_bar_MasterVolume
|
||||||
|
|
||||||
{_,shift + }XF86AudioRaiseVolume
|
{_,shift + }XF86AudioRaiseVolume
|
||||||
ADJ={10,1} && amixer -c 1 sset Speaker $ADJ%+ && amixer -c 1 sset Headphone $ADJ%+ && amixer -c 1 sset Master $ADJ%+ && update_bar_MasterVolume
|
amixer -D pulse sset Master 5%+
|
||||||
|
|
||||||
|
# pulseaudio-ctl raise
|
||||||
|
# ADJ={10,1} && amixer -c 1 sset Speaker $ADJ%+ && amixer -c 1 sset Headphone $ADJ%+ && amixer -c 1 sset Master $ADJ%+ && update_bar_MasterVolume
|
||||||
|
|
||||||
XF86AudioMute
|
XF86AudioMute
|
||||||
amixer -c 1 sset Master toggle && update_bar_MasterVolume
|
amixer -D pulse sset Master toggle
|
||||||
|
|
||||||
|
# pulseaudio-ctl mute
|
||||||
|
# amixer -c 1 sset Master toggle && update_bar_MasterVolume
|
||||||
|
|
||||||
XF86AudioPlay
|
XF86AudioPlay
|
||||||
mpc toggle
|
mpc toggle
|
||||||
|
@ -215,3 +220,6 @@ XF86AudioPrev
|
||||||
{_,shift + }XF86MonBrightnessDown
|
{_,shift + }XF86MonBrightnessDown
|
||||||
sub_percent_brightness {0.1,0.01} && update_bar_DisplayBrightness
|
sub_percent_brightness {0.1,0.01} && update_bar_DisplayBrightness
|
||||||
|
|
||||||
|
# make sxhkd reload its configuration files:
|
||||||
|
super + Escape
|
||||||
|
pkill -USR1 -x sxhkd
|
||||||
|
|
|
@ -39,6 +39,7 @@ pacaur -S \
|
||||||
samba \
|
samba \
|
||||||
thunar-shares-plugin \
|
thunar-shares-plugin \
|
||||||
nmap \
|
nmap \
|
||||||
|
pulseaudio-ctl \
|
||||||
--noconfirm --noedit
|
--noconfirm --noedit
|
||||||
|
|
||||||
# sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome
|
# sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome
|
||||||
|
|
Reference in a new issue