aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-09-04 17:43:09 -0400
committerxero <x@xero.nu>2015-09-04 17:43:09 -0400
commitca99575ce086e957749f75a4822b3ed901eed8b6 (patch)
treecbf747df7bc333d7e776920bf71aa1324af4c9e9
parent8cafc9088655302cc99db700e87cd2ed13740d44 (diff)
downloaddotfiles_ascii-ca99575ce086e957749f75a4822b3ed901eed8b6.tar.xz
dotfiles_ascii-ca99575ce086e957749f75a4822b3ed901eed8b6.zip
global vi/m movement keys :key:
-rw-r--r--awesome/.xinitrc78
-rw-r--r--herbstluftwm/.xinitrc6
-rw-r--r--xmodmap/.xmodmap30
3 files changed, 33 insertions, 81 deletions
diff --git a/awesome/.xinitrc b/awesome/.xinitrc
deleted file mode 100644
index e49a8aa..0000000
--- a/awesome/.xinitrc
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-#
-# ██ ██ ██
-# ░░ ░░ ░██
-# ██ ██ ██ ███████ ██ ██████ ██████ █████
-# ░░██ ██ ░██░░██░░░██░██░░░██░ ░░██░░█ ██░░░██
-# ░░███ ░██ ░██ ░██░██ ░██ ░██ ░ ░██ ░░
-# ██░██ ░██ ░██ ░██░██ ░██ ░██ ░██ ██
-# ██ ░░██░██ ███ ░██░██ ░░██ ░███ ░░█████
-# ░░ ░░ ░░ ░░░ ░░ ░░ ░░ ░░░ ░░░░░
-#
-# ▓▓▓▓▓▓▓▓▓▓
-# ░▓ author ▓ xero <x@xero.nu>
-# ░▓ code ▓ http://code.xero.nu/dotfiles
-# ░▓ mirror ▓ http://git.io/.files
-# ░▓▓▓▓▓▓▓▓▓▓
-# ░░░░░░░░░░
-
-# merge custom x resources
-xrdb -merge "${HOME}/.Xdefaults" &
-
-# start the terminal emulator daemon
-urxvtd -q -f -o &
-
-# keyring
-gnome-keyring-daemon &
-
-# wifi
-/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
-(sleep 2s && nm-applet --sm-disable) &
-
-# power management
-(sleep 2s && xfce4-power-manager) &
-
-# sound mixer
-(sleep 2s && pnmixer) &
-
-# volume keys daemon
-(sleep 2s && xfce4-volumed) &
-
-# compositing manager
-compton -b --config ~/.config/compton.conf &
-
-# start thunar daemon
-thunar --daemon &
-
-# wallpaper
-nitrogen --restore &
-
-# configure touchpad
-syndaemon -i 0.8 -d &
-if egrep -iq 'touchpad' /proc/bus/input/devices; then
- synclient VertEdgeScroll=0 &
- synclient TapButton1=1 &
- synclient HorizTwoFingerScroll=1 &
-fi
-
-# clipboard manager
-(sleep 3s && clipit) &
-
-# keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
-xset r rate 250 25 &
-
-# disable system beep
-xset b off &
-Xdefaults
-# fix cursors. for a minute :/
-xsetroot -cursor_name left_ptr
-
-# start the rock
-mpd &
-
-# setup fonts
-xset +fp ~/.fonts &
-xset fp rehash &
-
-# ░▒▓█ get awesome! █▓▒░
-exec awesome
diff --git a/herbstluftwm/.xinitrc b/herbstluftwm/.xinitrc
index 7828891..b55f96a 100644
--- a/herbstluftwm/.xinitrc
+++ b/herbstluftwm/.xinitrc
@@ -18,13 +18,13 @@
# merge custom x resources
xrdb -merge "${HOME}/.Xdefaults" &
+
+# custom keymappings
++xmodmap ~/.xmodmap
# start the terminal emulator daemon
urxvtd -q -f -o &
-# keyring
-gnome-keyring-daemon &
-
# wifi
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
(sleep 2s && nm-applet --sm-disable) &
diff --git a/xmodmap/.xmodmap b/xmodmap/.xmodmap
new file mode 100644
index 0000000..1d05394
--- /dev/null
+++ b/xmodmap/.xmodmap
@@ -0,0 +1,30 @@
+! ██
+! ░██
+! ██ ██ ██████████ ██████ ░██ ██████████ ██████ ██████
+! ░░██ ██ ░░██░░██░░██ ██░░░░██ ██████░░██░░██░░██ ░░░░░░██ ░██░░░██
+! ░░███ ░██ ░██ ░██░██ ░██ ██░░░██ ░██ ░██ ░██ ███████ ░██ ░██
+! ██░██ ░██ ░██ ░██░██ ░██░██ ░██ ░██ ░██ ░██ ██░░░░██ ░██████
+! ██ ░░██ ███ ░██ ░██░░██████ ░░██████ ███ ░██ ░██░░████████░██░░░
+! ░░ ░░ ░░░ ░░ ░░ ░░░░░░ ░░░░░░ ░░░ ░░ ░░ ░░░░░░░░ ░██
+! ░░
+! ▓▓▓▓▓▓▓▓▓▓
+! ░▓ author ▓ xero <x@xero.nu>
+! ░▓ code ▓ http://code.xero.nu/dotfiles
+! ░▓ mirror ▓ http://git.io/.files
+! ░▓▓▓▓▓▓▓▓▓▓
+! ░░░░░░░░░░
+!
+!█▓▒░ remove caps lock
+clear lock
+remove Lock = Caps_Lock
+remove Shift = Caps_Lock
+
+!█▓▒░ add mode switch
+keycode 66 = NoSymbol NoSymbol
+keycode 66 = Mode_switch
+
+!█▓▒░ set vi movments
+keysym h = h H Left NoSymbol NoSymbol NoSymbol
+keysym j = j J Down NoSymbol NoSymbol NoSymbol
+keysym k = k K Up NoSymbol NoSymbol NoSymbol
+keysym l = l L Right NoSymbol lstroke Lstroke