111 lines
2.1 KiB
Plaintext
111 lines
2.1 KiB
Plaintext
# BEGIN ctwmrc
|
|
# thanks to https://datagubbe.se/twm/
|
|
NoDefaults
|
|
DontShowWelcomeWindow
|
|
|
|
# fonts
|
|
TitleFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1"
|
|
ResizeFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1"
|
|
MenuFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1"
|
|
IconFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1"
|
|
IconManagerFont "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso10646-1"
|
|
|
|
Color {
|
|
TitleBackground "#FFDBDB"
|
|
TitleForeground "#000000"
|
|
BorderColor "#FFDBDB"
|
|
BorderTileBackground "#206090"
|
|
BorderTileForeground "#206090"
|
|
|
|
MenuBackground "Gray"
|
|
MenuForeground "Black"
|
|
MenuShadowColor "#004070"
|
|
MenuTitleBackground "#C06077"
|
|
MenuTitleForeground "White"
|
|
}
|
|
|
|
WindowRing
|
|
WindowRingExclude {
|
|
"xload"
|
|
"xclock"
|
|
}
|
|
|
|
Cursors {
|
|
Frame "left_ptr"
|
|
Title "left_ptr"
|
|
Icon "left_ptr"
|
|
IconMgr "hand2"
|
|
Move "fleur"
|
|
Resize "fleur"
|
|
Menu "sb_left_arrow"
|
|
Button "hand2"
|
|
Wait "watch"
|
|
Select "dot"
|
|
Destroy "pirate"
|
|
}
|
|
|
|
NoBorder {
|
|
"xclock"
|
|
"xload"
|
|
}
|
|
|
|
NoTitle {
|
|
"TWM Icon Manager"
|
|
"xload"
|
|
"xclock"
|
|
"feh"
|
|
"xeyes"
|
|
}
|
|
|
|
Function "move-and-raise" {
|
|
f.move
|
|
f.deltastop
|
|
f.raise
|
|
}
|
|
|
|
Function "deiconify-and-raise" {
|
|
f.deiconify
|
|
f.raise
|
|
}
|
|
Function "next-and-raise" {
|
|
f.downiconmgr
|
|
f.raise
|
|
}
|
|
|
|
Button3 = : root : f.menu "apps"
|
|
|
|
Button1 = : title : f.function "move-and-raise"
|
|
Button2 = : title : f.delete
|
|
Button3 = : title : f.menu "winops"
|
|
Button1 = : frame : f.function "move-and-raise"
|
|
Button2 = : frame : f.nop
|
|
Button3 = : frame : f.resize
|
|
|
|
Button1 = : iconmgr : f.function "deiconify-and-raise"
|
|
Button2 = : iconmgr : f.lower
|
|
Button3 = : iconmgr : f.iconify
|
|
|
|
# on NetBSD with non-modular Xorg, bitmaps are stored in
|
|
# /usr/X11R7/include/X11/bitmaps
|
|
LeftTitleButton ":xlogo" = f.menu "winops"
|
|
RightTitleButton "vertmax.xbm" = f.zoom
|
|
RightTitleButton "close.xbm" = f.delete
|
|
|
|
menu "winops" {
|
|
"Delete" f.delete
|
|
"Destroy" f.destroy
|
|
"Fullscreen Zoom" f.fullscreenzoom
|
|
"Full Zoom" f.fullzoom
|
|
"Identify" f.identify
|
|
"Initial size" f.initsize
|
|
}
|
|
|
|
# Workspace Menu
|
|
menu "apps" {
|
|
"Workspace" f.title
|
|
"Restart" f.restart
|
|
"Exit" f.quit
|
|
}
|
|
|
|
# END twmrc
|