pulse in i3

This commit is contained in:
Luke Smith 2020-04-10 08:01:53 -04:00
parent 0dad5d69ef
commit 7aabe16b9d
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 17 additions and 19 deletions

View file

@ -59,7 +59,7 @@ bindsym $mod+grave exec --no-startup-id dmenuunicode
##bindsym $mod+asciitilde ##bindsym $mod+asciitilde
#STOP/HIDE EVERYTHING: #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: # Show selection:
bindsym $mod+Insert exec --no-startup-id showclip 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+Shift+p exec --no-startup-id mpc pause
bindsym $mod+a exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24 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+s gaps inner current plus 5
bindsym $mod+Shift+s gaps inner current minus 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+Shift+n floating toggle; sticky toggle; exec --no-startup-id hover right
bindsym $mod+m exec --no-startup-id $term -e ncmpcpp 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---# # # #---Workspace Bindings---# #
bindsym $mod+Home workspace $ws1 bindsym $mod+Home workspace $ws1
@ -252,10 +252,10 @@ bindsym $mod+Ctrl+Right move workspace to output right
# #---Media Keys---# # # #---Media Keys---# #
# Volume keys # Volume keys
bindsym $mod+plus exec --no-startup-id lmc up bindsym $mod+plus exec --no-startup-id pulsemixer --change-volume +5
bindsym $mod+Shift+plus exec --no-startup-id lmc up 15 bindsym $mod+Shift+plus exec --no-startup-id pulsemixer --change-volume +15
bindsym $mod+minus exec --no-startup-id lmc down bindsym $mod+minus exec --no-startup-id pulsemixer --change-volume -5
bindsym $mod+Shift+minus exec --no-startup-id lmc down 15 bindsym $mod+Shift+minus exec --no-startup-id pulsemixer --change-volume -15
bindsym $mod+less exec --no-startup-id mpc prev bindsym $mod+less exec --no-startup-id mpc prev
bindsym $mod+Shift+less exec --no-startup-id mpc seek 0% bindsym $mod+Shift+less exec --no-startup-id mpc seek 0%
bindsym $mod+greater exec --no-startup-id mpc next 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 bindsym XF86Launch1 exec --no-startup-id xset dpms force off
# #---Extra XF86 Keys---# # # #---Extra XF86 Keys---# #
bindsym XF86AudioMute exec --no-startup-id lmc toggle bindsym XF86AudioMute exec --no-startup-id pulsemixer --toggle-mute
bindsym XF86AudioLowerVolume exec --no-startup-id lmc down bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id lmc down 10 bindsym Shift+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -10
bindsym Control+XF86AudioLowerVolume exec --no-startup-id lmc down 1 bindsym Control+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -1
bindsym XF86AudioRaiseVolume exec --no-startup-id lmc up bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id lmc up 10 bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +10
bindsym Control+XF86AudioRaiseVolume exec --no-startup-id lmc up 1 bindsym Control+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +1
bindsym XF86PowerOff exec --no-startup-id prompt "Shutdown computer?" "$shutdown" bindsym XF86PowerOff exec --no-startup-id prompt "Shutdown computer?" "$shutdown"
##bindsym XF86Copy exec ##bindsym XF86Copy exec
##bindsym XF86Open exec ##bindsym XF86Open exec

View file

@ -137,7 +137,7 @@ Naturally, you can use \f(CWyay\fP to look for and install any you want to add.
.ITEM .ITEM
\f(CWMod+n\fP \(en newsboat (RSS feed reader) \f(CWMod+n\fP \(en newsboat (RSS feed reader)
.ITEM .ITEM
\f(CWMod+A\fP \(en alsa (audio system control) \f(CWMod+A\fP \(en pulsemixer (audio system control)
.ITEM .ITEM
\f(CWMod+w\fP \(en Web Browser (Brave) \f(CWMod+w\fP \(en Web Browser (Brave)
.ITEM .ITEM
@ -209,7 +209,7 @@ I use ncmpcpp as a music player, which is a front end for mpd.
.ITEM .ITEM
\f(CWMod+]\fP \(en Forward 10 seconds (holding shift increases amount) \f(CWMod+]\fP \(en Forward 10 seconds (holding shift increases amount)
.ITEM .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 .LIST OFF
.HEADING 2 "Workspaces" .HEADING 2 "Workspaces"
.PP .PP
@ -266,9 +266,7 @@ These settings may override your preferred settings, so you should open this fil
.PP .PP
On fresh install, the Linux audio system (ALSA) often mutes outputs. On fresh install, the Linux audio system (ALSA) often mutes outputs.
You may want to unbind 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). 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).
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".
.HEADING 2 "How do I copy and paste?" .HEADING 2 "How do I copy and paste?"
.PP .PP
Copying and pasting is always program-specific on any system. Copying and pasting is always program-specific on any system.