Void Linux
Comic Mono
I use comic-mono. It’s easy to read.
.Xresources
XTerm.vt100.faceName: Comic Mono:size=11
XTerm.vt100.internalBorder: 5
.twmrc
NoGrabServer
RestartPreviousState
DecorateTransients
TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
#ClientBorderWidth
Color
{
BorderColor "slategrey"
DefaultBackground "rgb:e/d/d"
DefaultForeground "slategray"
TitleBackground "rgb:e/d/d"
TitleForeground "slategray"
MenuBackground "rgb:e/d/d"
MenuForeground "slategray"
MenuBorderColor "slategrey"
MenuTitleBackground "slategray"
MenuTitleForeground "rgb:e/d/d"
IconBackground "rgb:e/d/d"
IconForeground "slategray"
IconBorderColor "slategray"
IconManagerBackground "rgb:e/d/d"
IconManagerForeground "slategray"
}
#
# 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 }
#
# Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
#
Button1 = : root : f.menu "launch"
Button2 = : root : f.menu "TwmWindows"
Button3 = : root : f.menu "defops"
Button1 = m4 : window : f.function "move-or-raise"
Button2 = m4 : window : f.lower
Button3 = m4 : window : f.resize
Button1 = : title : f.function "move-or-raise"
Button2 = S : title : f.zoom
Button2 = : title : f.fullzoom
Button2 = m4 : title : f.raiselower
Button1 = m4|m : window : f.autoraise
Button1 = m : title : f.leftzoom
Button1 = m|s : title : f.rightzoom
Button1 = : icon : f.iconify
Button2 = : icon : f.iconify
Button1 = : iconmgr : f.iconify
Button2 = : iconmgr : f.raise
# mine options
NoTitle { "xclock", "TWM Icon Manager" }
AutoRelativeResize
SqueezeTitle
RightTitleButton ":xlogo" = f.delete
IconifyByUnmapping
IconManagerDontShow { "xclock" }
IconManagerGeometry "120x500-0+110"
#
# And a menus with the usual things
#
menu "launch"
{
"Xterm" f.exec "exec xterm &"
"Firefox" f.exec "exec firefox &"
"soffice" f.exec "exec soffice &"
"gimp" f.exec "exec gimp &"
"thunar" f.exec "exec thunar &"
}
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
"Kill" f.destroy
"Delete" f.delete
"" f.nop
"Restart" f.restart
}