Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2012
2,087
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.23 KB | None | 0 0
  1. #---------------------------------------------------------
  2. # CTWMRC - THE NEXT GENERATION
  3. # Version 1.1-GNOME - April 15th, 1999
  4. # by Dan Lilliehorn
  5. # Modified by Skinwalker aka Prem K. Murugan
  6. # - August 10th, 2011
  7. # Based on .ctwmrc-files by:
  8. # * Morgan Eklof
  9. # * Anders Skargren
  10. # * Tomas Cedven
  11. # * Peter C
  12. # * Dan Lilliehorn
  13. #
  14. #
  15. #
  16. # Legend:
  17. # I=Icon(s)
  18. # TB=TitleBar(s)
  19. # IM=IconManager
  20. # WS=WorkSpace
  21. # WSM=WorkSpaceManager
  22. #---------------------------------------------------------
  23.  
  24. #---------------------------------------------------------
  25. # EMERGENCY
  26. # This line is here so that U will be able 2 restart CTWM
  27. # even if the rest of the file doesn't work very well!
  28. #---------------------------------------------------------
  29.  
  30. "F6"= s : r|w|t|m|f : f.twmrc #shift "L2": source .ctwmrc
  31.  
  32. #---------------------------------------------------------
  33. # FONTS
  34. #---------------------------------------------------------
  35.  
  36. MenuFont "-*-terminus-medium-r-normal-*-*-*-*-*-*-*-*-*"
  37. TitleFont "-*-terminus-medium-r-normal-*-*-*-*-*-*-*-*-*"
  38. IconManagerFont "-*-terminus-medium-r-normal-*-*-*-*-*-*-*-*-**"
  39. IconFont "-*-terminus-medium-r-normal-*-*-*-*-*-*-*-*-*"
  40. ResizeFont "-*-terminus-medium-r-normal-*-*-*-*-*-*-*-*-*"
  41. WorkSpaceFont "-*-terminus-medium-r-normal-*-*-*-*-*-*-*-*-*"
  42.  
  43. #---------------------------------------------------------
  44. # PIXMAP CONFIG and
  45. # PIXMAPS
  46. #---------------------------------------------------------
  47.  
  48. PixmapDirectory "~/ctwm-themes/bass" # dir. for xpms
  49.  
  50. Pixmaps
  51. {
  52. }
  53.  
  54. #---------------------------------------------------------
  55. # COLOR CONFIG and
  56. # COLORS
  57. #---------------------------------------------------------
  58.  
  59. #BeNiceToColorMap # less col in shadows
  60.  
  61. Color
  62. {
  63. BorderColor "rgb:a9/7e/09" # optional windowlist
  64. # {
  65. # "emacs" "#009900"
  66. # "Netscape" "cyan4"
  67. # }
  68.  
  69. DefaultBackground "#1c1c1c"
  70. DefaultForeground "rgb:96/8a/38"
  71. TitleBackground "#1c1c1c"
  72. # { # optional windowlist
  73. # "Netscape" "DarkBlue"
  74. # "emacs" "DarkSlateGray"
  75. # "xfig" "#80CCF8"
  76. # }
  77.  
  78. TitleForeground "rgb:a9/7e/09"
  79. # { # optional windowlist
  80. # "Netscape" "Yellow"
  81. # "emacs" "Wheat"
  82. # "xfig" "black"
  83. # }
  84.  
  85. BorderTileBackground "gray30" # optional windowlist
  86. # {
  87. # "Netscape" "#B0B0B0"
  88. # "emacs" "DarkSlateGray"
  89. # }
  90.  
  91. MenuBackground "#1c1c1c"
  92. MenuForeground "rgb:a9/7e/09"
  93. # MenuTitleBackground "rgb:96/8a/38"
  94. # MenuTitleForeground "#222222"
  95. MenuShadowColor "grey23" # default is black
  96.  
  97. IconBackground "#222222"
  98. # { # optional winlist
  99. # "Netscape" "Blue"
  100. # }
  101. IconForeground "#968a38"
  102. # { # optional winlist
  103. # "Netscape" "Yellow"
  104. # }
  105. IconBorderColor "#dfdfdf"
  106. # { # optional winlist
  107. # "Netscape" "Blue"
  108. # }
  109.  
  110. IconManagerBackground "#968a38"
  111. { # optional winlist
  112. # "Netscape" "DarkBlue"
  113. # "emacs" "#000020"
  114. # "*pdf*" "Red"
  115. # "*xmms*" "gray50"
  116. # "*pine*" "black"
  117. # "*lysator*" "lemonchiffon"
  118. # "*vmware*" "white"
  119. }
  120.  
  121. IconManagerForeground "#222222"
  122. { # optional winlist
  123. # "Netscape" "Yellow"
  124. # "emacs" "lemonchiffon"
  125. # "*pdf*" "White"
  126. # "*xmms*" "black"
  127. # "*pine*" "green"
  128. # "*lysator*" "black"
  129. # "*wmware*" "DarkSlateGray"
  130. }
  131.  
  132. # IconManagerHighlight "yellow"
  133. # { # optional winlist
  134. # "Netscape" "Blue"
  135. # }
  136.  
  137. MapWindowBackground "#222222" # BGcol for WSMwins
  138. # { # optional winlist
  139. # }
  140.  
  141. MapWindowForeground "rgb:96/8a/38" # FGcol for WSMwins
  142. # { # optional winlist
  143. # }
  144.  
  145. }
  146.  
  147. SaveColor # tell client about these
  148. { # settings to "smooth"
  149. BorderColor
  150. TitleBackground
  151. TitleForeground
  152. }
  153.  
  154.  
  155. #---------------------------------------------------------
  156. # MONOCHROME "COLOR"-SETTINGS
  157. #---------------------------------------------------------
  158.  
  159. Monochrome
  160. {
  161. BorderColor "black"
  162. BorderTileForeground "black"
  163. BorderTileBackground "white"
  164. TitleForeground "black"
  165. TitleBackground "white"
  166. MenuTitleForeground "black"
  167. MenuTitleBackground "white"
  168. MapWindowForeground "white"
  169. MapWindowBackground "white"
  170. }
  171.  
  172. #---------------------------------------------------------
  173. # GENERAL CTWM CONFIG
  174. #---------------------------------------------------------
  175.  
  176. RestartPreviousState # use previous if any
  177. #CenterFeedbackWindow # move pos.info to center
  178.  
  179. DecorateTransients # give transients TB
  180. TransientHasOccupation # ..uhh? Try it! What is it?
  181. TransientOnTop # Put transients top when they appear
  182. #AutoFocusToTransients # Give transients autofocus.
  183.  
  184. OpaqueMove # want to see the window?
  185. #{ # optional winlist
  186. #}
  187. #NoOpaqueMove # When OpaqueMove is set, use
  188. #{ # NoOpaqueMove on these wins
  189. #}
  190.  
  191. #OpaqueMoveThreshold {35} # ..but only less than XX%
  192. OpaqueResize # see everthing when you resize
  193. #{ # optional winlist
  194. #}
  195. #NoOpaqueResize # ... or only the frames?
  196. #{ # optional winlist
  197. # "Netscape"
  198. #}
  199. OpaqueResizeThreshold {35} # ..but only less than XX%
  200.  
  201. AutoOccupy # change occupation automat. (?)
  202. AutoRelativeResize # intelligent resizing => easier
  203.  
  204. NoGrabServer # no grab server on popup/opaque (?)
  205.  
  206. #NoRaiseOnWarp # when should I raise a win?
  207. #NoRaiseOnMove # /\
  208. #NoRaiseOnResize # ||
  209.  
  210. #RaiseOnClick # raise window when clicked on
  211. #RaiseOnClickButton 3 # which button?
  212.  
  213. WarpRingOnScreen # only warp on current workspace
  214. WarpUnmapped # deiconfity unmapped and warp
  215.  
  216. #DontMoveOff # Add below & U get resistance
  217. #MoveOffResistance 150 # how hard must I push?
  218.  
  219. #ConstrainedMoveTime 0 # How quick to 2click to constrain
  220. XMoveGrid 3 # Constraint grid
  221. YMoveGrid 3 # -- | | --
  222.  
  223. RandomPlacement "on" # ask for pos?
  224. MoveDelta 3 # dist. 4 move 2 work
  225. AnimationSpeed 15 # update speed for animated things
  226. ClearShadowContrast 50 # clear shadow for 3D
  227. DarkShadowContrast 50 # dark shadow for 3D
  228. MovePackResistance 100 # how many pix. res. be4 overlap?
  229. UsePPosition "on" # let the apps have their way?
  230. #MaxWindowSize "30000x30000" # default
  231. #RaiseDelay 10 # how long delay raise?
  232.  
  233. NoStackMode # ignore stacking reqs from clients
  234. #{ # optional winlist
  235. #}
  236.  
  237. #PackNewWindows # use f.movepack, not f.move, 4 new
  238. #OpenWindowTimeout 90 # autoclose if not attended (see man)
  239. RaiseWhenAutoUnSqueeze
  240. ShortAllWindowsMenus # Don't show IM and WSM in win.menu
  241. #XorValue # coloring when not using Opaque
  242. #Zoom 8 # show iconification
  243.  
  244. #---------------------------------------------------------
  245. # TITLEBAR CONFIG and
  246. # TITLEBAR BUTTONS
  247. #---------------------------------------------------------
  248.  
  249. UseThreeDTitles
  250. NoDefaults # not use default buttons
  251.  
  252. NoTitleHighlight
  253. #{ # optional winlist
  254. #}
  255.  
  256. #SunkFocusWindowTitle # sink instead of raise?
  257. NoTitleFocus # keyboard input at pointer
  258. #UseSunkTitlePixmap # sink instead of raise?
  259.  
  260. #SqueezeTitle # shrinks titlebar
  261. #{ # optional winlist
  262. #}
  263.  
  264. #DontSqueezeTitle # Don't squeeze title for these wins.
  265. #{ # If used w/o list, no titles squeeze
  266. #}
  267.  
  268. TitleButtonShadowDepth 0
  269. TitleShadowDepth 0
  270. TitleButtonBorderWidth 0
  271. TitlePadding 0 # frame around TBobjects?
  272. ButtonIndent 0 # indentated TBbuttons?
  273. FramePadding 0 # frame around TB?
  274. #TitleJustification "left" # right/left/center
  275.  
  276. #RightTitleButton ":xpm:kill" = f.delete
  277. #RightTitleButton "xpm:resize.xpm" = f.resize
  278. #RightTitleButton "xpm:verexp.xpm" = f.zoom
  279. #RightTitleButton "xpm:horexp.xpm" = f.hzoom
  280. #LeftTitleButton ":xpm:dot" = f.iconify
  281.  
  282. #---------------------------------------------------------
  283. # BORDER CONFIG
  284. #---------------------------------------------------------
  285.  
  286. UseThreeDBorders
  287.  
  288. ThreeDBorderWidth 1
  289. Borderwidth 1
  290. BorderShadowDepth 0
  291.  
  292. #ClientBorderWidth # Allow apps to set own BWidth
  293.  
  294. #---------------------------------------------------------
  295. # WORKSPACE MANAGER CONFIG and
  296. # WORKSPACE COLORS AND NAMES
  297. # N = "Name" | MC = "ManagerColor" | MTC = "ManTextColor"
  298. # BC = "BackgroundColor" | FC = "ForegroundColor" | RX = "RootXpm"
  299. #---------------------------------------------------------
  300.  
  301. DontPaintRootWindow # repaint root(below) or not?
  302. ShowWorkSpaceManager # activate/deactivate WSM
  303.  
  304. ReallyMoveInWorkspaceManager # Move windows from WSM?
  305. #AlwaysShowWindowWhenMovingFromWorkspaceManager # Mirror moves i WSM in
  306. # the current WS. Ugly!
  307.  
  308. #MapWindowCurrentWorkSpace # appearance of current WS
  309. #{ border_color [background] [fore- ground] [bitmap] }
  310.  
  311. #MapWindowDefaultWorkSpace # appearance of default WS
  312. #{ border_color [background] [fore- ground] [bitmap] }
  313.  
  314.  
  315. #UseThreeDWMap
  316. DontWarpCursorInWMap # no move to indicated win
  317. NoShowOccupyAll # don't show'em in WSM
  318. ReverseCurrentWorkspace # reverse colors in curr WS?
  319. StartInMapState # buttons or maps?
  320.  
  321. WMgrHorizButtonIndent 0 # /dist. between buttons
  322. WMgrVertButtonIndent 0 # \when in button mode
  323.  
  324. #WorkSpaceManagerGeometry "80x150-1-52" 2 2
  325. WorkSpaceManagerGeometry "68x270-4-675" 1 5
  326.  
  327. #WMgrButtonShadowDepth 1
  328.  
  329. WorkSpaces
  330. {
  331. # N MC MTC BC FC RX
  332. "1" { "#000000" "#BEBABE" "#3f3f3f" "white"} # "xpm:bg/gnome-bg.xpm"}
  333. "2" { "#000000" "#BEBABE" "#222222" "white"} # "xpm:bg/gnome-bg.xpm"}
  334. "3" { "#000000" "#BEBABE" "#121212" "white"} # "xpm:bg/gnome-bg.xpm"}
  335. "4" { "#000000" "#BEBABE" "#222222" "white"} # "xpm:bg/gnome-bg.xpm"}
  336. "5" { "#000000" "#BEBABE" "#3f3f3f" "white"} # "xpm:bg/gnome-bg.xpm"}
  337. }
  338. Function "movetoworkspace_1" { f.addtoworkspace "Term" f.vanish }
  339. Function "movetoworkspace_2" { f.addtoworkspace "Web" f.vanish }
  340. Function "movetoworkspace_3" { f.addtoworkspace "Music" f.vanish }
  341. Function "movetoworkspace_4" { f.addtoworkspace "Vim" f.vanish }
  342. Function "movetoworkspace_5" { f.addtoworkspace "Gimp" f.vanish }
  343. Function "movetoworkspace_6" { f.addtoworkspace "Root" f.vanish }
  344. #---------------------------------------------------------
  345. # ICON CONFIG and
  346. # ICONS
  347. #---------------------------------------------------------
  348.  
  349. ForceIcons # use icons put below, not default
  350. IconifyByUnmapping # no icon when iconified
  351. #NoRaiseOnDeiconify # raise deiconified wins?
  352. #AutoRaiseIcons # raise icons when under cursor
  353.  
  354. #IconDirectory "" # dir. for bitmapI
  355. IconJustification "center" # where put image/title?
  356. MaxIconTitleWidth 120
  357. #IconBorderWidth 0 # frame around I?
  358. #UnknownIcon "" # bitmap to use for unknown?
  359.  
  360. #SchrinkIconTitles # shrink icon titles a'la Motif
  361.  
  362. # Where on the screen to put icons and how to place them.
  363. #IconRegion "140x684+0+0" North East 130 90 { }
  364. #IconRegion "140x684+140+0" North East 130 90 { }
  365. #IconRegionAlignement "bottom"
  366. #IconRegionJustification "center"
  367.  
  368. Icons
  369. {
  370. "urxvtc" "xpm:terminal2.xpm"
  371. "emacs" "xpm:edit1.xpm"
  372. "pine" "xpm:mail3.xpm"
  373. "ghostview" "xpm:magnify.xpm"
  374. "MPEG Play" "xpm:movie.xpm"
  375. "xanim" "xpm:movie.xpm"
  376. "Control" "xpm:mixer.xpm"
  377. "xfractint" "xpm:mandelbrot.xpm"
  378. "AC3D v1.58b" "xpm:3dcubes.xpm"
  379. "Netscape" "xpm:orbit.xpm"
  380. "Mxp" "xpm:mandelbrot.xpm"
  381. "XQuit" "xpm:info2.xpm"
  382. "XaoS" "xpm:mandelbrot.xpm"
  383. "Xman" "xpm:files2.xpm"
  384. "root" "xpm:restricted.xpm"
  385. }
  386.  
  387. #---------------------------------------------------------
  388. # ICON MANAGER CONFIG
  389. #---------------------------------------------------------
  390.  
  391. #ShowIconManager # activate/deactivate IM
  392. NoIconManagers # activate/deactivate IM
  393. UseThreeDIconManagers
  394. SortIconManager # sorts alphabetically
  395. #NoCaseSensitive # sort with case?
  396. #NoIconTitle # don't put title under icons
  397. #{ # optional winlist
  398. #}
  399. IconManagerShadowDepth 0
  400. NoIconManagerFocus # !focus the win under cursor in IM
  401.  
  402. # Icon Manager Geometry: Size: Columns:
  403. #IconManagerGeometry "73x40-1+0" 1
  404.  
  405. #IconManagers
  406. #{
  407. # "eterm" "=73x40-1+200" 1
  408. #}
  409.  
  410.  
  411. #---------------------------------------------------------
  412. # MOUSE POINTER CONFIG and (cursor = mouse pointer)
  413. # MOUSE POINTERS
  414. #---------------------------------------------------------
  415.  
  416. BorderResizeCursors # resize curs on border
  417.  
  418. Cursors
  419. {
  420. Destroy "pirate"
  421. }
  422.  
  423. #---------------------------------------------------------
  424. # MENU CONFIG and
  425. # MENUS
  426. #
  427. # Tip for menus:
  428. # Instead of rewriting your menus for every platform you
  429. # move your .ctwmrc-file to, you could keep all menus in
  430. # the same file and simply add a couple of lines to the
  431. # mouse button funcion specifications below. Here I have
  432. # one set of menus for DEC and one for Linux. Study my
  433. # example! :)
  434. #---------------------------------------------------------
  435.  
  436. #StayUpMenus # pin automatically?
  437. #WarpToDefaultMenuEntry # warp to menu (when using above)
  438.  
  439. #UseThreeDMenus # 3D or not?
  440. MenuShadowDepth 1 # how big shadow? (1 looks good)
  441. #NoMenuShadows # do U want shadows?
  442. NoBackingStore # /which is faster,
  443. #NoSaveUnders # \try them out!
  444.  
  445. InterpolateMenuColors # interpolate colors in multicol menus
  446.  
  447. menu "Menus"
  448. {
  449. "BEASTIE" f.pin
  450. "TERM" !"urxvtc&"
  451. "FIL" !"nautilus --no-desktop&"
  452. "WEB" !"chrome&"
  453. "IRC" !"urxvtc -e irssi&"
  454. "MUS" !"urxvtc -e cmus&"
  455. "LAZ" !"lazarus&"
  456. "OTHER" f.menu "OTHER"
  457. "" f.separator
  458. " Restart" f.twmrc
  459. "" f.separator
  460. " Quit" f.quit
  461. }
  462.  
  463. menu "OTHER"
  464. {
  465. "TORRENT" !"transmission-gtk&"
  466. "EDITOR" !"urxvtc -e vim&"
  467. "PHOTOS" !"gimp&"
  468. "CONFIG" !"urxvtc -e vim ~/.ctwmrc&"
  469. }
  470. menu "TMENU"
  471. {
  472. "KILL" f.delete
  473. }
  474. menu "clone_menu" {
  475. "move to 'Term'" f.gotoworkspace "Term"
  476. "move to 'Web'" f.gotoworkspace "Web"
  477. "move to 'Music'" f.warpto "Music"
  478. "move to 'Vim'" f.gotoworkspace "Vim"
  479. "move to 'Gimp'" f.gotoworkspace "Gimp"
  480. "move to 'Root'" f.gotoworkspace "Root"
  481. }
  482.  
  483. #menu "windows"
  484. #{
  485. # " Windows" f.title
  486. # " Pin Menu" f.pin
  487. # "" f.separator
  488. # " Kill" f.menu "Kill"
  489. # " Save" f.saveyourself
  490. # " Refresh All" f.refresh
  491. # " Refresh" f.winrefresh
  492. # " Occupy" f.occupy
  493. # " Occupy All" f.occupyall
  494. # " Vanish" f.vanish
  495. # " Iconify" f.iconify
  496. # " Resize" f.resize
  497. # " RaiseLower" f.raiselower
  498. # " Move" f.move
  499. # " Raise" f.raise
  500. # " Lower" f.lower
  501. # " Info" f.identify
  502. # " Focus" f.focus
  503. # " Unfocus" f.unfocus
  504. # " Animation " f.menu "Anim"
  505. # " Zoom" f.menu "Zoom"
  506. #}
  507. #
  508. #menu "titleops"
  509. #{
  510. # "Title Bar" f.title
  511. # "RaiseLower" f.raiselower
  512. # "Iconify" f.iconify
  513. # "Info" f.identify
  514. # "Focus" f.focus
  515. # "Unfocus" f.unfocus
  516. # "Refresh" f.winrefresh
  517. # "Occupy" f.occupy
  518. # "Occupy All" f.occupyall
  519. # "Vanish" f.vanish
  520. # "" f.separator
  521. # "Send Delete" f.delete
  522. # "Kill Window" f.destroy
  523. # "Zoom" f.menu "Zoom"
  524. #}
  525. #
  526. #menu "Kill"
  527. #{
  528. # "Pin menu" f.pin
  529. # "Kill Window" f.destroy
  530. # "Send Delete" f.delete
  531. #}
  532. #
  533. #menu "Zoom" {
  534. # "Full" f.fullzoom
  535. # "Horizontal" f.horizoom
  536. # "Vertical" f.zoom
  537. # "Left" f.leftzoom
  538. # "Top" f.topzoom
  539. # "Right" f.rightzoom
  540. # "Bottom" f.bottomzoom
  541. #}
  542. #
  543. #menu "Anim" {
  544. # "Start" f.startanimation
  545. # "Stop" f.stopanimation
  546. # "Faster" f.speedupanimation
  547. # "Slower" f.slowdownanimation
  548. #}
  549. #
  550. #menu "TMenu"
  551. #{
  552. # "Title Menu" f.title
  553. # "Iconify" f.iconify
  554. # "Move" f.move
  555. # "Raise" f.raise
  556. # "" f.separator
  557. # "Occupy all" f.occupyall
  558. # "Unoccupy" f.occupy
  559. #}
  560.  
  561. #---------------------------------------------------------
  562. # WM DISPLAY CONFIGURATION
  563. #---------------------------------------------------------
  564.  
  565. #IconManagerShow # If IconManagerDontShow is set
  566. #{ # only these windows will be shown
  567. #}
  568.  
  569.  
  570. #IconManagerDontShow
  571. #{
  572. # "xeyes"
  573. # "xsysinfo"
  574. # "Occupy Window"
  575. # "xload"
  576. # "asclock"
  577. # "xclock"
  578. # "Loadmeter"
  579. # "xlogo"
  580. # "flexbuttonz*"
  581. #}
  582.  
  583. NoHighLight
  584. { # optional winlist. no list = no hl
  585. "TWM Icon Manager"
  586. "WorkSpaceManager"
  587. "xclock"
  588. "xload"
  589. # "xsysinfo"
  590. "xlogo"
  591. "xeyes"
  592. "console"
  593. "asclock"
  594. "XQuit"
  595. "Occupy Window"
  596. "xbiff"
  597. "Loadmeter"
  598. "dclock"
  599. "xfce4-panel"
  600. }
  601.  
  602. OccupyAll
  603. {
  604. "asclock"
  605. "xclock"
  606. "xload"
  607. "xbiff"
  608. "Loadmeter"
  609. "gnotes_applet"
  610. "Xlogo"
  611. "xlogo"
  612. "flexbuttonz"
  613. "wmxmms"
  614. "xmms*"
  615. "XMMS*"
  616. "dclock"
  617. "xfce4-panel"
  618. }
  619.  
  620. AlwaysOnTop
  621. {
  622. "TWM Icon Manager"
  623. # "WorkSpaceManager"
  624. "panel"
  625. "gnotes_applet"
  626. "wmxmms"
  627. "xload"
  628. "xclock"
  629. "ascd"
  630. "flexbuttonz*"
  631. "xfce4-panel"
  632. }
  633.  
  634. NoTitle
  635. { # optional winlist
  636. "flexbuttonz*"
  637. "Loadmeter"
  638. "TWM Icon Manager"
  639. "WorkSpaceManager"
  640. "Occupy Window"
  641. "xclock"
  642. "xload"
  643. # "xsysinfo"
  644. "xlogo"
  645. "xeyes"
  646. "console"
  647. "asclock"
  648. "XQuit"
  649. "xbiff"
  650. "xfwharf"
  651. "asmail"
  652. "gnotes_applet"
  653. "kmp3"
  654. "xmms"
  655. "xlogo"
  656. "wmxmms"
  657. "ascd"
  658. "dclock"
  659. "xfce4-panel"
  660. "feh"
  661. "vlc"
  662. "mplayer"
  663. "chrome"
  664. "Steam.exe"
  665. "npviewer.bin"
  666. }
  667.  
  668. StartIconified
  669. {
  670. "XQuit"
  671. "Povray"
  672. "Netscape Download"
  673. "XMMS*"
  674. }
  675.  
  676. DontIconifyByUnmapping # These wins will turn into icons
  677. { # even if you use an Icon Manager
  678. "xlogo"
  679. "wmxmms"
  680. "TWM Icon Manager"
  681. "WorkSpaceManager"
  682. "xload"
  683. "xclock"
  684. "flexbuttonz"
  685. }
  686.  
  687. #StartSqueezed # start these in squeezed state
  688. #{
  689. #}
  690.  
  691. #AutoSqueeze # Auto Squeeze/Unsqueeze these wins
  692. #{
  693. # "WorkSpaceManager"
  694. #}
  695.  
  696. #UnmapByMovingFarAway # Don't unmap these when you go
  697. #{ # to another WS
  698. #}
  699.  
  700. #DontSetInactive # Don't make these wins inactive
  701. #{ # when you go to other WS. (FrameM)
  702. #}
  703.  
  704. #AutoRaise
  705. #{
  706. # "WorkSpaceManager"
  707. #}
  708.  
  709. NoBorder
  710. {
  711. "xlogo"
  712. "TWM Icon Manager"
  713. "xclock"
  714. "xload"
  715. "WorkSpaceManager"
  716. "flexbuttonz*"
  717. "dclock"
  718. "xfce4-panel"
  719. "feh"
  720. "Steam.exe"
  721. "npviewer.bin"
  722. }
  723.  
  724. Occupy # always move this app. to the same
  725. { # workspace?
  726. # "Netscape" {"4"}
  727. }
  728.  
  729. WindowRing # which windows to use when warping
  730. #{ # if you don't list any windows
  731. # "Emacs" # all will be warped. Se WRExclude.
  732. # "xterm"
  733. # "Maker"
  734. # "Netscape"
  735. # "ddd"
  736. # "eterm*"
  737. # "pine*"
  738. # "Eterm*"
  739. # "XMMS*"
  740. # "VMware*"
  741. # "flexbuttonz*"
  742. # "tkReminder*"
  743. # "*emind*"
  744. # "*.pdf*"
  745. #}
  746.  
  747. WindowRingExclude # Don't include these windows i warp
  748. {
  749. "xload*"
  750. "xclock"
  751. "TWM Icon Manager"
  752. "WorkSpaceManager"
  753. "wmxmms*"
  754. "flexbuttonz"
  755. "xlogo*"
  756. }
  757.  
  758. #MakeTitle # When NoTitle is set, make titlebars
  759. #{ # on these specific windows
  760. #}
  761.  
  762. WarpCursor # warp to deiconified wins
  763. #{ # optional winlist
  764. #}
  765.  
  766. #---------------------------------------------------------
  767. # FUNCTION DEFINITIONS
  768. #---------------------------------------------------------
  769.  
  770. Function "move-or-raiselower" { f.move f.deltastop f.raiselower }
  771. Function "move-or-lower" { f.move f.deltastop f.lower }
  772. Function "move-or-raise" { f.move f.deltastop f.raise }
  773. Function "raise-and-resize" { f.raise f.deltastop f.resize }
  774. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  775. Function "move-or-flip" { f.move f.deltastop f.raiselower }
  776. Function "raise-n-focus" { f.raise f.focus}
  777. Function "raise-move" { f.raise f.deltastop f.move }
  778. Function "blob" { f.deiconify f.raise f.focus f.lower }
  779.  
  780. #---------------------------------------------------------
  781. # MOUSE BUTTON FUNCTIONS
  782. # BUTTONS : CONTEXT : FUNCTION
  783. # m=alt, c=ctrl, s=shift
  784. #---------------------------------------------------------
  785.  
  786. Button3 = : root : f.menu "Menus"
  787. Button1 = : t : f.function "raise-move"
  788. Button1 = m : t : f.delete
  789. Button3 = m : window : f.resize
  790. Button1 = m : window : f.move
  791. Button3 = : t : f.menu "TMENU"
  792. Button1 = : i|m : f.iconify
  793. Button1 = : f : f.function "raise-and-resize"
  794. Button2 = : root : f.nextworkspace
  795. Button4 = : root : f.prevworkspace
  796. #---------------------------------------------------------
  797. # KEY FUNCTIONS
  798. # KEYS = Altkey: CONTEXT : FUNCTION
  799. #---------------------------------------------------------
  800.  
  801. #IgnoreLockModifier # use same bindings regardless of locks
  802.  
  803. #"KP_Insert"= c : all : f.jumpleft "5"
  804. #"KP_Enter" = c : all : f.jumpright "5"
  805. #"KP_Next" = c : all : f.jumpup "5"
  806. #"KP_Delete"= c : all : f.jumpdown "5"
  807. #"KP_Down" = c : all : f.nextworkspace
  808. #"KP_End" = c : all : f.prevworkspace
  809. #"KP_Add" = c : all : f.zoom
  810. #"KP_Left" = c : all : f.downiconmgr
  811. #"KP_Right" = c : all : f.iconify
  812. #"KP_Begin" = c : all : f.deiconify
  813. #"KP_Subtract" =c: all : f.twmrc
  814. #"KP_Divide"= c : all : f.moveresize "+5+5"
  815. #"KP_Up" = c : all : f.moveresize "+5+500"
  816. #"KP_Multiply"=c : all : f.moveresize "+540+5"
  817. #"KP_Prior" = c : all : f.moveresize "+540+500"
  818. #"KP_Home" = c : all : f.raiselower
  819. #"KP_Home" = c|s: all : f.delete
  820. # "F1" can also be used. KP = tenkeys
  821.  
  822. "c" = m : all : f.delete
  823. "Down" = m : all : f.nextworkspace
  824. "Up" = m : all : f.prevworkspace
  825. "q" = m : all : f.twmrc
  826. "q" = m|s : all : f.quit
  827.  
  828. "j" = m|s : all : f.jumpleft "5"
  829. "k" = m|s : all : f.jumpright "5"
  830. "h" = m|s : all : f.jumpup "5"
  831. "l" = m|s : all : f.jumpdown "5"
  832.  
  833. "z" = m : all : f.zoom
  834.  
  835. "1" = m : all : f.gotoworkspace "Term"
  836. "F2" = m : all : f.gotoworkspace "Web"
  837. "F3" = m : all : f.warpto "Music"
  838. "F4" = m : all : f.gotoworkspace "Vim"
  839. "F5" = m : all : f.gotoworkspace "Gimp"
  840. "F6" = m : all : f.gotoworkspace "Root"
  841. "Tab" = m : all : f.circleup
  842. "Return" = m : all : f.circledown
  843. "End" = : all : !"cmus-remote --pause&"
  844. "Home" = : all : !"cmus-remote --play&"
  845. "Insert" = : all : !"cmus-remote --prev&"
  846. "Delete" = : all : !"cmus-remote --next&"
  847. # fill <right|left|vertical|horizontal>
  848. "KP_Up" = : all : f.prevworkspace
  849. "KP_Down" = : all : f.nextworkspace
  850.  
  851. "m" = m : all : f.fullzoom # monocle layout
  852.  
  853. "w" = m : all : f.hideworkspacemgr # hides the workspace manager
  854.  
  855. #"t" = m : all : f.fill right
  856. #"j" = m : all : f.warpring next
  857. #"k" = m : all : f.warpring prev
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement