Advertisement
Guest User

travis

a guest
Dec 2nd, 2008
800
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.16 KB | None | 0 0
  1. # Mod1 = left-alt
  2. # Mod2 = enter
  3. # Mod3 = right-alt
  4. # Mod4 = winkey
  5.  
  6. screen 0
  7. {
  8. titlebar {
  9. position = "top"
  10. text_align = "right"
  11. styles { normal { shadow = "#e3e3e3" shadow_offset = "0" bg = '#262729' fg = '#262729' } focus { shadow = "#111111" shadow_offset = "0" bg = '#262729' fg = '#ffffff' } }
  12. height = "11"
  13. }
  14. styles
  15. {
  16. normal
  17. {
  18. font = "sans 8"
  19. fg = "#FFFFFF"
  20. bg = "#000000"
  21. border = "#555555"
  22. }
  23. focus
  24. {
  25. fg = "#000000"
  26. bg = "#535d6c"
  27. border = "#FFFF00"
  28. }
  29. urgent
  30. {
  31. fg = "#111111"
  32. bg = "#ff4500"
  33. }
  34. }
  35. tags
  36. {
  37. tag "dev1" {
  38. layout = "tile"
  39. mwfact = 0.500000
  40. nmaster = 1
  41. ncol = 1
  42. }
  43. tag "dev2" {
  44. layout = "tile"
  45. mwfact = 0.500000
  46. nmaster = 1
  47. ncol = 1
  48. }
  49. tag "dev3" {
  50. layout = "tile"
  51. mwfact = 0.500000
  52. nmaster = 1
  53. ncol = 1
  54. }
  55. tag "dev4" {
  56. layout = "tile"
  57. mwfact = 0.500000
  58. nmaster = 1
  59. ncol = 1
  60. }
  61. }
  62.  
  63. layouts
  64. {
  65. layout tile { image = "/usr/local/share/awesome/icons/layouts/tilew.png" }
  66. layout tileleft { image = "/usr/local/share/awesome/icons/layouts/tileleftw.png" }
  67. layout tilebottom { image = "/usr/local/share/awesome/icons/layouts/tilebottomw.png" }
  68. layout tiletop { image = "/usr/local/share/awesome/icons/layouts/tiletopw.png" }
  69. layout max { image = "/usr/local/share/awesome/icons/layouts/maxw.png" }
  70. layout spiral { image = "/usr/local/share/awesome/icons/layouts/spiralw.png" }
  71. layout dwindle { image = "/usr/local/share/awesome/icons/layouts/dwindlew.png" }
  72. layout floating { image = "/usr/local/share/awesome/icons/layouts/floatingw.png" }
  73. }
  74. statusbar mystatusbar
  75. {
  76. position = "top"
  77.  
  78. taglist mytaglist
  79. {
  80. mouse
  81. {
  82. button = "1"
  83. command = "tag_view"
  84. }
  85. mouse
  86. {
  87. button = "1"
  88. modkey = {"Mod4"}
  89. command = "client_tag"
  90. }
  91. mouse
  92. {
  93. button = "3"
  94. command = "tag_toggleview"
  95. }
  96. mouse
  97. {
  98. button = "3"
  99. modkey = {"Mod4"}
  100. command = "client_toggletag"
  101. }
  102. mouse
  103. {
  104. button = "4"
  105. command = "tag_viewnext"
  106. }
  107. mouse
  108. {
  109. button = "5"
  110. command = "tag_viewprev"
  111. }
  112. }
  113. layoutinfo mylayoutinfo
  114. {
  115. mouse
  116. {
  117. button = "1"
  118. command = "tag_setlayout"
  119. arg = "+1"
  120. }
  121. mouse
  122. {
  123. button = "4"
  124. command = "tag_setlayout"
  125. arg = "+1"
  126. }
  127. mouse
  128. {
  129. button = "3"
  130. command = "tag_setlayout"
  131. arg = "-1"
  132. }
  133. mouse
  134. {
  135. button = "5"
  136. command = "tag_setlayout"
  137. arg = "-1"
  138. }
  139. }
  140. iconbox logo
  141. {
  142. image = "/usr/local/share/awesome/icons/awesome16.png"
  143. mouse
  144. {
  145. button = "1"
  146. command = "spawn"
  147. arg = "exec xterm -e man awesome"
  148. }
  149. }
  150. textbox mem
  151. {
  152. text = "-"
  153. align = "right"
  154. }
  155. textbox cpu
  156. {
  157. text = "-"
  158. align = "right"
  159. }
  160. textbox users
  161. {
  162. text = "-"
  163. align = "right"
  164. }
  165. textbox streams
  166. {
  167. text = "-"
  168. align = "right"
  169. }
  170.  
  171. textbox clock
  172. {
  173. text = "-"
  174. align = "right"
  175. }
  176. }
  177. }
  178.  
  179. screen 1
  180. {
  181. titlebar {
  182. position = "top"
  183. text_align = "right"
  184. styles { normal { shadow = "#e3e3e3" shadow_offset = "1" bg = '#262729' fg = '#262729' } focus { shadow = "#111111" shadow_offset = "1" bg = '#262729' fg = '#ffffff' } }
  185. height = "11"
  186. }
  187.  
  188. styles
  189. {
  190. normal
  191. {
  192. font = "sans 8"
  193. fg = "#dddddd"
  194. bg = "#444444"
  195. border = "#555555"
  196. }
  197. focus
  198. {
  199. fg = "#000000"
  200. bg = "#535d6c"
  201. border = "#FFFF00"
  202. }
  203. urgent
  204. {
  205. fg = "#111111"
  206. bg = "#ff4500"
  207. }
  208. }
  209. tags
  210. {
  211. tag "gvim" {
  212. layout = "tile"
  213. mwfact = 0.500000
  214. nmaster = 1
  215. ncol = 1
  216. }
  217. tag "firefox" {
  218. layout = "float"
  219. mwfact = 0.500000
  220. nmaster = 1
  221. ncol = 1
  222. }
  223. tag "thunderbird" {
  224. layout = "tile"
  225. mwfact = 0.500000
  226. nmaster = 1
  227. ncol = 1
  228. }
  229. tag "pidgin" {
  230. layout = "float"
  231. mwfact = 0.500000
  232. nmaster = 1
  233. ncol = 1
  234. }
  235. tag "amarok" {
  236. layout = "float"
  237. mwfact = 0.500000
  238. nmaster = 1
  239. ncol = 1
  240. }
  241.  
  242. }
  243.  
  244. layouts
  245. {
  246. layout tile { image = "/usr/local/share/awesome/icons/layouts/tilew.png" }
  247. layout tileleft { image = "/usr/local/share/awesome/icons/layouts/tileleftw.png" }
  248. layout tilebottom { image = "/usr/local/share/awesome/icons/layouts/tilebottomw.png" }
  249. layout tiletop { image = "/usr/local/share/awesome/icons/layouts/tiletopw.png" }
  250. layout max { image = "/usr/local/share/awesome/icons/layouts/maxw.png" }
  251. layout spiral { image = "/usr/local/share/awesome/icons/layouts/spiralw.png" }
  252. layout dwindle { image = "/usr/local/share/awesome/icons/layouts/dwindlew.png" }
  253. layout floating { image = "/usr/local/share/awesome/icons/layouts/floatingw.png" }
  254. }
  255. statusbar mystatusbar
  256. {
  257. position = "top"
  258.  
  259. taglist mytaglist
  260. {
  261. mouse
  262. {
  263. button = "1"
  264. command = "tag_view"
  265. }
  266. mouse
  267. {
  268. button = "1"
  269. modkey = {"Mod4"}
  270. command = "client_tag"
  271. }
  272. mouse
  273. {
  274. button = "3"
  275. command = "tag_toggleview"
  276. }
  277. mouse
  278. {
  279. button = "3"
  280. modkey = {"Mod4"}
  281. command = "client_toggletag"
  282. }
  283. mouse
  284. {
  285. button = "4"
  286. command = "tag_viewnext"
  287. }
  288. mouse
  289. {
  290. button = "5"
  291. command = "tag_viewprev"
  292. }
  293. }
  294. layoutinfo mylayoutinfo
  295. {
  296. mouse
  297. {
  298. button = "1"
  299. command = "tag_setlayout"
  300. arg = "+1"
  301. }
  302. mouse
  303. {
  304. button = "4"
  305. command = "tag_setlayout"
  306. arg = "+1"
  307. }
  308. mouse
  309. {
  310. button = "3"
  311. command = "tag_setlayout"
  312. arg = "-1"
  313. }
  314. mouse
  315. {
  316. button = "5"
  317. command = "tag_setlayout"
  318. arg = "-1"
  319. }
  320. }
  321. iconbox logo
  322. {
  323. image = "/usr/local/share/awesome/icons/awesome16.png"
  324. mouse
  325. {
  326. button = "1"
  327. command = "spawn"
  328. arg = "exec xterm -e man awesome"
  329. }
  330. }
  331. }
  332. }
  333.  
  334. rules
  335. {
  336. rule
  337. {
  338. name = "Firefox"
  339. tags = "firefox"
  340. float = "true"
  341. screen = "1"
  342. }
  343.  
  344. rule
  345. {
  346. name = "gvim"
  347. tags = "gvim"
  348. float = "false"
  349. screen = "1"
  350. }
  351.  
  352. rule
  353. {
  354. name = "pidgin"
  355. tags = "pidgin"
  356. float = "true"
  357. screen = "1"
  358. }
  359. }
  360.  
  361. mouse
  362. {
  363. root
  364. {
  365. button = "3"
  366. command = "spawn"
  367. arg = "exec xterm"
  368. }
  369. root
  370. {
  371. button = "4"
  372. command = "tag_viewnext"
  373. }
  374. root
  375. {
  376. button = "5"
  377. command = "tag_viewprev"
  378. }
  379. client
  380. {
  381. modkey = {"Mod4"}
  382. button = "1"
  383. command = "client_movemouse"
  384. }
  385. client
  386. {
  387. modkey = {"Mod4"}
  388. button = "2"
  389. command = "client_zoom"
  390. }
  391. client
  392. {
  393. modkey = {"Mod4"}
  394. button = "3"
  395. command = "client_resizemouse"
  396. }
  397. titlebar
  398. {
  399. button = "1"
  400. command = "client_movemouse"
  401. }
  402. titlebar
  403. {
  404. button = "3"
  405. command = "client_resizemouse"
  406. }
  407. }
  408.  
  409. keys
  410. {
  411. key
  412. {
  413. modkey = {"Mod4"}
  414. key = "g"
  415. command = "spawn"
  416. arg = "exec gvim"
  417. }
  418. key
  419. {
  420. modkey = {"Mod4"}
  421. key = "F1"
  422. command = "spawn"
  423. arg = "exec xterm -e man `for i in /usr/share/man/man?;do ls $i; done | cut -d. -f1 | awesome-menu 'See manual page for:'`"
  424. }
  425. key
  426. {
  427. modkey = {"Mod4"}
  428. key = "F2"
  429. command = "spawn"
  430. arg = "exec find /usr/bin -type f -executable ! -empty | sed 's,.*/,,' | awesome-menu -e 'exec ' Execute:"
  431. }
  432. key
  433. {
  434. modkey = {"Mod4"}
  435. key = "F3"
  436. command = "spawn"
  437. arg = "exec xterm -e ssh `cut -d' ' -f1 ~/.ssh/known_hosts | cut -d, -f1 | awesome-menu 'ssh to:'`"
  438. }
  439. key
  440. {
  441. modkey = {"Mod4"}
  442. key = "Return"
  443. command = "spawn"
  444. arg = "exec gnome-terminal"
  445. }
  446. key
  447. {
  448. modkey = {"Mod4"}
  449. key = "space"
  450. command = "tag_setlayout"
  451. arg = "+1"
  452. }
  453. key
  454. {
  455. modkey = {"Mod4", "Shift"}
  456. key = "space"
  457. command = "tag_setlayout"
  458. arg = "-1"
  459. }
  460. key
  461. {
  462. modkey = {"Mod4"}
  463. key = "b"
  464. command = "statusbar_toggle"
  465. }
  466. key
  467. {
  468. modkey = {"Mod4"}
  469. key = "j"
  470. command = "client_focusnext"
  471. }
  472. key
  473. {
  474. modkey = {"Mod4"}
  475. key = "k"
  476. command = "client_focusprev"
  477. }
  478. key
  479. {
  480. modkey = {"Mod4"}
  481. key = "Tab"
  482. command = "focus_history"
  483. arg = "-1"
  484. }
  485. key
  486. {
  487. modkey = {"Mod4", "Shift"}
  488. key = "j"
  489. command = "client_swapnext"
  490. }
  491. key
  492. {
  493. modkey = {"Mod4", "Shift"}
  494. key = "k"
  495. command = "client_swapprev"
  496. }
  497. key
  498. {
  499. modkey = {"Mod4", "Control"}
  500. key = "j"
  501. command = "screen_focus"
  502. arg = "+1"
  503. }
  504. key
  505. {
  506. modkey = {"Mod4", "Control"}
  507. key = "k"
  508. command = "screen_focus"
  509. arg = "-1"
  510. }
  511. key
  512. {
  513. modkey = {"Mod1", "Mod4"}
  514. key = "j"
  515. command = "client_movetoscreen"
  516. arg = "+1"
  517. }
  518. key
  519. {
  520. modkey = {"Mod1", "Mod4"}
  521. key = "k"
  522. command = "client_movetoscreen"
  523. arg = "-1"
  524. }
  525.  
  526. key
  527. {
  528. modkey = {"Mod4"}
  529. key = "h"
  530. command = "tag_setmwfact"
  531. arg = "-0.05"
  532. }
  533. key
  534. {
  535. modkey = {"Mod4"}
  536. key = "l"
  537. command = "tag_setmwfact"
  538. arg = "+0.05"
  539. }
  540. key
  541. {
  542. modkey = {"Mod4", "Shift"}
  543. key = "y"
  544. command = "tag_setnmaster"
  545. arg = "+1"
  546. }
  547. key
  548. {
  549. modkey = {"Mod4", "Shift"}
  550. key = "o"
  551. command = "tag_setnmaster"
  552. arg = "-1"
  553. }
  554. key
  555. {
  556. modkey = {"Mod4", "Shift"}
  557. key = "h"
  558. command = "tag_setncol"
  559. arg = "+1"
  560. }
  561. key
  562. {
  563. modkey = {"Mod4", "Shift"}
  564. key = "l"
  565. command = "tag_setncol"
  566. arg = "-1"
  567. }
  568. key
  569. {
  570. modkey = {"Mod4"}
  571. key = "Escape"
  572. command = "tag_prev_selected"
  573. }
  574. key
  575. {
  576. modkey = {"Mod4"}
  577. key = "Left"
  578. command = "tag_viewprev"
  579. }
  580. key
  581. {
  582. modkey = {"Mod4"}
  583. key = "Right"
  584. command = "tag_viewnext"
  585. }
  586. key
  587. {
  588. modkey = {"Mod4", "Control"}
  589. key = "h"
  590. command = "tag_viewprev"
  591. }
  592. key
  593. {
  594. modkey = {"Mod4", "Control"}
  595. key = "l"
  596. command = "tag_viewnext"
  597. }
  598. key
  599. {
  600. modkey = {"Mod4"}
  601. key = "m"
  602. command = "client_togglemax"
  603. }
  604. key
  605. {
  606. modkey = {"Mod4", "Control"}
  607. key = "Return"
  608. command = "client_zoom"
  609. }
  610. key
  611. {
  612. modkey = {"Mod4", "Control"}
  613. key = "space"
  614. command = "client_togglefloating"
  615. }
  616. key
  617. {
  618. modkey = {"Mod4"}
  619. key = "s"
  620. command = "client_togglescratch"
  621. }
  622. key
  623. {
  624. modkey = {"Mod4", "Control"}
  625. key = "s"
  626. command = "client_setscratch"
  627. }
  628. key
  629. {
  630. modkey = {"Mod4"}
  631. key = "c"
  632. command = "client_kill"
  633. }
  634. key
  635. {
  636. modkey = {"Mod4", "Shift"}
  637. key = "q"
  638. command = "quit"
  639. }
  640. key
  641. {
  642. modkey = {"Mod4", "Control"}
  643. key = "r"
  644. command = "restart"
  645. }
  646. key
  647. {
  648. modkey = {"Mod4"}
  649. key = "0"
  650. command = "tag_view"
  651. }
  652. keylist
  653. {
  654. modkey = {"Mod4"}
  655. command = "tag_view"
  656. keylist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  657. arglist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  658. }
  659. key
  660. {
  661. modkey = {"Mod4", "Control"}
  662. key = "0"
  663. command = "tag_toggleview"
  664. }
  665. keylist
  666. {
  667. modkey = {"Mod4", "Control"}
  668. command = "tag_toggleview"
  669. keylist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  670. arglist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  671. }
  672.  
  673. key
  674. {
  675. modkey = {"Mod4", "Shift"}
  676. key = "0"
  677. command = "client_tag"
  678. }
  679. keylist
  680. {
  681. modkey = {"Mod4", "Shift"}
  682. command = "client_tag"
  683. keylist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  684. arglist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  685. }
  686.  
  687. key
  688. {
  689. modkey = {"Mod4", "Shift", "Control"}
  690. key = "0"
  691. command = "client_toggletag"
  692. }
  693. keylist
  694. {
  695. modkey = {"Mod4", "Shift", "Control"}
  696. command = "client_toggletag"
  697. keylist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  698. arglist = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  699. }
  700. }
  701. # vim: filetype=conf
  702.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement