commit 7aabe16b9d623df0405ff71b6e7b73e82fae3cda
parent 0dad5d69ef07f045e1b3fc9d11dfe22bb11a7dfc
Author: Luke Smith <luke@lukesmith.xyz>
Date: Fri, 10 Apr 2020 08:01:53 -0400
pulse in i3
Diffstat:
2 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/.config/i3/config b/.config/i3/config
@@ -59,7 +59,7 @@ bindsym $mod+grave exec --no-startup-id dmenuunicode
##bindsym $mod+asciitilde
#STOP/HIDE EVERYTHING:
-bindsym $mod+Shift+Delete exec --no-startup-id lmc mute ; exec --no-startup-id mpc pause && pkill -RTMIN+10 i3blocks ; exec --no-startup-id pauseallmpv; workspace 0; exec $term -e htop ; exec $term -e lf
+bindsym $mod+Shift+Delete exec --no-startup-id pulsemixer --mute ; exec --no-startup-id mpc pause && pkill -RTMIN+10 i3blocks ; exec --no-startup-id pauseallmpv; workspace 0; exec $term -e htop ; exec $term -e lf
# Show selection:
bindsym $mod+Insert exec --no-startup-id showclip
@@ -97,7 +97,7 @@ bindsym $mod+p exec --no-startup-id mpc toggle
bindsym $mod+Shift+p exec --no-startup-id mpc pause
bindsym $mod+a exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24
-bindsym $mod+Shift+a exec $term -e alsamixer
+bindsym $mod+Shift+a exec $term -e pulsemixer
bindsym $mod+s gaps inner current plus 5
bindsym $mod+Shift+s gaps inner current minus 5
@@ -150,7 +150,7 @@ bindsym $mod+n exec $term -e newsboat && pkill -RTMIN+6 i3blocks
bindsym $mod+Shift+n floating toggle; sticky toggle; exec --no-startup-id hover right
bindsym $mod+m exec --no-startup-id $term -e ncmpcpp
-bindsym $mod+Shift+m exec --no-startup-id lmc toggle
+bindsym $mod+Shift+m exec --no-startup-id pulsemixer --toggle-mute
# #---Workspace Bindings---# #
bindsym $mod+Home workspace $ws1
@@ -252,10 +252,10 @@ bindsym $mod+Ctrl+Right move workspace to output right
# #---Media Keys---# #
# Volume keys
-bindsym $mod+plus exec --no-startup-id lmc up
-bindsym $mod+Shift+plus exec --no-startup-id lmc up 15
-bindsym $mod+minus exec --no-startup-id lmc down
-bindsym $mod+Shift+minus exec --no-startup-id lmc down 15
+bindsym $mod+plus exec --no-startup-id pulsemixer --change-volume +5
+bindsym $mod+Shift+plus exec --no-startup-id pulsemixer --change-volume +15
+bindsym $mod+minus exec --no-startup-id pulsemixer --change-volume -5
+bindsym $mod+Shift+minus exec --no-startup-id pulsemixer --change-volume -15
bindsym $mod+less exec --no-startup-id mpc prev
bindsym $mod+Shift+less exec --no-startup-id mpc seek 0%
bindsym $mod+greater exec --no-startup-id mpc next
@@ -276,13 +276,13 @@ bindsym $mod+Delete exec $stoprec
bindsym XF86Launch1 exec --no-startup-id xset dpms force off
# #---Extra XF86 Keys---# #
-bindsym XF86AudioMute exec --no-startup-id lmc toggle
-bindsym XF86AudioLowerVolume exec --no-startup-id lmc down
-bindsym Shift+XF86AudioLowerVolume exec --no-startup-id lmc down 10
-bindsym Control+XF86AudioLowerVolume exec --no-startup-id lmc down 1
-bindsym XF86AudioRaiseVolume exec --no-startup-id lmc up
-bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id lmc up 10
-bindsym Control+XF86AudioRaiseVolume exec --no-startup-id lmc up 1
+bindsym XF86AudioMute exec --no-startup-id pulsemixer --toggle-mute
+bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5
+bindsym Shift+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -10
+bindsym Control+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -1
+bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5
+bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +10
+bindsym Control+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +1
bindsym XF86PowerOff exec --no-startup-id prompt "Shutdown computer?" "$shutdown"
##bindsym XF86Copy exec
##bindsym XF86Open exec
diff --git a/.local/share/larbs/readme.mom b/.local/share/larbs/readme.mom
@@ -137,7 +137,7 @@ Naturally, you can use \f(CWyay\fP to look for and install any you want to add.
.ITEM
\f(CWMod+n\fP \(en newsboat (RSS feed reader)
.ITEM
-\f(CWMod+A\fP \(en alsa (audio system control)
+\f(CWMod+A\fP \(en pulsemixer (audio system control)
.ITEM
\f(CWMod+w\fP \(en Web Browser (Brave)
.ITEM
@@ -209,7 +209,7 @@ I use ncmpcpp as a music player, which is a front end for mpd.
.ITEM
\f(CWMod+]\fP \(en Forward 10 seconds (holding shift increases amount)
.ITEM
-\f(CWMod+A\fP \(en alsamixer (general volume sink/source control)
+\f(CWMod+A\fP \(en pulsemixer (general volume sink/source control)
.LIST OFF
.HEADING 2 "Workspaces"
.PP
@@ -266,9 +266,7 @@ These settings may override your preferred settings, so you should open this fil
.PP
On fresh install, the Linux audio system (ALSA) often mutes outputs.
You may want to unbind
-You may also need to set your preferred default output sink which you can do by the command line, or by selecting one with \f(CWalsamixer\fP (\f(CWmod+A\fP).
-
-If you have a more complex audio setup and can't be bothered to figure out ALSA, you might want to install and enable PulseAudio, which general "just werks".
+You may also need to set your preferred default output sink which you can do by the command line, or by selecting one with \f(CWpulsemixer\fP (\f(CWmod+A\fP).
.HEADING 2 "How do I copy and paste?"
.PP
Copying and pasting is always program-specific on any system.