-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.twmrc
96 lines (85 loc) · 2.37 KB
/
.twmrc
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
96
# .twmrc - bm3719
# NOTE: Switched to xmonad, so no longer maintaining this.
NoGrabServer
RestartPreviousState
DecorateTransients
TitleFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
#ClientBorderWidth
NoTitle {"xclock"}
SaveColor {
"sienna" "green" "gainsboro"
"black"
}
#168/163/247 light blue
#95/191/119 light green
#50/50/50 dark gray
#63/60/109 dark blue
Color
{
BorderColor "rgb:63/60/109"
# DefaultBackground "black"
DefaultForeground "rgb:95/191/119"
TitleBackground "rgb:63/60/109"
TitleForeground "rgb:168/163/247"
MenuBackground "rgb:50/50/50"
MenuForeground "rgb:168/163/247"
MenuBorderColor "slategrey"
MenuTitleBackground "rgb:63/60/109"
MenuTitleForeground "rgb:168/163/247"
IconBackground "rgb:63/60/109"
IconForeground "rgb:168/163/247"
IconBorderColor "gray85"
IconManagerBackground "rgb:63/60/109"
IconManagerForeground "rgb:168/163/247"
}
#
# Define some useful functions for motion-based actions.
#
MoveDelta 3
Function "move-or-lower" { f.move f.deltastop f.lower }
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-iconify" { f.move f.deltastop f.iconify }
#
# Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
#
Button1 = : root : f.menu "defops"
Button1 = m : window|icon : f.function "move-or-lower"
Button2 = m : window|icon : f.iconify
Button3 = m : window|icon : f.function "move-or-raise"
Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.raiselower
Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify
Button1 = : iconmgr : f.iconify
Button2 = : iconmgr : f.iconify
#
# And a menu with the usual things
#
menu "defops"
{
"Twm" f.title
"Iconify" f.iconify
"Resize" f.resize
"Move" f.move
"Raise" f.raise
"Lower" f.lower
"" f.nop
"Focus" f.focus
"Unfocus" f.unfocus
"Show Iconmgr" f.showiconmgr
"Hide Iconmgr" f.hideiconmgr
"" f.nop
"Xterm" f.exec "exec xterm -ls &"
"urxvt" f.exec "urxvt -ls -sl 10000 -C &"
"FullDesktop" f.exec "~/bin/fulldesktop &"
"" f.nop
"Kill" f.destroy
"Delete" f.delete
"" f.nop
"Restart" f.restart
"Exit" f.quit
}