From e3e4e6601fa038290ed102340cc635f7e9a90ad9 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 7 Jun 2017 00:57:06 -0400 Subject: [PATCH] xbindkeys --- Makefile | 4 ++-- xbindkeysrc | 11 +++++++++++ xinitrc | 3 ++- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 xbindkeysrc diff --git a/Makefile b/Makefile index faac949..3ff8863 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ LN_FLAGS = -sfnv MKDIR_FLAGS = -pv -home_symlinks = aliases Xresources xmonad xinitrc +home_symlinks = aliases Xresources xbindkeysrc xinitrc config_copy = @@ -9,7 +9,7 @@ config_symlinks = all: install -install: aliases Xresources xmonad xinitrc +install: aliases Xresources xbindkeysrc xinitrc .PHONY: $(home_symlinks) $(home_symlinks): diff --git a/xbindkeysrc b/xbindkeysrc new file mode 100644 index 0000000..b1bb47b --- /dev/null +++ b/xbindkeysrc @@ -0,0 +1,11 @@ +"amixer set Master 5%+" + XF86AudioRaiseVolume + +"amixer set Master 5%-" + XF86AudioLowerVolume + +"amixer set Master toggle" + XF86AudioMute + +"amixer set Capture toggle" + XF86AudioMicMute diff --git a/xinitrc b/xinitrc index 49b66fb..a61817e 100644 --- a/xinitrc +++ b/xinitrc @@ -3,4 +3,5 @@ [ -f ~/.Xresources ] && xrdb -merge .Xresources xsetroot -cursor_name left_ptr -exec xmonad +xbindkeys & +exec i3