summaryrefslogtreecommitdiffstats
path: root/.dt/dtwmrc
blob: edd557fb7f7825987e5da91027eda367e644009a (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Keys DtKeyBindings
{
	Mod4<Key>1			root|window|icon	f.goto_workspace "ws0"
	Mod4<Key>2			root|window|icon	f.goto_workspace "ws1"
	Mod4<Key>3			root|window|icon	f.goto_workspace "ws2"
	Mod4<Key>4			root|window|icon	f.goto_workspace "ws3"
	Mod4<Key>5			root|window|icon	f.goto_workspace "ws4"
	Mod4<Key>6			root|window|icon	f.goto_workspace "ws5"
	Mod4<Key>7			root|window|icon	f.goto_workspace "ws6"
	Mod4<Key>8			root|window|icon	f.goto_workspace "ws7"

	Mod4 Shift<Key>1	window|icon	f.workspace_presence "ws0"
	Mod4 Shift<Key>2	window|icon	f.workspace_presence "ws1"
	Mod4 Shift<Key>3	window|icon	f.workspace_presence "ws2"
	Mod4 Shift<Key>4	window|icon	f.workspace_presence "ws3"
	Mod4 Shift<Key>5	window|icon	f.workspace_presence "ws4"
	Mod4 Shift<Key>6	window|icon	f.workspace_presence "ws5"
	Mod4 Shift<Key>7	window|icon	f.workspace_presence "ws6"
	Mod4 Shift<Key>8	window|icon	f.workspace_presence "ws7"

	Mod4<Key>F1		root|window|icon	f.exec "dtfile"
	Mod4<Key>F2		root|window|icon	f.exec "emacsclient -c"
	Mod4<Key>F3		root|window|icon	f.exec "iridium --force-dark-mode"
	Mod4<Key>F4		root|window|icon	f.exec "zsh -ic 'alacritty -e w3m'"
	Mod4<Key>F5		root|window|icon	f.exec "zsh -ic 'alacritty -e ncmpc'"
	Mod4<Key>F6		root|window|icon	f.exec "zsh -ic 'alacritty -e newsboat'"
	Mod4<Key>F7		root|window|icon	f.exec "zsh -ic 'alacritty -e calcurse -C /home/jozan/.config/calcurse -D /home/jozan/.local/share/calcurse'"
	Mod4<Key>F8		root|window|icon	f.exec "zsh -ic 'alacritty -e scli'"
	Mod4<Key>F9		root|window|icon	f.exec "zsh -ic 'alacritty -e neomutt'"
	Mod4<Key>F10	root|window|icon	f.exec "zsh -ic 'alacritty -e gotop'"
	Mod4<Key>F11	root|window|icon	f.exec "zsh -ic 'alacritty -e htop'"
	Mod4<Key>F12	root|window|icon	f.exec "zsh -ic 'alacritty -e top"

	Mod4 Shift<Key>F3		root|window|icon	f.exec "torify iridium --force-dark-mode"
	Mod4 Shift<Key>F6		root|window|icon	f.exec "mpc prev"
	Mod4 Shift<Key>F7		root|window|icon	f.exec "mpc toggle"
	Mod4 Shift<Key>F8		root|window|icon	f.exec "mpc next"
	Mod4 Shift<Key>F9		root|window|icon	f.exec "mpc stop"
	Mod4 Shift<Key>F10		root|window|icon	f.exec "mixer-set toggle"
	Mod4 Shift<Key>F11		root|window|icon	f.exec "mixer-set lower"
	Mod4 Shift<Key>F12		root|window|icon	f.exec "mixer-set raise"
	Mod4 Shift<Key>Delete	root|window|icon	f.exec "mic"

	Mod4 Ctrl<Key>F9		root|window|icon	f.exec "dmkill"
	Mod4 Ctrl<Key>F10		root|window|icon	f.exec "dmscrot"
	Mod4 Ctrl<Key>F11		root|window|icon	f.exec "dmsearch"
	Mod4 Ctrl<Key>F12		root|window|icon	f.exec "dmlog"

	Mod4 Ctrl<Key>p			root|window|icon	f.exec "dmpass"
	Mod4 Shift Ctrl<Key>p	root|window|icon	f.exec "dmpass --full"
	Mod4 <Key>End			root|window|icon	f.exec "ndate"
	Mod4 <Key>Delete		root|window|icon	f.exec "shutup"
	Mod4 Shift<Key>Delete	root|window|icon	f.exec "mic"
	Mod4<Key>BackSpace		root|window|icon	f.exec "dmpc"
	Mod4 Ctrl<Key>BackSpace	root|window|icon	f.exec "dmlog"

	Mod4<Key>Return			root|window|icon	f.exec "alacritty"
	Mod4 Shift<Key>Return	root|window|icon	f.exec "cool-retro-term"
	Mod4 Ctrl<Key>Return	root|window|icon	f.exec "cool-retro-term"

	Meta<Key>Escape		root|window|icon	f.next_key window
	Mod4<Key>q			window				f.kill
	Mod4<Key>f			window				f.maximize
	Mod4<Key>s			window				f.normalize
	Mod4<Key>w			window				f.move
	Mod4<Key>m			window				f.move
	Mod4 Shift<Key>w	window				f.resize
	Mod4 Shift<Key>m	window				f.resize
	Mod4 Shift<Key>H	window				f.raise
	Mod4 Shift<Key>L	window				f.lower
	Mod4<Key>h			window				f.raise
	Mod4<Key>l			window				f.lower
	Mod4<Key>j			root|window|icon	f.next_key window
	Mod4<Key>k			root|window|icon	f.prev_key window
	Mod4<Key>p			root|window|icon	f.exec "dmenu_run -i -m 0"
	Mod4 Shift<Key>E	root|window|icon	f.action ExitSession
    Mod4 Shift<Key>R	root|window|icon	f.restart
}