summaryrefslogtreecommitdiffstats
path: root/.dt/dtwmrc
blob: badc3a59416c787a4953b9470399b43c02dd7db8 (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
# vim: filetype=conf

Menu Internet
{
	Firefox f.exec "firefox"
}

Menu DtRootMenu
{
	"Workspace Menu"				f.title
	"Programs"						f.menu ProgramsMenu
	no-label						f.separator
	"Shuffle Up"					f.circle_up
	"Shuffle Down"					f.circle_down
	"Refresh"						f.refresh
	"Minimize/Restore Front Panel"	f.toggle_frontpanel
	no-label						f.separator
	"Restart Workspace Manager..."	f.restart
	no-label						f.separator
	"Suspend System..."				f.action SDTsuspend
	"Log out..."					f.action ExitSession
}

Keys DtKeyBindings
{
	Mod4<Key>F1				root|window|icon	f.exec "dtfile"
	Mod4<Key>F2				root|window|icon	f.exec "st -e nvim"
	Mod4<Key>F3				root|window|icon	f.exec "firefox"
	Mod4<Key>F4				root|window|icon	f.exec "st -e w3m https://start.duckduckgo.com"
	Mod4<Key>F5				root|window|icon	f.exec "st -e newsboat"
	Mod4<Key>F6				root|window|icon	f.exec "st -e vimpc"
	Mod4<Key>F7				root|window|icon	f.exec "st -e calcurse -C /home/jozan/.config/calcurse -D /home/jozan/.local/share/calcurse"
	Mod4<Key>F8				root|window|icon	f.exec "st -e scli"
	Mod4<Key>F9				root|window|icon	f.exec "st -e neomutt"
	Mod4<Key>F10			root|window|icon	f.exec "st -e gotop"
	Mod4<Key>F11			root|window|icon	f.exec "st -e htop"
	Mod4<Key>F12			root|window|icon	f.exec "st -e top"
	Mod4 Shift<Key>F10		root|window|icon	f.exec "/home/jozan/.local/bin/mixer-set toggle"
	Mod4 Shift<Key>F11		root|window|icon	f.exec "/home/jozan/.local/bin/mixer-set lower"
	Mod4 Shift<Key>F12		root|window|icon	f.exec "/home/jozan/.local/bin/mixer-set raise"
	Mod4<Key>BackSpace		root|window|icon	f.exec "/home/jozan/.local/bin/dmpc"

	Meta<Key>Escape			root|window|icon	f.next_key window

	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>q				window				f.kill
	Mod4<Key>f				window				f.maximize
	Mod4<Key>s				window				f.normalize
	Mod4<Key>m				window				f.move
	Mod4 Shift<Key>M		window				f.resize
	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<Key>Return			root|window|icon	f.exec "st"
	Mod4 Shift<Key>E		root|window|icon	f.action ExitSession
    Mod4 Shift<Key>R		root|window|icon	f.restart
}