blob: 7efcb5ea9b3a9caec875a4351aebfa527ffa4030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
nowm
using X11 without a window manager
component
included
x-alt-tab
x-move-resize
x-session
distributed with X11
xsel xprop xrdb xset xsetroot
key-daemons
xbindkeys http://www.nongnu.org/xbindkeys/xbindkeys.html
speckeysd http://www.jessies.org/~enh/software/x11/
window-manipulators
xdotool http://www.semicomplete.com/projects/xdotool/
window http://www.jessies.org/~enh/software/x11/
niceties
unclutter http://unclutter.sourceforge.net/
dmenu http://tools.suckless.org/dmenu/
autocutsel http://www.nongnu.org/autocutsel/
procedure
set up your ${HOME}/.xinitrc to be something like
#!/bin/bash
xrdb -merge ${HOME}/etc/Xresources
xsetroot -solid black
exec xterm &
exec speckeysd ${HOME}/etc/speckeysd.conf &
exec x-session
and your ${HOME}/etc/speckeysd.conf to be like
# Key names come from <X11/keysymdef.h> (remove the XK_ prefix).
# MUST have a Tab separating the key-combo and command
Alt-Tab x-alt-tab
Alt-Shift-Tab x-alt-tab -1
Control-Alt-r echo run | dmenu -fn 10x20 | exec bash -s
Control-Alt-s surf "$( echo www.duckduckgo.com | dmenu )"
Control-Alt-t urxvt || rxvt || xterm
Alt-F1 x-move-resize
F10 xdotool getwindowfocus windowsize 100% 100% windowmove 0 0
then ${HOME}/etc/Xresources with the preferred window geometries
R_x11*geometry: 1024x600+0+0
XTerm*geometry: 1024x600+0+0
URxvt*geometry: 1024x600+0+0
surf*geometry: 1024x600+0+0
window managers bind orthogonals (keyboard shortcuts, window manipulation, window decoration)
which should remain separate.
|