From 90e3ff1fc9fe153aa83dd2237c1e98776544b25d Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Wed, 4 Aug 2021 23:46:35 +0200 Subject: pulseaudio kinda working --- .config/i3/config | 10 +++++----- .xinitrc | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 6cb2644..133079c 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -174,8 +174,8 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork exec --no-startup-id nm-applet # Use pactl to adjust volume in PulseAudio. -set $refresh_i3status killall -SIGUSR1 i3status -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status -bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status +#set $refresh_i3status killall -SIGUSR1 i3status +#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status +#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status +#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status +#bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status diff --git a/.xinitrc b/.xinitrc index 0cbef24..a8a364f 100644 --- a/.xinitrc +++ b/.xinitrc @@ -50,6 +50,7 @@ fi nitrogen --restore & greenclip daemon & +pulseaudio --daemonize & polybar bar1 & picom & exec i3 -- cgit v1.2.3-70-g09d2