1
0

add CTWM rc

This commit is contained in:
dtb 2021-07-18 21:53:02 -04:00
parent c1b45e7aa5
commit 601b92aca6
2 changed files with 111 additions and 0 deletions

110
dotfiles-old/.ctwmrc Normal file
View File

@ -0,0 +1,110 @@
# 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

View File

@ -1,5 +1,6 @@
.Xresources
.aliases
.ctwmrc
.env
.profile
.vimrc