aboutsummaryrefslogtreecommitdiff
path: root/autostart
blob: 3fc365836fc1737005828c65d365c2eb44d8e6af (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/bash

dot() {
    # Using BSD netcat
    printf "%s " $@ | netcat -U dotwm.sock
}

nitrogen --restore &

dot bind Mod4 p exec dmenu_run 
dot bind Mod4 Return exec xterm
dot bind Mod4 f fullscreen

dot bind Mod4-Shift h move-win-sticky left
dot bind Mod4-Shift j move-win-sticky down
dot bind Mod4-Shift k move-win-sticky up
dot bind Mod4-Shift l move-win-sticky right

dot bind Mod1 h resize-win -10 0
dot bind Mod1 j resize-win 0 10
dot bind Mod1 k resize-win 0 -10
dot bind Mod1 l resize-win 10 0

dot bind Mod1-Control h resize-win-sticky left
dot bind Mod1-Control j resize-win-sticky down
dot bind Mod1-Control k resize-win-sticky up
dot bind Mod1-Control l resize-win-sticky right

dot bind Mod4 h move-win -10 0
dot bind Mod4 j move-win 0 10
dot bind Mod4 k move-win 0 -10
dot bind Mod4 l move-win 10 0

dot bind Mod4-Shift c close-win
dot bind Mod4 Tab focus-next

dot bind Mod4 1 change-desktop 0
dot bind Mod4 2 change-desktop 1

#netcat -U dotwm.sock <<EOF
#bind Mod4 p exec dmenu_run 
#bind Mod4 Return exec xterm
#bind Mod4 f fullscreen
#
#bind Mod4 h move-win -10 0
#bind Mod4 j move-win 0 10
#bind Mod4 k move-win 0 -10
#bind Mod4 l move-win 10 0
#
#bind Mod4-Shift h move-win-sticky left
#bind Mod4-Shift j move-win-sticky down
#bind Mod4-Shift k move-win-sticky up
#bind Mod4-Shift l move-win-sticky right
#
#bind Mod4-Shift-Control h resize-win-sticky left
#bind Mod4-Shift-Control j resize-win-sticky down
#bind Mod4-Shift-Control k resize-win-sticky up
#bind Mod4-Shift-Control l resize-win-sticky right
#
#bind Mod4-Shift c close-win
#
#bind Mod4 Tab focus-next
#
#EOF