aboutsummaryrefslogtreecommitdiff
path: root/X
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-02-25 21:34:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-02-25 21:34:23 +1300
commit3d6829b47722828aa336b7644555ddbc5239cc39 (patch)
tree001600bf51ed4767682d5e206aec192a8bce7f10 /X
parentAdd basic ex/vi settings (diff)
downloaddotfiles-3d6829b47722828aa336b7644555ddbc5239cc39.tar.gz
dotfiles-3d6829b47722828aa336b7644555ddbc5239cc39.zip
Switch from xbindkeys to sxhkd
Smaller, easier
Diffstat (limited to 'X')
-rw-r--r--X/sxhkdrc44
-rw-r--r--X/xbindkeysrc44
-rw-r--r--X/xinitrc.d/sxhkd.sh3
-rw-r--r--X/xinitrc.d/xbindkeys.sh3
4 files changed, 47 insertions, 47 deletions
diff --git a/X/sxhkdrc b/X/sxhkdrc
new file mode 100644
index 00000000..5a75f1df
--- /dev/null
+++ b/X/sxhkdrc
@@ -0,0 +1,44 @@
+super + Return
+ urxvtcd
+
+super + control + Return
+ urxvtcd -e sh
+
+super + shift + Return
+ urxvtcd -e ksh
+
+super + alt + Return
+ urxvtcd -e zsh
+
+super + b
+ br
+
+super + d
+ dmenu_run
+
+super + g
+ xgoc
+
+super + i
+ gimp
+
+super + m
+ urxvtcd -e tm
+
+super + p
+ dmp
+
+super + slash
+ i3lock --color=#000000 --image ~/.i3/lock.png --nofork
+
+XF86AudioMute
+ amixer -q sset Master toggle
+
+XF86AudioRaiseVolume
+ amixer -q sset Master 5%+ unmute
+
+XF86AudioLowerVolume
+ amixer -q sset Master 5%- unmute
+
+XF86Calculator
+ urxvtcd -e bcq
diff --git a/X/xbindkeysrc b/X/xbindkeysrc
deleted file mode 100644
index 16ae5b14..00000000
--- a/X/xbindkeysrc
+++ /dev/null
@@ -1,44 +0,0 @@
-"exec urxvtcd"
- Mod4 + Return
-
-"exec urxvtcd -e sh"
- Mod4 + Control + Return
-
-"exec urxvtcd -e ksh"
- Mod4 + Shift + Return
-
-"exec urxvtcd -e zsh"
- Mod4 + Alt + Return
-
-"exec br"
- Mod4 + b
-
-"exec dmenu_run"
- Mod4 + d
-
-"exec xgoc"
- Mod4 + g
-
-"exec gimp"
- Mod4 + i
-
-"exec urxvtcd -e tm"
- Mod4 + m
-
-"exec dmp"
- Mod4 + p
-
-"exec i3lock --color=#000000 --image ~/.i3/lock.png --nofork"
- Mod4 + slash
-
-"exec amixer -q sset Master toggle"
- XF86AudioMute
-
-"exec amixer -q sset Master 5%+ unmute"
- XF86AudioRaiseVolume
-
-"exec amixer -q sset Master 5%- unmute"
- XF86AudioLowerVolume
-
-"exec urxvtcd -e bcq"
- XF86Calculator
diff --git a/X/xinitrc.d/sxhkd.sh b/X/xinitrc.d/sxhkd.sh
new file mode 100644
index 00000000..132d8f8a
--- /dev/null
+++ b/X/xinitrc.d/sxhkd.sh
@@ -0,0 +1,3 @@
+# Start sxhkd(1)
+command -v sxhkd >/dev/null 2>&1 || return
+sxhkd &
diff --git a/X/xinitrc.d/xbindkeys.sh b/X/xinitrc.d/xbindkeys.sh
deleted file mode 100644
index b76aebdd..00000000
--- a/X/xinitrc.d/xbindkeys.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-# Start xbindkeys(1)
-command -v xbindkeys >/dev/null 2>&1 || return
-(cd -- "$HOME" && xbindkeys -n) &