Advertisement
Dj_Dexter

.vtwmrc

Feb 14th, 2012
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.91 KB | None | 0 0
  1. #
  2. # $XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea Exp $
  3. #
  4. # Default twm configuration file; needs to be kept small to conserve string
  5. # space in systems whose compilers don't handle medium-sized strings.
  6. #
  7. # Sites should tailor this file, providing any extra title buttons, menus, etc.
  8. # that may be appropriate for their environment. For example, if most of the
  9. # users were accustomed to uwm, the defaults could be set up not to decorate
  10. # any windows and to use meta-keys.
  11. #
  12.  
  13. IconRegion "850x550+60-0" West South 75 25
  14.  
  15. #
  16. # Variables
  17. #
  18. RightHandSidePulldownMenus
  19. RandomPlacement
  20. AutoPan 0
  21. #PanResistance 3000
  22. PanResistance 0
  23.  
  24. StayUpOptionalMenus
  25.  
  26. FixManagedVirtualGeometries # corrects window placement in panner
  27.  
  28. # Does NOT allows color override to work in panner
  29. # OldFashionedTwmWindowsMenu
  30.  
  31. ButtonColorIsFrame
  32. NoGrabServer
  33. NoDefaults
  34. RestartPreviousState
  35. IconifyByUnmapping
  36. ShowIconManager
  37. #StrictIconManager # Only show icionified clients in Manager
  38. #WarpToTransients # move pointer to Transients when created
  39.  
  40. # DecorateTransients
  41. AutoRaiseDelay 100
  42. AutoRaise
  43. BorderWidth 3
  44. MoveDelta 3
  45. ResizeRegion "NorthEast"
  46. NotVirtualGeometries
  47. FixTransientVirtualGeometries
  48.  
  49. # TrueType
  50. EnableXftFontRenderer
  51. DefaultFont "Bitstream Vera Sans:bold:roman:size=12:antialias=true"
  52. DoorFont "Bitstream Vera Sans:normal:roman:size=10:antialias=true"
  53. IconFont "Bitstream Vera Sans:normal:roman:size=10:antialias=true"
  54. IconManagerFont "Bitstream Vera Sans:normal:roman:size=10:antialias=true"
  55. InfoFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true"
  56. MenuFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true"
  57. MenuTitleFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true"
  58. ResizeFont "Bitstream Vera Sans:normal:roman:size=14:antialias=true"
  59. TitleFont "Bitstream Vera Sans:normal:roman:size=12:antialias=true"
  60. VirtualDesktopFont "Bitstream Vera Sans:normal:roman:size=6:antialias=true"
  61. VirtualDesktop "3x2-0-0" 35
  62. IconManagerGeometry "1300x10+0+2" 10
  63.  
  64. # the following is for a 3d look
  65. BorderBevelWidth 2
  66. ButtonBevelWidth 1
  67. ClearBevelContrast 40
  68. DarkBevelContrast 40
  69. IconBevelWidth 2
  70. IconManagerBevelWidth 1
  71. InfoBevelWidth 2
  72. MenuBevelWidth 2
  73. ShallowReliefWindowButton
  74. TitleBevelWidth 1
  75. ButtonIndent -1 # Fixes Buttons for 4.7
  76. TitleButtonBorderWidth 0 # Fixes Buttons for 4.7
  77. WarpCursor
  78. OpaqueMove
  79. # BeNiceToColormap # conserve color map
  80.  
  81. ###############################################################################
  82. # some people do not like this, so can be commented
  83. # or changed
  84. ###############################################################################
  85.  
  86. #AutoRaiseDelay 100
  87. #AutoRaise
  88.  
  89. ###############################################################################
  90. # prog lists
  91. ###############################################################################
  92. AppletRegion "80x500-0-100" South East 100 100
  93. {
  94. "bubblefishymon"
  95. "wmbiff"
  96. "wmWeather"
  97. "minidock"
  98. "asapm"
  99. }
  100. AppletRegion "100x100+0-0" South West 70 70
  101. {
  102. "pclock"
  103. "wmtime"
  104. }
  105.  
  106. Function "VTWM Profile"
  107. {
  108. # f.exec "killall conky ; sleep 1 ; /usr/bin/conky -c ~/.conkyrc &"
  109. # f.exec "Esetroot -f /u/local/Pictures/ALL/RubikSapphire1920.jpg
  110. f.exec "killall gkrellm ; sleep 1; gkrellm -g 1356-0+100 &"
  111. # f.exec "eval `cat $HOME/.fehbg` &"
  112. f.exec "$HOME/.fehbgx"
  113. f.exec "killall parcellite ; sleep 1 ; parcellite &"
  114. # f.exec "trayer --transparent true --edge top --distance 5 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false --SetPartialStrut True &"
  115. f.exec "trayer --transparent true --edge top --distance 160 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType false --align left &"
  116. f.exec "autocutsel &"
  117. f.exec "xsetroot -cursor_name left_ptr &"
  118. f.exec "numlockx &"
  119. }
  120.  
  121.  
  122. DontShowInTwmWindows
  123. {
  124. "VTWM Icon Manager"
  125. "VTWM Desktop"
  126. "asclock"
  127. "astime"
  128. "emiclock"
  129. "gkrellm"
  130. "oclock"
  131. "swisswatch"
  132. "xdaliclock"
  133. "Dali Clock"
  134. "xbiff"
  135. "[Xx]message*"
  136. "xclock"
  137. "xvclock"
  138. "daliclock"
  139. "xdaliclock"
  140. "xeyes"
  141. "xload"
  142. "bubblefishymon"
  143. "lavaps"
  144. "wmmemmon"
  145. "wmitime"
  146. "wmcpuload"
  147. "wmWeather"
  148. "wmbiff"
  149. "wmSun"
  150. "wmMoonClock"
  151. "Conky"
  152. }
  153. DontShowInVtwmWindows
  154. {
  155. "VTWM Icon Manager"
  156. "VTWM Desktop"
  157. "asclock"
  158. "astime"
  159. "emiclock"
  160. "gkrellm"
  161. "oclock"
  162. "swisswatch"
  163. "xdaliclock"
  164. "Dali Clock"
  165. "xbiff"
  166. "[Xx]message*"
  167. "xclock"
  168. "xvclock"
  169. "daliclock"
  170. "xdaliclock"
  171. "xeyes"
  172. "xload"
  173. "bubblefishymon"
  174. "lavaps"
  175. "wmmemmon"
  176. "wmitime"
  177. "wmcpuload"
  178. "wmWeather"
  179. "wmbiff"
  180. "wmSun"
  181. "wmMoonClock"
  182. }
  183.  
  184. NoHighlight
  185. {
  186. "VTWM Desktop"
  187. "VTWM Icon Manager"
  188. "asapm"
  189. "asclock"
  190. "astime"
  191. "bubblefishymon"
  192. "dclock"
  193. "fishmon"
  194. "lavaps"
  195. "oclock"
  196. "pclock"
  197. "rclock"
  198. "trayer"
  199. "Conky"
  200. "minidock"
  201. "swisswatch"
  202. "wmMoonClock"
  203. "wmSun"
  204. "wmWeather"
  205. "wmbiff"
  206. "wmclock"
  207. "wmclockmon"
  208. "wmcpuload"
  209. "wmfishtime"
  210. "wmitime"
  211. "wmmemmon"
  212. "wmtime"
  213. "wmzcalock"
  214. "xbiff"
  215. "xclock"
  216. "xdaliclock"
  217. "xeyes"
  218. "xload"
  219. "xvclock"
  220. }
  221.  
  222. NailedDown
  223. {
  224. "xmessage"
  225. "Calendar" # Calendar
  226. "Information" # gnomecal
  227. "VTWM Desktop"
  228. "VTWM Icon Manager"
  229. "VTWM*"
  230. "[Xx]message*"
  231. "asapm"
  232. "asclock"
  233. "astime"
  234. "bubblefishymon"
  235. "dclock"
  236. "emiclock"
  237. "fishmon"
  238. "gkrellm"
  239. "gnomecal" # Calendar
  240. "lavaps"
  241. "mailtool"
  242. "oclock"
  243. "pclock"
  244. "rclock"
  245. "trayer"
  246. "minidock"
  247. "swisswatch"
  248. "wmMoonClock"
  249. "wmSun"
  250. "wmWeather"
  251. "wmbiff"
  252. "wmclock"
  253. "wmclockmon"
  254. "wmcpuload"
  255. "wmfishtime"
  256. "wmitime"
  257. "wmmemmon"
  258. "wmtime"
  259. "wmzcalock"
  260. "xbiff"
  261. "xclock"
  262. "xconsole"
  263. "xdaliclock"
  264. "xeyes"
  265. "xload"
  266. "xmailbox"
  267. "xneko"
  268. "xvclock"
  269. }
  270. DontIconifyByUnmapping
  271. {
  272. "mailtool"
  273. "xmailbox"
  274. }
  275.  
  276. NoTitle
  277. {
  278. "xmessage"
  279. "VTWM Desktop"
  280. "VTWM Icon Manager"
  281. "VTWM*"
  282. "asapm"
  283. "asclock"
  284. "astime"
  285. "bubblefishymon"
  286. "dclock"
  287. "emiclock"
  288. "fishmon"
  289. "gkrellm"
  290. "lavaps"
  291. "oclock"
  292. "pclock"
  293. "rclock"
  294. "trayer"
  295. "minidock"
  296. "swisswatch"
  297. "user_popup" # xbmbrowser
  298. "wmMoonClock"
  299. "wmSun"
  300. "wmWeather"
  301. "wmbiff"
  302. "wmclock"
  303. "wmclockmon"
  304. "wmcpuload"
  305. "wmfishtime"
  306. "wmitime"
  307. "wmmemmon"
  308. "wmtime"
  309. "wmzcalock"
  310. "xbiff"
  311. "xclock"
  312. "xdaliclock"
  313. "xeyes"
  314. "xload"
  315. "xmailbox"
  316. "xneko"
  317. "xvclock"
  318. }
  319.  
  320. DontSqueezeTitle
  321. {
  322. "VTWM Desktop"
  323. }
  324.  
  325. StartIconified
  326. {
  327. "xconsole"
  328. #"gnomecal" # Does not work whe this is here
  329. }
  330.  
  331. DontShowInDisplay
  332. {
  333. "VTWM Desktop"
  334. "VTWM Icon Manager"
  335. "VTWM*"
  336. "asapm"
  337. "asclock"
  338. "astime"
  339. "bubblefishymon"
  340. "dclock"
  341. "emiclock"
  342. "fishmon"
  343. "gkrellm"
  344. "lavaps"
  345. "oclock"
  346. "pclock"
  347. "rclock"
  348. "trayer"
  349. "minidock"
  350. "swisswatch"
  351. "wmMoonClock"
  352. "wmSun"
  353. "wmWeather"
  354. "wmbiff"
  355. "wmclock"
  356. "wmclockmon"
  357. "wmcpuload"
  358. "wmfishtime"
  359. "wmitime"
  360. "wmmemmon"
  361. "wmtime"
  362. "wmzcalock"
  363. "xbiff"
  364. "xclock"
  365. "xconsole"
  366. "xdaliclock"
  367. "xeyes"
  368. "xload"
  369. "xmailbox"
  370. "xneko"
  371. "xvclock"
  372. }
  373.  
  374. IconManagerDontShow
  375. {
  376. "Calendar"
  377. "VTWM Desktop"
  378. "VTWM Icon Manager"
  379. "VTWM*"
  380. "Audacious"
  381. "asapm"
  382. "asclock"
  383. "astime"
  384. "bubblefishymon"
  385. "dclock"
  386. "emiclock"
  387. "fishmon"
  388. "gkrellm"
  389. "gnomecal"
  390. "lavaps"
  391. "oclock"
  392. "pclock"
  393. "rclock"
  394. "trayer"
  395. "minidock"
  396. "swisswatch"
  397. "user_popup" # xbmbrowser
  398. "wmMoonClock"
  399. "wmSun"
  400. "wmWeather"
  401. "wmbiff"
  402. "wmclock"
  403. "wmclockmon"
  404. "wmcpuload"
  405. "wmfishtime"
  406. "wmitime"
  407. "wmmemmon"
  408. "wmtime"
  409. "wmzcalock"
  410. "xbiff"
  411. "xclock"
  412. "xdaliclock"
  413. "xeyes"
  414. "xload"
  415. "xmailbox"
  416. "xneko"
  417. "xvclock"
  418. }
  419.  
  420. Pixmaps
  421. {
  422. #VirtualBackgroundPixmap "/usr/local/share/afterstep/backgrounds/Wave.xpm"
  423. TitleHighlight ":xpm:sunkenbox" # Fix Buttons for 4.7
  424. MenuIconPixmap ":xpm:rarrow" # Fix Menu button for 4.7
  425. IconManagerPixmap ":xpm:zoom"
  426. }
  427.  
  428. #
  429. # Functions and Bindings
  430. #
  431.  
  432. Function "move-or-lower" { f.move f.deltastop f.lower }
  433. Function "move-or-raise" { f.move f.deltastop f.raise }
  434. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  435.  
  436. # a hack but works
  437. Function "jmc_w1"
  438. {
  439. f.panup "100"
  440. f.panup "100"
  441. f.panleft "100"
  442. f.panleft "100"
  443. f.panleft "100"
  444. f.panleft "100"
  445. }
  446. Function "jmc_w2"
  447. {
  448. f.panup "100"
  449. f.panup "100"
  450. f.panleft "100"
  451. f.panleft "100"
  452. f.panleft "100"
  453. f.panleft "100"
  454. f.panright "100"
  455. }
  456. Function "jmc_w3"
  457. {
  458. f.panup "100"
  459. f.panup "100"
  460. f.panright "100"
  461. f.panright "100"
  462. f.panright "100"
  463. f.panright "100"
  464. }
  465. Function "jmc_w4"
  466. {
  467. f.pandown "100"
  468. f.pandown "100"
  469. f.panleft "100"
  470. f.panleft "100"
  471. f.panleft "100"
  472. f.panleft "100"
  473. }
  474. Function "jmc_w5"
  475. {
  476. f.pandown "100"
  477. f.pandown "100"
  478. f.panleft "100"
  479. f.panleft "100"
  480. f.panleft "100"
  481. f.panright "100"
  482. }
  483. Function "jmc_w6"
  484. {
  485. f.pandown "100"
  486. f.pandown "100"
  487. f.panright "100"
  488. f.panright "100"
  489. f.panright "100"
  490. f.panright "100"
  491. }
  492.  
  493. ###############################################################################
  494. # Title Button Section Begin
  495. # valid: :xpm:bar :xpm:resize
  496. # :xpm:dot :xpm:zoom
  497. # :xpm:menu :xlogo
  498. # :xpm:darrow :xpm:rarrow
  499. ###############################################################################
  500.  
  501. #------------------------------------------------------------------------------
  502. # custom
  503. #------------------------------------------------------------------------------
  504. SqueezeTitle
  505. LeftTitleButton ":xpm:darrow" = f.iconify
  506. #RightTitleButton ":xpm:resize" = f.resize
  507. Button1 = : root : f.menu "TwmWindows"
  508. Button2 = : root : f.menu "Mroot_middle_button"
  509. Button3 = : root : f.menu "Mroot_right_button"
  510. Button1 = : title : f.function "move-or-raise"
  511. Button2 = : title : f.lower
  512. Button3 = : title : f.menu "Mtitle_menu"
  513. Button1 = : frame : f.function "move-or-raise"
  514. Button2 = : frame : f.resize
  515. Button3 = : frame : f.iconify
  516. Button1 = : icon : f.function "move-or-iconify"
  517. Button3 = : icon : f.menu "Mtitle_menu"
  518. Button1 = : iconmgr : f.iconify
  519. Button3 = : iconmgr : f.warp
  520. Button1 = : virtual | desktop : f.movescreen
  521.  
  522. ###############################################################################
  523. # keyboard functions
  524. ###############################################################################
  525. "Return" = : iconmgr : f.iconify
  526.  
  527. "F1" = m : all : f.function "jmc_w1"
  528. "F2" = m : all : f.function "jmc_w2"
  529. "F3" = m : all : f.function "jmc_w3"
  530. "F4" = m : all : f.function "jmc_w4"
  531. "F5" = m : all : f.function "jmc_w5"
  532. "F6" = m : all : f.function "jmc_w6"
  533. "1" = m : all : f.iconify
  534. "2" = m : all : f.zoom
  535. "3" = m : all : f.horizoom
  536. "4" = m : all : f.fullzoom
  537. "q" = m : all : f.delete
  538. "r" = m : all : f.restart
  539. "Tab" = m : all : f.lower
  540. "Left" = m : all : f.backiconmgr
  541. "Right" = m : all : f.forwiconmgr
  542. "Up" = m : all : f.backiconmgr
  543. "Down" = m : all : f.forwiconmgr
  544.  
  545. #FOR Windows type Keyboard#"F1" = m4: all : f.function "jmc_w1"
  546. #FOR Windows type Keyboard#"F2" = m4: all : f.function "jmc_w2"
  547. #FOR Windows type Keyboard#"F3" = m4: all : f.function "jmc_w3"
  548. #FOR Windows type Keyboard#"F4" = m4: all : f.function "jmc_w4"
  549. #FOR Windows type Keyboard#"F5" = m4: all : f.function "jmc_w5"
  550. #FOR Windows type Keyboard#"F6" = m4: all : f.function "jmc_w6"
  551. #FOR Windows type Keyboard#"1" = m4: all : f.iconify
  552. #FOR Windows type Keyboard#"2" = m4: all : f.zoom
  553. #FOR Windows type Keyboard#"3" = m4: all : f.horizoom
  554. #FOR Windows type Keyboard#"4" = m4: all : f.fullzoom
  555. #FOR Windows type Keyboard#"q" = m4: all : f.delete
  556. #FOR Windows type Keyboard#"r" = m4: all : f.restart
  557. #FOR Windows type Keyboard#"Tab" = m4: all : f.lower
  558. #FOR Windows type Keyboard#"Left" = m4: all : f.backiconmgr
  559. #FOR Windows type Keyboard#"Right" = m4: all : f.forwiconmgr
  560. #FOR Windows type Keyboard#"Up" = m4: all : f.backiconmgr
  561. #FOR Windows type Keyboard#"Down" = m4: all : f.forwiconmgr
  562.  
  563. "Up" = m&c: all : f.panup "100"
  564. "Down" = m&c: all : f.pandown "100"
  565. "Left" = m&c: all : f.panleft "100"
  566. "Right" = m&c: all : f.panright "100"
  567.  
  568. ###############################################################################
  569. # colors
  570. ###############################################################################
  571. Color
  572. {
  573. BorderColor "SteelBlue4"
  574. BorderTileBackground "#1E1F28"
  575. TitleBackground "SteelBlue4"
  576. TitleForeground "azure2"
  577.  
  578. IconManagerForeground "azure3"
  579. IconManagerBackground "SteelBlue4"
  580.  
  581. DesktopDisplayForeground "black"
  582. DesktopDisplayBackground "LightSteelBlue"
  583. BorderTileForeground "gray60"
  584. DefaultBackground "Azure3"
  585. DefaultForeground "black"
  586. DesktopDisplayBorder "black"
  587. IconBackground "#1C1C26"
  588. IconBorderColor "#22222C"
  589. IconForeground "snow"
  590. MenuBackground "gray70"
  591. MenuForeground "black"
  592. MenuTitleBackground "SteelBlue4"
  593. MenuTitleForeground "black"
  594. RealScreenBackground "gray30"
  595. VirtualBackground "#1E1F28"
  596. VirtualForeground "black"
  597. }
  598.  
  599. ###############################################################################
  600. # Menus
  601. ###############################################################################
  602. menu "menu_office"
  603. {
  604. " Office " f.title
  605. "Libre Spreadsheet" f.exec "scalc &"
  606. "Libre Word Processor" f.exec "swriter &"
  607. "Libre Presentation" f.exec "simpress &"
  608. "Libre Database" f.exec "sbase &"
  609. "Libre Math Editor" f.exec "smath &"
  610. "Libre Draw" f.exec "sdraw &"
  611. "Libre Printer Admin" f.exec "spadmin &"
  612. "Open Office Main" f.exec "soffice &"
  613. "" f.separator
  614. "Kspread" f.exec "kspread &"
  615. "Kword" f.exec "kword &"
  616. "Kwrite" f.exec "kwrite &"
  617. "Kstars" f.exec "kstars &"
  618. }
  619.  
  620. menu "menu_apps"
  621. {
  622. " Applications " f.title
  623. "Gedit" f.exec "gedit &"
  624. "Office" f.menu "menu_office"
  625. "" f.separator
  626. "Thunderbird" f.exec "thunderbird-bin &"
  627. "Opera" f.exec "opera &"
  628. "Firefox" f.exec "firefox &"
  629. "Pidgin" f.exec "pidgin &"
  630. "" f.separator
  631. "Moc" f.exec "xterm -e mocp &"
  632. "alsaplayer" f.exec "alsaplayer &"
  633. "Xine" f.exec "xine &"
  634. "" f.separator
  635. "gimp" f.exec "gimp &"
  636. "Gthumb" f.exec "gthumb &"
  637. "xpaint" f.exec "xpaint &"
  638. "xfig" f.exec "xfig -geometry 897x707 &"
  639. }
  640. menu "menu_wm"
  641. {
  642. " Others " f.title
  643. "Restart vtwm" f.restart
  644. "twm" f.startwm "twm"
  645. "fvwm2" f.startwm "fvwm2"
  646. "KDE" f.startwm "startkde"
  647. }
  648. menu "menu_utils"
  649. {
  650. " Utilities " f.title
  651. "Edit appointments" f.exec "gedit ~/.rclock &"
  652. "File Manager" f.exec "pcmanfm &"
  653. "VTWM config" f.exec "gedit ~/.vtwmrc &"
  654. "xcalc" f.exec "xcalc &"
  655. "" f.separator
  656. "Gmrun" f.exec "gmrun &"
  657. "wmagnify" f.exec "wmagnify &"
  658. "xmag" f.exec "xmag &"
  659. "xclipboard" f.exec "xclipboard &"
  660. "xbmbrowser" f.exec "xbmbrowser -geometry 550x550 &"
  661. "" f.separator
  662. "VTWM Themes" f.menu "menu_vtwm_themes"
  663. "Other wm" f.menu "menu_wm"
  664. "Restart" f.restart
  665. "About" f.version
  666. }
  667. menu "menu_shells"
  668. {
  669. " Shells " f.title
  670. "aterm (utf-8)" f.exec "atermX &"
  671. "aterm" f.exec "aterm &"
  672. "rxvt" f.exec "rxvt &"
  673. "Eterm" f.exec "Eterm -F 10x20 -c lightblue -f cyan --menu-text-color black -S gray --trans --shade 75 &"
  674. "Xterm" f.exec "xterm &"
  675. "rxvt Small" f.exec "rxvt -fn 6x12 -bg snow -fg black &"
  676. "xterm Small" f.exec "xterm -fn 6x12 -bg snow -fg black &"
  677. }
  678. menu "ShowHide"
  679. {
  680. "Show Iconmamager" f.showiconmgr
  681. "Hide Iconmamager" f.hideiconmgr
  682. "Show DeskTop" f.showdesktopdisplay
  683. "Hide DeskTop" f.hidedesktopdisplay
  684. }
  685.  
  686. menu "Zoom"
  687. {
  688. "Toggle Fullzoom" f.fullzoom
  689. "Toggle Horizoom" f.horizoom
  690. "Toggle Vertzoom" f.zoom
  691. }
  692.  
  693. menu "mod_win"
  694. {
  695. "move" f.move
  696. "togglenail" f.nail
  697. "above" f.nailedabove
  698. "" f.separator
  699. "autoraise" f.autoraise
  700. "ring" f.ring
  701. "snuggle" f.snugwindow
  702. "" f.separator
  703. "raise" f.raise
  704. "lower" f.lower
  705. "" f.separator
  706. "^--" f.squeezeleft
  707. "-^-" f.squeezecenter
  708. "--^" f.squeezeright
  709. }
  710.  
  711. menu "Mtitle_menu"
  712. {
  713. " Window " f.title
  714. "" f.separator
  715. "Resize" f.resize
  716. "togglenail" f.nail
  717. "Move" f.move
  718. "Iconify" f.iconify
  719. "Refresh" f.winrefresh
  720. "" f.separator
  721. "Identify" f.identify
  722. "Modify Win" f.menu "mod_win"
  723. "Zoom" f.menu "Zoom"
  724. "" f.separator
  725. "Delete" f.delete
  726. "Destroy" f.destroy
  727. }
  728.  
  729. menu "Mroot_middle_button"
  730. {
  731. " Arrange " f.title
  732. "" f.separator
  733. "Resize" f.resize
  734. "Iconify" f.iconify
  735. "Move" f.move
  736. "" f.separator
  737. "Refresh" f.winrefresh
  738. "Identify" f.identify
  739. "" f.separator
  740. "Modify Window" f.menu "mod_win"
  741. "Zoom" f.menu "Zoom"
  742. "Show/Hide" f.menu "ShowHide"
  743. "" f.separator
  744. "Send Delete" f.delete
  745. "Kill Window" f.destroy
  746. }
  747.  
  748. menu "Mroot_right_button"
  749. {
  750. " Rubik " f.title
  751. "Shells" f.menu "menu_shells"
  752. "Applications" f.menu "menu_apps"
  753. "Utilities" f.menu "menu_utils"
  754. "" f.separator
  755. "Window Ops" f.menu "Mroot_middle_button"
  756. # "lock screen" f.exec "xscreensaver-command -lock &"
  757. "lock screen" f.exec "xlock -mode julia &"
  758. "" f.separator
  759. "Session" f.menu "Session"
  760. "Exit" f.quit
  761. }
  762.  
  763. menu "Session"
  764. {
  765. "Restart" f.exec "sudo shutdown -r now &"
  766. "Shutdown" f.exec "sudo shutdown -h now &"
  767. }
  768.  
  769.  
  770. ##### END : menus
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement