feat(i3): pulseaudio-ctl > pactl

This commit is contained in:
Pavel Korytov 2021-03-16 07:30:26 +03:00
parent 24981a6c8e
commit b3224f4eb6
2 changed files with 41 additions and 41 deletions

View file

@ -357,9 +357,9 @@ exec_always --no-startup-id "bash /home/pavel/bin/polybar.sh"
# }
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id "pulseaudio-ctl up && pkill -RTMIN+2 i3blocks"
bindsym XF86AudioLowerVolume exec --no-startup-id "pulseaudio-ctl down && pkill -RTMIN+2 i3blocks"
bindsym XF86AudioMute exec --no-startup-id "pulseaudio-ctl mute && pkill -RTMIN+2 i3blocks"
bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ +5%"
bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ -5%"
bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute @DEFAULT_SINK@ toggle"
# Media player controls
bindsym XF86AudioPlay exec mpc toggle

View file

@ -1,42 +1,42 @@
* My dotfiles
Deployed with [[https://yadm.io/][yadm]]
| Group | Program | Purpose | Status | Documented? | Notes |
|-----------+----------------+--------------------------------+------------------+-------------+----------------------------------------------------------------------------|
| Group | Program | Purpose | Status | Documented? | Notes |
|-----------+----------------+--------------------------------+-------------------+-------------+----------------------------------------------------------------------------|
| console | bash | shell | launches fish :) | - | |
| console | [[https://fishshell.com/][fish]] | shell | *active* | - | |
| console | [[https://github.com/starship/starship][starship]] | prompt | *active* | - | |
| console | [[https://st.suckless.org/][st]] | terminal | *active* | - | I compiled it 1.5 years ago and lost the source, so I just copy the binary |
| console | [[https://github.com/tmux/tmux][tmux]] | terminal multiplexer | *active* | - | |
| console | [[https://github.com/ogham/exa][exa]] | ls clone | *active* | - | |
| console | [[https://github.com/moonpyk/dtrx][dtrx]] | archive extractor | *active* | - | |
| console | [[https://github.com/jhspetersson/fselect][fselect]] | SQL-like find | *active* | - | |
| console | [[https://github.com/sharkdp/bat][bat]] | cat clone | *active* | - | |
| console | [[https://vifm.info/][vifm]] | file manager with vim bindings | archive | - | |
| mail | [[https://notmuchmail.org/][notmuch]] | mail indexer | *active* | [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][post]] | |
| mail | [[https://github.com/gauteh/lieer][lieer]] | gmail API client | *active* | [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][post]] | credentials are encrypted |
| mail | [[https://marlam.de/msmtp/][msmtp]] | SMTP client | *active* | - | encrypted |
| editor | [[https://www.gnu.org/software/emacs/][emacs]] | everything | *active* | - | GitHub renders .org files without labels and =tangle: no= |
| editor | [[https://neovim.io/][neovim]] | text edtior | archive | - | |
| documents | [[https://mg.readthedocs.io/latexmk.html][latexmk]] | LaTeX build tool | *active* | - | |
| documents | [[https://pwmt.org/projects/zathura/][zathura]] | pdf viewer | *active* | - | |
| desktop | [[https://github.com/dunst-project/dunst][dunst]] | notification manager | *active* | - | |
| desktop | [[https://i3wm.org/][i3wm]] | tiling WM | *active* | - | |
| desktop | [[https://github.com/jordansissel/keynav][keynav]] | control mouse with keyboard | *active* | - | |
| desktop | [[https://github.com/polybar/polybar][polybar]] | status bar | *active* | - | |
| desktop | [[https://github.com/yshui/picom][picom]] | X11 compositor | *active* | - | |
| desktop | [[https://github.com/vivien/i3blocks][i3blocks]] | status bar | archive | - | |
| desktop | [[https://github.com/davatorium/rofi][rofi]] | generic menu | *active* | - | |
| desktop | [[https://github.com/flameshot-org/flameshot][flameshot]] | screenshot | *active* | - | |
| internet | [[https://github.com/tridactyl/tridactyl][tridactyl]] | vim bindings for Firefox | *active* | - | templated with yadm |
| internet | [[https://newsboat.org/][newsboat]] | terminal RSS reader | *active* | - | urls are encrypted |
| internet | [[https://qutebrowser.org/][qutebrowser]] | browser with vim bindings | archive | - | |
| internet | [[https://github.com/jarun/buku][buku]] | bookmarks manager | archive | - | |
| internet | [[https://tabliss.io/][tabliss]] | new tab page | *active* | - | runned as server to work with tridactyl |
| audio | [[https://www.musicpd.org/][mpd]] | music player daemon | *active* | - | |
| audio | [[https://github.com/ncmpcpp/ncmpcpp][ncmpcpp]] | MPD frontend | *active* | - | |
| audio | [[https://github.com/graysky2/pulseaudio-ctl][pulseaudio-ctl]] | PulseAudio controller | *active* | - | |
| dev | [[https://github.com/prompt-toolkit/ptpython][ptpython]] | Python REPL | archive | - | |
| dev | [[https://github.com/inducer/pudb][pudb]] | Python Debugger | archive | - | |
| misc | [[https://yadm.io][yadm]] | dotfiles manager | *active* | - | |
| misc | [[https://github.com/risacher/sunwait][sunwait]] | sunrise calculator | *active* | - | |
| console | [[https://fishshell.com/][fish]] | shell | *active* | - | |
| console | [[https://github.com/starship/starship][starship]] | prompt | *active* | - | |
| console | [[https://st.suckless.org/][st]] | terminal | *active* | - | I compiled it 1.5 years ago and lost the source, so I just copy the binary |
| console | [[https://github.com/tmux/tmux][tmux]] | terminal multiplexer | *active* | - | |
| console | [[https://github.com/ogham/exa][exa]] | ls clone | *active* | - | |
| console | [[https://github.com/moonpyk/dtrx][dtrx]] | archive extractor | *active* | - | |
| console | [[https://github.com/jhspetersson/fselect][fselect]] | SQL-like find | *active* | - | |
| console | [[https://github.com/sharkdp/bat][bat]] | cat clone | *active* | - | |
| console | [[https://vifm.info/][vifm]] | file manager with vim bindings | archive | - | |
| mail | [[https://notmuchmail.org/][notmuch]] | mail indexer | *active* | [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][post]] | |
| mail | [[https://github.com/gauteh/lieer][lieer]] | gmail API client | *active* | [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][post]] | credentials are encrypted |
| mail | [[https://marlam.de/msmtp/][msmtp]] | SMTP client | *active* | - | encrypted |
| editor | [[https://www.gnu.org/software/emacs/][emacs]] | everything | *active* | - | GitHub renders .org files without labels and =tangle: no= |
| editor | [[https://neovim.io/][neovim]] | text edtior | archive | - | |
| documents | [[https://mg.readthedocs.io/latexmk.html][latexmk]] | LaTeX build tool | *active* | - | |
| documents | [[https://pwmt.org/projects/zathura/][zathura]] | pdf viewer | *active* | - | |
| desktop | [[https://github.com/dunst-project/dunst][dunst]] | notification manager | *active* | - | |
| desktop | [[https://i3wm.org/][i3wm]] | tiling WM | *active* | - | |
| desktop | [[https://github.com/jordansissel/keynav][keynav]] | control mouse with keyboard | *active* | - | |
| desktop | [[https://github.com/polybar/polybar][polybar]] | status bar | *active* | - | |
| desktop | [[https://github.com/yshui/picom][picom]] | X11 compositor | *active* | - | |
| desktop | [[https://github.com/vivien/i3blocks][i3blocks]] | status bar | archive | - | |
| desktop | [[https://github.com/davatorium/rofi][rofi]] | generic menu | *active* | - | |
| desktop | [[https://github.com/flameshot-org/flameshot][flameshot]] | screenshot | *active* | - | |
| internet | [[https://github.com/tridactyl/tridactyl][tridactyl]] | vim bindings for Firefox | *active* | - | templated with yadm |
| internet | [[https://newsboat.org/][newsboat]] | terminal RSS reader | *active* | - | urls are encrypted |
| internet | [[https://qutebrowser.org/][qutebrowser]] | browser with vim bindings | archive | - | |
| internet | [[https://github.com/jarun/buku][buku]] | bookmarks manager | archive | - | |
| internet | [[https://tabliss.io/][tabliss]] | new tab page | *active* | - | runned as server to work with tridactyl |
| audio | [[https://www.musicpd.org/][mpd]] | music player daemon | *active* | - | |
| audio | [[https://github.com/ncmpcpp/ncmpcpp][ncmpcpp]] | MPD frontend | *active* | - | |
| audio | [[https://github.com/graysky2/pulseaudio-ctl][pulseaudio-ctl]] | PulseAudio controller | archive | - | |
| dev | [[https://github.com/prompt-toolkit/ptpython][ptpython]] | Python REPL | archive | - | |
| dev | [[https://github.com/inducer/pudb][pudb]] | Python Debugger | archive | - | |
| misc | [[https://yadm.io][yadm]] | dotfiles manager | *active* | - | |
| misc | [[https://github.com/risacher/sunwait][sunwait]] | sunrise calculator | *active* | - | |