summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-12-08 14:26:53 +0100
committerDaniel Weipert <code@drogueronin.de>2021-12-08 14:26:53 +0100
commit7fd30e3486d4e49f802b034df4dfa77cd529c014 (patch)
tree9fcd977b79daf02f3019227cae7fb7e14152fc5e
parentb349d7d1264004796ec6f895755d1334cef4fe6e (diff)
Adjusts volume settings
-rw-r--r--.config/sway/config6
-rw-r--r--.config/waybar/config3
2 files changed, 4 insertions, 5 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 09724b9..95a0eff 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -105,8 +105,10 @@ input * {
# Audio
#
- bindsym F11 exec pactl set-sink-volume @DEFAULT_SINK@ -5%
- bindsym F12 exec pactl set-sink-volume @DEFAULT_SINK@ +5%
+ bindsym XF86AudioLowerVolume exec amixer set Master 1%-
+ bindsym XF86AudioRaiseVolume exec amixer set Master 1%+
+ bindsym Shift+XF86AudioLowerVolume exec amixer set Master 5%-
+ bindsym Shift+XF86AudioRaiseVolume exec amixer set Master 5%+
#
# Moving around:
diff --git a/.config/waybar/config b/.config/waybar/config
index 0231590..3a900ab 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -9,9 +9,6 @@
"tray": {
"show-passive-items": true
},
- "pulseaudio": {
- "format": "V {volume}%",
- },
"custom/alsa": {
"exec": "amixer get Master | grep '%' | awk -F '[][]' '{print $2}'",
//"exec-if": "alsactl monitor",