diff options
author | Adrian Kummerlaender | 2017-10-04 13:40:16 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2017-10-04 13:40:16 +0200 |
commit | 812a7abb72486519b075d2937692e4fd74488e34 (patch) | |
tree | 848cb214d76538a228d5874b1ac05ee398510c58 /i3wm | |
parent | 5eb8256dd631f2e0012fc57894a22157cb96388f (diff) | |
download | dotfiles-812a7abb72486519b075d2937692e4fd74488e34.tar dotfiles-812a7abb72486519b075d2937692e4fd74488e34.tar.gz dotfiles-812a7abb72486519b075d2937692e4fd74488e34.tar.bz2 dotfiles-812a7abb72486519b075d2937692e4fd74488e34.tar.lz dotfiles-812a7abb72486519b075d2937692e4fd74488e34.tar.xz dotfiles-812a7abb72486519b075d2937692e4fd74488e34.tar.zst dotfiles-812a7abb72486519b075d2937692e4fd74488e34.zip |
Bind volume keys to pulseaudio control
Diffstat (limited to 'i3wm')
-rw-r--r-- | i3wm/.i3/config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/i3wm/.i3/config b/i3wm/.i3/config index 222711d..6725ae0 100644 --- a/i3wm/.i3/config +++ b/i3wm/.i3/config @@ -141,6 +141,10 @@ mode "gaps" { bindsym Escape mode "default" } +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 1 +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-mute 0 0 && pactl set-sink-volume 0 +10% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-mute 0 0 && pactl set-sink-volume 0 -10% + for_window [class="^.*"] border pixel 4; for_window [title="^dictionary$"] border pixel 8, floating enable; for_window [title="VimWiki"] border pixel 8, floating enable, move to scratchpad; @@ -152,7 +156,7 @@ exec --no-startup-id export $(gnome-keyring-daemon) exec --no-startup-id urxvtd exec --no-startup-id twmnd exec --no-startup-id nm-applet -exec --no-startup-id volumeicon +exec --no-startup-id pasystray exec --no-startup-id feh --bg-center ~/.background.jpg exec --no-startup-id gvim -geometry 120x35 --servername VIMWIKI -c ":set title titlestring=VimWiki" -c ":set autowriteall" -c ":set noswapfile" ~/wiki/0.wiki exec --no-startup-id zeal |