Created
July 28, 2022 13:26
-
-
Save nk23x/8c173d22139a86e7387b9f8b581aad9b to your computer and use it in GitHub Desktop.
my current .twmrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## ~/.twmrc | |
| # NoGrabServer | |
| RestartPreviousState | |
| DecorateTransients | |
| NoRaiseOnMove | |
| NoRaiseOnResize | |
| Zoom 2 | |
| DontMoveOff | |
| NoMenuShadows | |
| IconifyByUnmapping | |
| ShowIconManager | |
| SortIconManager | |
| AutoRelativeResize | |
| BorderWidth 1 | |
| MenuBorderWidth 1 | |
| ButtonIndent 1 | |
| TitlePadding 2 | |
| IconRegion "800x100+0-0" SOUTH WEST 15 15 | |
| TitleFont "-misc-*-medium-r-normal-*-10-*-*-*-c-*-iso8859-15" | |
| ResizeFont "-misc-*-medium-r-normal-*-10-*-*-*-c-*-iso8859-15" | |
| MenuFont "-misc-*-medium-r-normal-*-10-*-*-*-c-*-iso8859-15" | |
| IconFont "-misc-*-medium-r-normal-*-10-*-*-*-c-*-iso8859-15" | |
| IconManagerFont "-misc-*-medium-r-normal-*-10-*-*-*-c-*-iso8859-15" | |
| IconManagerGeometry "80x6+0+0" 4 | |
| IconBorderWidth 0 | |
| WindowRing | |
| { | |
| } | |
| IconManagerDontShow | |
| { | |
| "oclock" "xclock" "xapm" | |
| } | |
| NoTitle | |
| { | |
| "oclock" "TWM Icon Manager" "xclock" "xapm" | |
| } | |
| AutoRaise | |
| { | |
| "TWM Icon Manager" | |
| } | |
| Color | |
| { | |
| BorderColor "grey85" | |
| DefaultBackground "slategray" | |
| DefaultForeground "gray85" | |
| TitleBackground "rgb:2/a/9" | |
| TitleForeground "gray85" | |
| MenuBackground "rgb:2/a/9" | |
| MenuForeground "gray85" | |
| MenuBorderColor "gray85" | |
| MenuTitleBackground "gray70" | |
| MenuTitleForeground "rgb:c/c/c" | |
| IconBackground "rgb:2/a/9" | |
| IconForeground "gray85" | |
| IconBorderColor "gray85" | |
| IconManagerBackground "rgb:2/a/9" | |
| IconManagerForeground "rgb:f/f/f" | |
| } | |
| StartIconified | |
| { | |
| login | |
| } | |
| 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 } | |
| Button1 = : root : f.menu "system" | |
| # Button2 = : root : f.menu "window" | |
| Button3 = : root : f.menu "defops" | |
| "F1" = s : window|icon : f.function "move-or-lower" | |
| Button3 = m : window|icon : f.iconify | |
| # Button2 = m : window|icon : f.function "move-or-raise" | |
| Button1 = : title : f.function "move-or-raise" | |
| Button3 = : title : f.raiselower | |
| Button1 = : icon : f.function "move-or-iconify" | |
| Button3 = : icon : f.iconify | |
| Button1 = : iconmgr : f.raise | |
| Button3 = : iconmgr : f.iconify | |
| Function "next-window" {f.circleup} | |
| Function "previous-window" {f.circledown} | |
| "Tab" = s : all : f.forwiconmgr | |
| "Tab" = m : all : f.function "next-window" | |
| # "F3" = : all : f.warpring "next" | |
| menu "defops" | |
| { | |
| "applications" f.title | |
| "" f.nop | |
| "lilyterm" f.exec "lilyterm --login --directory $HOME -nearmouse &" | |
| "" f.nop | |
| "xterm" f.exec "xterm -ls &" | |
| "" f.nop | |
| "" f.nop | |
| "xlock" f.exec "exec xlock -mode blank &" | |
| "" f.nop | |
| "" f.nop | |
| "show iconmgr" f.showiconmgr | |
| "hide iconmgr" f.hideiconmgr | |
| "" f.nop | |
| } | |
| menu "system" | |
| { | |
| "twm" f.title | |
| "" f.nop | |
| "full zoom" f.fullzoom | |
| "move" f.move | |
| "resize" f.resize | |
| "lower" f.lower | |
| "raise" f.raise | |
| "iconify" f.iconify | |
| "deiconify" f.deiconify | |
| "identify" f.identify | |
| "focus" f.focus | |
| "kill" f.destroy | |
| "delete" f.delete | |
| "" f.nop | |
| "restart twm" f.restart | |
| "" f.nop | |
| "exit x11" f.quit | |
| "" f.nop | |
| } | |
| menu "window" | |
| { | |
| "windows" f.title | |
| "" f.nop | |
| "full zoom" f.fullzoom | |
| "move" f.move | |
| "resize" f.resize | |
| "lower" f.lower | |
| "raise" f.raise | |
| "iconify" f.iconify | |
| "deiconify" f.deiconify | |
| "identify" f.identify | |
| "focus" f.focus | |
| "" f.nop | |
| "kill" f.destroy | |
| "" f.nop | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment