Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Name: flat xwindow
- #
- # Author: Brian Gomes Bascoy Re-edited: Dj_Dexter
- #
- # Based on Cudcv's .tmwrc (with vtwm extensions)
- #
- ###XClock resource###
- # xclock*geometry: -2+2
- # xclock*analog: false
- # xclock*background: gray
- # xclock*width: 150
- # xclock*height: 28
- # xclock*render: false
- # xclock*padding: 1
- ###.xinitrc###
- # bggen darkcyan darkblue black | xv -8 -quic -root -quit -
- # xclock -strftime " %a %d %b %I:%M %p" &
- #
- # Variables
- #
- NoGrabServer
- RestartPreviousState
- NoDefaults
- ShowIconManager
- SortIconManager
- IconifyByUnmapping
- RightHandSidePulldownMenus
- StayUpMenus
- StayUpOptionalMenus
- NaturalAutoPanBehavior
- NotVirtualGeometries
- FixManagedVirtualGeometries
- FixTransientVirtualGeometries
- ShallowReliefWindowButton
- AutoRelativeResize
- InterpolateMenuColors
- RandomPlacement
- NoIconifyIconManagers
- MoveDelta 3
- ResizeRegion "Centered"
- ButtonIndent 1
- TitlePadding 5
- TitleButtonBorderWidth 1
- BorderWidth 1
- BorderBevelWidth 0
- ButtonBevelWidth 0
- DoorBevelWidth 1
- IconBevelWidth 2
- IconManagerBevelWidth 0
- InfoBevelWidth 1
- VirtualDesktopBevelWidth 1
- IconManagerGeometry "-0+30" 1 # if you don't use xclock set this to -0+3
- ClearBevelContrast 40
- DarkBevelContrast 40
- VirtualDesktop "2x2-0-0" 16
- PanDistanceX 100
- PanDistanceY 100
- PanResistance 750
- AutoPan 100
- #
- # Fonts
- #
- TitleFont "-*-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
- ResizeFont "-*-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
- MenuFont "-*-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
- MenuTitleFont "-*-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
- DoorFont "-*-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
- IconFont "-*-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
- InfoFont "-*-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
- IconManagerFont "-*-new century schoolbook-medium-r-*-*-12-*-*-*-*-*-*-*"
- VirtualDesktopFont "-*-fixed-medium-r-normal--8-*-*-*-*-*-*-*"
- #
- # Lists
- #
- WarpCursor
- NailedDown
- {
- "VTWM *"
- "xclock"
- "xbiff"
- "conky"
- "gkrellm"
- "trayer"
- "dclock"
- }
- NoTitle
- {
- "VTWM *"
- "xclock"
- "xbiff"
- "conky"
- "aterm"
- "gkrellm"
- "trayer"
- "dclock"
- }
- NoBorder
- {
- "VTWM *"
- "xclock"
- "xbiff"
- "conky"
- "dclock"
- }
- DontShowInDisplay
- {
- "VTWM *"
- "xclock"
- "xbiff"
- "conky"
- "gkrellm"
- "trayer"
- "dclock"
- }
- IconManagerDontShow
- {
- "VTWM *"
- "xclock"
- "xbiff"
- "conky"
- "gkrellm"
- "trayer"
- "dclock"
- }
- NoWindowRing
- {
- "VTWM *"
- "xclock"
- "xbiff"
- "conky"
- "trayer"
- "dclock"
- }
- Color
- {
- # TWM Simple Color
- DefaultBackground "grey"
- DefaultForeground "black"
- MenuBackground "LightSteelBlue"
- MenuForeground "black"
- MenuShadowColor "black"
- MenuTitleForeground "black"
- MenuTitleBackground "white"
- # TWM Complex Color
- BorderColor "black" { }
- BorderTileForeground "black" { }
- BorderTileBackground "white" { }
- IconBackground "LightSteelBlue" { }
- IconBorderColor "black" { }
- IconForeground "black" { }
- IconManagerBackground "grey" { }
- IconManagerForeGround "black" { }
- # VTWM Simple Color
- RealScreenBackground "orange"
- RealScreenForeground "yellow"
- VirtualBackground "grey"
- VirtualForeground "red"
- DesktopDisplayBorder "black" { }
- DesktopDisplayForeground "black" { }
- DoorBackGround "orange" { }
- DoorForeGround "black" { }
- }
- #
- # Functions and Bindings
- #
- LeftTitleButton ":darrow" = f.menu "arrange"
- RightTitleButton ":delete" = f.delete
- RightTitleButton ":dot" = f.iconify
- RightTitleButton ":resize" = f.resize
- Button1 = : root : f.menu "apps"
- Button3 = : root : f.menu "main"
- Button2 = : root : f.menu "winops"
- Button1 = : title : f.move
- Button2 = : title : f.resize
- Button3 = : title : f.raiselower
- Button1 = : virtual | desktop : f.movescreen
- Button1 = m : window : f.move
- Button3 = m : window : f.resize
- Button1 = : iconmgr : f.iconify
- Button3 = : iconmgr : f.warp
- WindowRing
- WarpVisible
- "Tab" = m : all : f.warpring "next"
- "Tab" = m |s : all : f.warpring "prev"
- "F4" = m : window | title | frame : f.delete
- "Up" = c | m : all : f.panup "100"
- "Down" = c | m : all : f.pandown "100"
- "Left" = c | m: all : f.panleft "100"
- "Right" = c | m : all : f.panright "100"
- "Up" = m4 : window | title | frame : f.topzoom
- "Down" = m4 : window | title | frame : f.bottomzoom
- "Left" = m4 : window | title | frame : f.leftzoom
- "Right" = m4 : window | title | frame : f.rightzoom
- "Return" = m4 : window | title | frame : f.fullzoom
- "C" = m4 : all : f.exec "urxvt &"
- #
- # Menus
- #
- menu "main"
- {
- " VTWM " f.title
- "Run..." f.exec "gmrun &"
- "Options..." f.menu "winops"
- "Operations" f.menu "ops"
- "Demos" f.menu "demos"
- "Multimedia" f.menu "multimedia"
- "Background" f.exec "nitrogen &"
- "Version" f.version
- "Caution" f.title
- "Restart" ("red":"white")f.restart
- "Exit" ("red":"white")f.quit
- }
- menu "demos"
- {
- "oneko" f.exec "oneko &"
- "xsnow" f.exec "xsnow &"
- "" f.separator
- "stop demos" f.exec "killall oneko; killall xsnow"
- }
- menu "apps"
- {
- " Applications " f.title
- "Network" f.menu "network"
- "Graphics" f.menu "graphics"
- "Editors" f.menu "editors"
- "Terminals" f.menu "terminals"
- "Audacious" f.exec "audacious &"
- "Calculator" f.exec "xcalc &"
- "GNU Go" f.exec "gogui &"
- }
- menu "network"
- {
- " Network " f.title
- "Opera" f.exec "opera &"
- "Firefox" f.exec "firefox &"
- "Thunderbird" f.exec "thunderbird-bin &"
- "Pidgin" f.exec "pidgin &"
- "XChat" f.exec "xchat &"
- "Skype" f.exec "skype &"
- "emesene" f.exec "emesene-2 &"
- }
- menu "graphics"
- {
- " Graphics " f.title
- "Gimp" f.exec "gimp &"
- "Inkscape" f.exec "inkscape &"
- "Blender" f.exec "blender &"
- "GrafX2" f.exec "grafx2 &"
- }
- menu "editors"
- {
- " Editors " f.title
- "GVim" f.exec "gvim &"
- "Gedit" f.exec "gedit &"
- "xedit" f.exec "xedit &"
- }
- menu "terminals"
- {
- " Terminals " f.title
- "URXVT" f.exec "urxvt &"
- "Terminal" f.exec "gnome-terminal &"
- "xterm" f.exec "xterm &"
- "Aterm" f.exec "aterm -tr -sh 40 -bg black -fn 8x10 -fg white +sb &"
- "Aterm (Utf-8)" f.exec "atermX &"
- }
- menu "multimedia"
- {
- " Multimedia " f.title
- "Gimp" f.exec "gimp &"
- "XMMS" f.exec "audacious &"
- "MOC" f.exec "xterm -e mocp &"
- "Xine" f.exec "xine &"
- }
- menu "ops"
- {
- " Operations " f.title
- "Auto Pan" f.autopan
- "New Door" f.newdoor
- "Snap Screen" f.snaprealscreen
- "Static Icons" f.staticiconpositions
- "Warp Snug" f.warpsnug
- "Warp Visible" f.warpvisible
- "" f.separator
- "Show Icon Mgr" f.showiconmgr
- "Hide Icon Mgr" f.hideiconmgr
- "Show Desktop" f.showdesktopdisplay
- "Hide Desktop" f.hidedesktopdisplay
- "" f.separator
- "Refresh" f.refresh
- }
- menu "arrange"
- {
- " Arrange " f.title
- "Autoraise" f.autoraise
- "Raise" f.raise
- "Lower" f.lower
- "Nail" f.nail
- "Ring" f.ring
- "" f.separator
- "Full Zoom" f.fullzoom
- "Horiz Zoom" f.horizoom
- "Vert Zoom" f.zoom
- "" f.separator
- "Identify" f.identify
- "" f.separator
- "Delete" f.delete
- "Destroy" f.destroy
- }
- menu "winops"
- {
- " Window " f.title
- "Identify" f.identify
- "" f.nop
- "AutoRaise" f.autoraise
- "Iconify" f.iconify
- "Resize" f.resize
- "Move" f.move
- "" f.nop
- "Raise" f.raise
- "Lower" f.lower
- "Nail" f.nail
- "Focus" f.focus
- "" f.nop
- "Fullzoom" f.fullzoom
- "Horizoom" f.horizoom
- "Vertzoom" f.zoom
- "" f.nop
- "Kill" f.destroy
- "Delete" f.delete
- }
- Function "VTWM Profile"
- {
- # f.exec "killall conky ; sleep 1 ; /usr/bin/conky -c ~/.conkyrc &"
- # f.exec "Esetroot -f /u/local/Pictures/ALL/RubikSapphire1920.jpg
- # f.exec "killall gkrellm ; sleep 1; gkrellm -g 1356-0+100 &"
- # f.exec "eval `cat $HOME/.fehbg` &"
- # f.exec "$HOME/.fehbgx"
- f.exec "killall dclock; sleep 1; dclock -g +550-670 &"
- f.exec "sh $HOME/.fehbg &"
- f.exec "killall parcellite ; sleep 1 ; parcellite &"
- # f.exec "trayer --transparent true --edge top --distance 5 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false --SetPartialStrut True &"
- f.exec "trayer --transparent true --edge top --distance 160 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false --align left &"
- f.exec "autocutsel &"
- f.exec "xcompmgr -c &"
- f.exec "xsetroot -cursor_name left_ptr &"
- f.exec "numlockx &"
- }
Advertisement
Add Comment
Please, Sign In to add comment