dotfiles

dot files in ~
git clone git://git.unixkoans.com/dotfiles.git
Log | Files | Refs

sxhkdrc (1600B)


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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#
# author   : Xu Xiaodong <[email protected]>
# modified : 2016 Dec 19
#

#-- start programs --#

# urxvt
super + Return
    urxvtc

# rofi
super + w
    runner.sh

#-- windowchef --#

super + shift + {h,j,k,l}
    waitron window_move {-5 0, 0 5, 0 -5, 5 0}

super + {h,j,k,l}
    waitron window_move {-20 0, 0 20, 0 -20, 20 0}

super + {y,u,b,n,g}
    waitron window_snap {topleft,topright,bottomleft,bottomright,middle}

super + shift + alt + {h,j,k,l}
    waitron window_resize {-5 0, 0 5, 0 -5, 5 0}

super + alt + {h,j,k,l}
    waitron window_resize {-20 0, 0 20, 0 -20, 20 0}

super + Tab
    waitron window_cycle

super + shift + Tab
    waitron window_rev_cycle

super + m
    waitron window_ver_maximize

super + shift + m
    waitron window_hor_maximize

super + x
    waitron window_monocle

super + q
    waitron window_close

super + {_,shift +}{1-5}
    waitron {group_toggle,group_add_window} {1-5}

super + alt + {1-5}
    waitron group_activate_specific {1-5}

super + shift + r
    waitron group_remove_window

super + shift + q
    waitron wm_quit 0

#-- move to corner --#

# notify
super + s
    xdotool mousemove 20 20

# top left
super + e
    xdotool mousemove 20 50; movecursor.sh

# top right
super + r
    xdotool mousemove 1895 55; movecursor.sh

# bottom left
super + z
    xdotool mousemove 25 1055; movecursor.sh

# bottom right
super + d
    xdotool mousemove 1895 1055; movecursor.sh

# top center
super + t
    xdotool mousemove 955 55; movecursor.sh

# bottom center
super + f
    xdotool mousemove 955 1055; movecursor.sh

# raise window
super + a
    raisewin.sh