Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # $Xorg: system.twmrc,v 1.3 2000/08/17 19:54:08 cpqbld Exp $
- #
- # Default twm configuration file; needs to be kept small to conserve string
- # space in systems whose compilers don't handle medium-sized strings.
- #
- # Sites should tailor this file, providing any extra title buttons, menus, etc.
- # that may be appropriate for their environment. For example, if most of the
- # users were accustomed to uwm, the defaults could be set up not to decorate
- # any windows and to use meta-keys.
- #
- # $XFree86: xc/programs/twm/system.twmrc,v 1.4 2001/01/17 23:45:08 dawes Exp $
- #
- NoGrabServer
- RestartPreviousState
- DecorateTransients
- #TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
- TitleFont "-misc-fixed-bold-r-normal--*-120-*-*-*-*-*-*"
- #ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
- ResizeFont "-misc-fixed-bold-r-normal--*-120-*-*-*-*-*-*"
- #MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
- MenuFont "-misc-fixed-bold-r-normal--*-120-*-*-*-*-*-*"
- #IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
- IconFont "-misc-fixed-bold-r-normal--*-100-*-*-*-*-*-*"
- #IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
- IconManagerFont "-misc-fixed-bold-r-normal--*-100-*-*-*-*-*-*"
- #ClientBorderWidth
- Color
- {
- BorderColor "#eeeee6"
- # BorderTitleBackground "white"
- # BorderTitleForeground "black"
- DefaultBackground "#ebe9e9"
- DefaultForeground "#000000"
- IconBorderColor "#eeeee6"
- IconBackground "#ebe9e9"
- IconForeground "#000000"
- IconManagerBackground "#ebe9e9"
- IconManagerForeground "#000000"
- # IconManagerHighlight "black"
- MenuBorderColor "#eeeee6"
- MenuBackground "#ebe9e9"
- MenuForeground "#86aadc"
- # MenuShadowColor "black"
- MenuTitleBackground "#ebe9e9"
- MenuTitleForeground "#808080"
- # PointerBackground "white"
- # PointerForeground "black"
- TitleBackground "#4978ca"
- TitleForeground "#ffffff"
- }
- #
- # 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 }
- Function "resize-or-fullzoom" { f.resize f.deltastop f.fullzoom }
- #
- # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
- #
- Button1 = : root : f.menu "menu"
- Button2 = : root : f.menu "TwmWindows"
- Button3 = : root : f.menu "menu"
- 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
- Button3 = : title : f.menu "window"
- Button1 = : icon : f.function "move-or-iconify"
- Button2 = : icon : f.iconify
- Button3 = : icon : f.menu "window"
- Button1 = : iconmgr : f.iconify
- Button2 = : iconmgr : f.iconify
- Button3 = : iconmgr : f.menu "window"
- #
- # And a menus with the usual things
- #
- menu "menu"
- {
- " Menu " f.title
- "Applications" f.menu "applications"
- "Settings" f.menu "settings"
- "Window" f.menu "window"
- "TWM" f.menu "twm"
- "System" f.menu "system"
- }
- menu "applications"
- {
- "Applications" f.title
- "Links" f.exec "exec xterm -e links ~ &"
- "Mc" f.exec "exec xterm -e mc &"
- "Mcedit" f.exec "exec xterm -e mcedit &"
- "Xterm" f.exec "exec xterm &"
- }
- menu "settings"
- {
- " Settings " f.title
- "Grub" f.exec "exec grubconfig.sh &"
- "Mouse" f.exec "exec mouseconfig.sh &"
- "Net" f.exec "exec netconfig.sh &"
- "Raid" f.exec "exec raidconfig.sh &"
- "Time" f.exec "exec timeconfig.sh &"
- "X" f.exec "exec xconfig.sh &"
- "Xwm" f.exec "exec xwmconfig.sh &"
- }
- menu "window"
- {
- " Window " f.title
- "Iconify" f.iconify
- "Resize" f.resize
- "Move" f.move
- "Raise" f.raise
- "Lower" f.lower
- "Focus" f.focus
- "Unfocus" f.unfocus
- "Kill" f.destroy
- "Delete" f.delete
- }
- menu "twm"
- {
- " TWM " f.title
- "Show Iconmgr" f.showiconmgr
- "Hide Iconmgr" f.hideiconmgr
- "Restart" f.restart
- "Exit" f.quit
- }
- menu "system"
- {
- " System " f.title
- "Logout" f.quit
- "Power off" f.exec "exec su -c poweroff"
- "Reboot" f.exec "exec su -c reboot"
- }
- AutoRelativeResize
- BorderWidth 1
- DontMoveOff
- IconBorderWidth 1
- IconifyByUnmapping
- IconManagerDontShow { "xclock" }
- IconManagerGeometry "192-0+33"
- LeftTitleButton ":menu"=f.menu "window"
- MenuBorderWidth 1
- NoDefaults
- NoHighlight
- NoMenuShadows
- NoTitle { "xclock" "TWM Icon Manager" }
- NoTitleFocus # Seems this doesn't work at all
- OpaqueMove
- RandomPlacement
- RightTitleButton ":iconify"=f.iconify
- RightTitleButton ":resize"=f.function "resize-or-fullzoom"
- RightTitleButton ":delete"=f.delete
- ShowIconManager
- UsePPosition "on"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement