Advertisement
Guest User

Untitled

a guest
Dec 11th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.08 KB | None | 0 0
  1. /*** MOD: SYSTRAY ***/
  2.  
  3. group {
  4. name: "e/modules/systray/main";
  5. alias: "e/modules/systray/main/default";
  6. alias: "e/modules/systray/main/invisible";
  7. alias: "e/modules/systray/main/default/inset";
  8. data {
  9. item: "inset" "255 255 255";
  10. item: "plain" "230 230 230";
  11. item: "default" "255 255 255";
  12. }
  13. parts {
  14. part {
  15. name: "base";
  16. type: RECT;
  17. description {
  18. state: "default" 0.0;
  19. color: 0 0 0 0;
  20. }
  21. description {
  22. state: "disabled" 0.0;
  23. inherit: "default" 0.0;
  24. color: 255 0 0 128;
  25. }
  26. }
  27. part {
  28. name: "e.size";
  29. type: RECT;
  30. mouse_events: 0;
  31. description {
  32. state: "default" 0.0;
  33. color: 0 0 0 0;
  34. rel1.offset: 4 5;
  35. rel2.offset: -5 -5;
  36. }
  37. }
  38. part {
  39. name: "e.box";
  40. type: BOX;
  41. description {
  42. state: "default" 0.0;
  43. rel1.to: "e.size";
  44. rel2.to: "e.size";
  45. box {
  46. layout: "horizontal";
  47. padding: 2 0;
  48. align: 0.5 0.5;
  49. min: 1 1;
  50.  
  51. }
  52. }
  53. description {
  54. state: "vertical" 0.0;
  55. rel1.to: "e.size";
  56. rel2.to: "e.size";
  57. box {
  58. layout: "vertical";
  59. padding: 0 2;
  60. align: 0.5 0.5;
  61. min: 1 1;
  62. }
  63. }
  64. }
  65. programs {
  66. /* program {
  67. name: "e,action,disable";
  68. signal: "e,action,disable";
  69. source: "e";
  70. action: STATE_SET "disabled" 0.0;
  71. target: "base";
  72. }
  73. program {
  74. name: "e,action,enable";
  75. signal: "e,action,enable";
  76. source: "e";
  77. action: STATE_SET "default" 0.0;
  78. target: "base";
  79. }
  80. program {
  81. name: "e,action,orient,float";
  82. signal: "e,action,orient,float";
  83. source: "e";
  84. action: STATE_SET "default" 0.0;
  85. target: "e.box";
  86. }*/
  87. program {
  88. name: "e,action,orient,horiz";
  89. signal: "e,action,orient,horiz";
  90. source: "e";
  91. action: STATE_SET "default" 0.0;
  92. target: "e.box";
  93. }
  94. program {
  95. name: "e,action,orient,vert";
  96. signal: "e,action,orient,vert";
  97. source: "e";
  98. action: STATE_SET "vertical" 0.0;
  99. target: "e.box";
  100. }
  101. program {
  102. name: "e,action,orient,left";
  103. signal: "e,action,orient,left";
  104. source: "e";
  105. action: STATE_SET "vertical" 0.0;
  106. target: "e.box";
  107. }
  108. program {
  109. name: "e,action,orient,right";
  110. signal: "e,action,orient,right";
  111. source: "e";
  112. action: STATE_SET "vertical" 0.0;
  113. target: "e.box";
  114. }
  115. program {
  116. name: "e,action,orient,top";
  117. signal: "e,action,orient,top";
  118. source: "e";
  119. action: STATE_SET "default" 0.0;
  120. target: "e.box";
  121. }
  122. program {
  123. name: "e,action,orient,bottom";
  124. signal: "e,action,orient,bottom";
  125. source: "e";
  126. action: STATE_SET "default" 0.0;
  127. target: "e.box";
  128. }
  129. program {
  130. name: "e,action,orient,corner_tl";
  131. signal: "e,action,orient,corner_tl";
  132. source: "e";
  133. action: STATE_SET "default" 0.0;
  134. target: "e.box";
  135. }
  136. program {
  137. name: "e,action,orient,corner_tr";
  138. signal: "e,action,orient,corner_tr";
  139. source: "e";
  140. action: STATE_SET "default" 0.0;
  141. target: "e.box";
  142. }
  143. program {
  144. name: "e,action,orient,corner_bl";
  145. signal: "e,action,orient,corner_bl";
  146. source: "e";
  147. action: STATE_SET "default" 0.0;
  148. target: "e.box";
  149. }
  150. program {
  151. name: "e,action,orient,corner_br";
  152. signal: "e,action,orient,corner_br";
  153. source: "e";
  154. action: STATE_SET "default" 0.0;
  155. target: "e.box";
  156. }
  157. program {
  158. name: "e,action,orient,corner_lt";
  159. signal: "e,action,orient,corner_lt";
  160. source: "e";
  161. action: STATE_SET "vertical" 0.0;
  162. target: "e.box";
  163. }
  164. program {
  165. name: "e,action,orient,corner_rt";
  166. signal: "e,action,orient,corner_rt";
  167. source: "e";
  168. action: STATE_SET "vertical" 0.0;
  169. target: "e.box";
  170. }
  171. program {
  172. name: "e,action,orient,corner_lb";
  173. signal: "e,action,orient,corner_lb";
  174. source: "e";
  175. action: STATE_SET "vertical" 0.0;
  176. target: "e.box";
  177. }
  178. program {
  179. name: "e,action,orient,corner_rb";
  180. signal: "e,action,orient,corner_rb";
  181. source: "e";
  182. action: STATE_SET "vertical" 0.0;
  183. target: "e.box";
  184. }
  185. }
  186. }
  187. }
  188. group {
  189. name: "e/modules/systray/main/alternate";
  190. data {
  191. item: "inset" "255 255 255";
  192. item: "plain" "255 255 255";
  193. item: "default" "255 255 255";
  194. }
  195. images.image: "systray_rounded_corners.png" COMP;
  196. parts {
  197. part {
  198. name: "base";
  199. type: RECT;
  200. description {
  201. state: "default" 0.0;
  202. color: 0 0 0 0;
  203. }
  204. }
  205. part {
  206. name: "rounded_corners";
  207. type: IMAGE;
  208. mouse_events: 0;
  209. description {
  210. state: "default" 0.0;
  211. rel1 {
  212. relative: 0.0 0.0;
  213. offset: -3 -3;
  214. to: "e.size";
  215. }
  216. rel2 {
  217. relative: 1.0 1.0;
  218. offset: 2 2;
  219. to: "e.size";
  220. }
  221. image {
  222. normal: "systray_rounded_corners.png";
  223. border: 3 3 3 3;
  224. middle: SOLID;
  225. }
  226. }
  227. description {
  228. state: "disabled" 0.0;
  229. inherit: "default" 0.0;
  230. color: 255 0 0 128;
  231. }
  232. }
  233. part {
  234. name: "e.size";
  235. type: RECT;
  236. mouse_events: 0;
  237. description {
  238. state: "default" 0.0;
  239. color: 0 0 0 0;
  240. rel1.offset: 4 4;
  241. rel2.offset: -5 -5;
  242. }
  243. }
  244. part {
  245. name: "e.box";
  246. type: BOX;
  247. description {
  248. state: "default" 0.0;
  249. rel1.to: "e.size";
  250. rel2.to: "e.size";
  251. box {
  252. layout: "horizontal";
  253. padding: 2 0;
  254. align: 0.5 0.5;
  255. min: 1 1;
  256. }
  257. }
  258. description {
  259. state: "vertical" 0.0;
  260. rel1.to: "e.size";
  261. rel2.to: "e.size";
  262. box {
  263. layout: "vertical";
  264. padding: 0 2;
  265. align: 0.5 0.5;
  266. min: 1 1;
  267. }
  268. }
  269. }
  270. programs {
  271. program {
  272. name: "e,action,disable";
  273. signal: "e,action,disable";
  274. source: "e";
  275. action: STATE_SET "disabled" 0.0;
  276. target: "rounded_corners";
  277. }
  278. program {
  279. name: "e,action,enable";
  280. signal: "e,action,enable";
  281. source: "e";
  282. action: STATE_SET "default" 0.0;
  283. target: "rounded_corners";
  284. }
  285. program {
  286. name: "e,action,orient,float";
  287. signal: "e,action,orient,float";
  288. source: "e";
  289. action: STATE_SET "default" 0.0;
  290. target: "e.box";
  291. }
  292. program {
  293. name: "e,action,orient,horiz";
  294. signal: "e,action,orient,horiz";
  295. source: "e";
  296. action: STATE_SET "default" 0.0;
  297. target: "e.box";
  298. }
  299. program {
  300. name: "e,action,orient,vert";
  301. signal: "e,action,orient,vert";
  302. source: "e";
  303. action: STATE_SET "vertical" 0.0;
  304. target: "e.box";
  305. }
  306. program {
  307. name: "e,action,orient,left";
  308. signal: "e,action,orient,left";
  309. source: "e";
  310. action: STATE_SET "vertical" 0.0;
  311. target: "e.box";
  312. }
  313. program {
  314. name: "e,action,orient,right";
  315. signal: "e,action,orient,right";
  316. source: "e";
  317. action: STATE_SET "vertical" 0.0;
  318. target: "e.box";
  319. }
  320. program {
  321. name: "e,action,orient,top";
  322. signal: "e,action,orient,top";
  323. source: "e";
  324. action: STATE_SET "default" 0.0;
  325. target: "e.box";
  326. }
  327. program {
  328. name: "e,action,orient,bottom";
  329. signal: "e,action,orient,bottom";
  330. source: "e";
  331. action: STATE_SET "default" 0.0;
  332. target: "e.box";
  333. }
  334. program {
  335. name: "e,action,orient,corner_tl";
  336. signal: "e,action,orient,corner_tl";
  337. source: "e";
  338. action: STATE_SET "default" 0.0;
  339. target: "e.box";
  340. }
  341. program {
  342. name: "e,action,orient,corner_tr";
  343. signal: "e,action,orient,corner_tr";
  344. source: "e";
  345. action: STATE_SET "default" 0.0;
  346. target: "e.box";
  347. }
  348. program {
  349. name: "e,action,orient,corner_bl";
  350. signal: "e,action,orient,corner_bl";
  351. source: "e";
  352. action: STATE_SET "default" 0.0;
  353. target: "e.box";
  354. }
  355. program {
  356. name: "e,action,orient,corner_br";
  357. signal: "e,action,orient,corner_br";
  358. source: "e";
  359. action: STATE_SET "default" 0.0;
  360. target: "e.box";
  361. }
  362. program {
  363. name: "e,action,orient,corner_lt";
  364. signal: "e,action,orient,corner_lt";
  365. source: "e";
  366. action: STATE_SET "default" 0.0;
  367. target: "e.box";
  368. }
  369. program {
  370. name: "e,action,orient,corner_rt";
  371. signal: "e,action,orient,corner_rt";
  372. source: "e";
  373. action: STATE_SET "default" 0.0;
  374. target: "e.box";
  375. }
  376. program {
  377. name: "e,action,orient,corner_lb";
  378. signal: "e,action,orient,corner_lb";
  379. source: "e";
  380. action: STATE_SET "default" 0.0;
  381. target: "e.box";
  382. }
  383. program {
  384. name: "e,action,orient,corner_rb";
  385. signal: "e,action,orient,corner_rb";
  386. source: "e";
  387. action: STATE_SET "default" 0.0;
  388. target: "e.box";
  389. }
  390. }
  391. }
  392. }
  393. group {
  394. name: "e/modules/systray/main/alternate/inset";
  395. data {
  396. item: "inset" "255 255 255";
  397. item: "plain" "255 255 255";
  398. item: "default" "255 255 255";
  399. }
  400. parts {
  401. part {
  402. name: "base";
  403. type: RECT;
  404. description {
  405. state: "default" 0.0;
  406. color: 255 255 255 255;
  407. }
  408. description {
  409. state: "disabled" 0.0;
  410. inherit: "default" 0.0;
  411. color: 255 0 0 128;
  412. }
  413. }
  414. part {
  415. name: "e.size";
  416. type: RECT;
  417. mouse_events: 0;
  418. description {
  419. state: "default" 0.0;
  420. color: 0 0 0 0;
  421. rel1.offset: 6 20;
  422. rel2.offset: -20 -6;
  423. }
  424. }
  425. part {
  426. name: "e.box";
  427. type: BOX;
  428. description {
  429. state: "default" 0.0;
  430. rel1.to: "e.size";
  431. rel2.to: "e.size";
  432. box {
  433. layout: "horizontal";
  434. padding: 2 0;
  435. align: 0.5 0.5;
  436. min: 1 1;
  437. }
  438. }
  439. description {
  440. state: "vertical" 0.0;
  441. rel1.to: "e.size";
  442. rel2.to: "e.size";
  443. box {
  444. layout: "vertical";
  445. padding: 0 2;
  446. align: 0.5 0.5;
  447. min: 1 1;
  448. }
  449. }
  450. }
  451. programs {
  452. program {
  453. name: "e,action,disable";
  454. signal: "e,action,disable";
  455. source: "e";
  456. action: STATE_SET "disabled" 0.0;
  457. target: "base";
  458. }
  459. program {
  460. name: "e,action,enable";
  461. signal: "e,action,enable";
  462. source: "e";
  463. action: STATE_SET "default" 0.0;
  464. target: "base";
  465. }
  466. program {
  467. name: "e,action,orient,float";
  468. signal: "e,action,orient,float";
  469. source: "e";
  470. action: STATE_SET "default" 0.0;
  471. target: "e.box";
  472. }
  473. program {
  474. name: "e,action,orient,horiz";
  475. signal: "e,action,orient,horiz";
  476. source: "e";
  477. action: STATE_SET "default" 0.0;
  478. target: "e.box";
  479. }
  480. program {
  481. name: "e,action,orient,vert";
  482. signal: "e,action,orient,vert";
  483. source: "e";
  484. action: STATE_SET "vertical" 0.0;
  485. target: "e.box";
  486. }
  487. program {
  488. name: "e,action,orient,left";
  489. signal: "e,action,orient,left";
  490. source: "e";
  491. action: STATE_SET "vertical" 0.0;
  492. target: "e.box";
  493. }
  494. program {
  495. name: "e,action,orient,right";
  496. signal: "e,action,orient,right";
  497. source: "e";
  498. action: STATE_SET "vertical" 0.0;
  499. target: "e.box";
  500. }
  501. program {
  502. name: "e,action,orient,top";
  503. signal: "e,action,orient,top";
  504. source: "e";
  505. action: STATE_SET "default" 0.0;
  506. target: "e.box";
  507. }
  508. program {
  509. name: "e,action,orient,bottom";
  510. signal: "e,action,orient,bottom";
  511. source: "e";
  512. action: STATE_SET "default" 0.0;
  513. target: "e.box";
  514. }
  515. program {
  516. name: "e,action,orient,corner_tl";
  517. signal: "e,action,orient,corner_tl";
  518. source: "e";
  519. action: STATE_SET "default" 0.0;
  520. target: "e.box";
  521. }
  522. program {
  523. name: "e,action,orient,corner_tr";
  524. signal: "e,action,orient,corner_tr";
  525. source: "e";
  526. action: STATE_SET "default" 0.0;
  527. target: "e.box";
  528. }
  529. program {
  530. name: "e,action,orient,corner_bl";
  531. signal: "e,action,orient,corner_bl";
  532. source: "e";
  533. action: STATE_SET "default" 0.0;
  534. target: "e.box";
  535. }
  536. program {
  537. name: "e,action,orient,corner_br";
  538. signal: "e,action,orient,corner_br";
  539. source: "e";
  540. action: STATE_SET "default" 0.0;
  541. target: "e.box";
  542. }
  543. program {
  544. name: "e,action,orient,corner_lt";
  545. signal: "e,action,orient,corner_lt";
  546. source: "e";
  547. action: STATE_SET "default" 0.0;
  548. target: "e.box";
  549. }
  550. program {
  551. name: "e,action,orient,corner_rt";
  552. signal: "e,action,orient,corner_rt";
  553. source: "e";
  554. action: STATE_SET "default" 0.0;
  555. target: "e.box";
  556. }
  557. program {
  558. name: "e,action,orient,corner_lb";
  559. signal: "e,action,orient,corner_lb";
  560. source: "e";
  561. action: STATE_SET "default" 0.0;
  562. target: "e.box";
  563. }
  564. program {
  565. name: "e,action,orient,corner_rb";
  566. signal: "e,action,orient,corner_rb";
  567. source: "e";
  568. action: STATE_SET "default" 0.0;
  569. target: "e.box";
  570. }
  571. }
  572. }
  573. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement