Guest User

Untitled

a guest
Feb 21st, 2026
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.37 KB | None | 0 0
  1. EwmhBaseStruts 0 0 0 0
  2.  
  3. ImagePath /usr/share/icons/icons:/usr/share/icons:$[HOME]/pic/fvwm_icons:/tmp/cover:/usr/pkg/include/X11/pixmaps:$[HOME]/.cwm_themes
  4.  
  5. DesktopSize 1x1
  6. EdgeThickness 0
  7. XorValue 888
  8. IgnoreModifiers L25
  9.  
  10. SetEnv BGNORM "#181818"
  11. SetEnv BGACT "#303030"
  12. SetEnv BGINS "#181818"
  13. SetEnv BGSEL "#303030"
  14. SetEnv FGNORM "#c0c0c0"
  15. SetEnv FGACT "#c0c0c0"
  16. SetEnv FGINS "#909090"
  17. SetEnv FGSEL "#c0c0c0"
  18. PipeRead "echo SetEnv SHAD \"`test \"$[BGNORM]\" = \"\#000000\" && echo \"\#181818\" || echo \"\#000000\"`\""
  19.  
  20. SetEnv FREETYPE_PROPERTIES "truetype:interpreter-version=40"
  21.  
  22. SetEnv LineHeight 24
  23. SetEnv DPI 144
  24. PipeRead "echo SetEnv LINEH `echo \'$[LineHeight] * $[DPI] / 144 \'|bc`"
  25. PipeRead "echo SetEnv LINEW `echo \'27 * $[DPI] / 144 \'|bc`"
  26. PipeRead "echo SetEnv LINE4W `echo \'4 * 27 * $[DPI] / 144 \'|bc`"
  27.  
  28. SetEnv RunTerm "mlterm"
  29.  
  30. CleanupColorsets
  31. Colorset 0 fg "$[FGNORM]", bg "$[BGNORM]", hi "#484848", fgsh "$[SHAD]", sh "$[SHAD]"
  32. Colorset 1 fg "$[FGSEL]", bg "$[BGSEL]", hi "#787878", fgsh "$[SHAD]", sh "$[SHAD]"
  33. Colorset 2 fg "$[FGINS]", bg "$[BGINS]", hi "#484848", fgsh "$[SHAD]", sh "$[SHAD]"
  34. Colorset 3 fg "$[FGNORM]", bg "$[BGNORM]", hi "#484848", fgsh "$[SHAD]", sh "$[SHAD]"
  35. #Colorset 0 fg "$[FGNORM]", bg "$[BGNORM]", hi "#484848", fgsh "$[SHAD]", sh "$[SHAD]", TiledPixmap marb_newgray_bg.xpm
  36. #Colorset 1 fg "$[FGSEL]", bg "$[BGSEL]", hi "#787878", fgsh "$[SHAD]", sh "$[SHAD]", TiledPixmap marb_new_hi.xpm
  37. #Colorset 2 fg "$[FGINS]", bg "$[BGINS]", hi "#484848", fgsh "$[SHAD]", sh "$[SHAD]", TiledPixmap marb_newgray_bg.xpm
  38. #Colorset 3 fg "$[FGNORM]", bg "$[BGNORM]", hi "#484848", fgsh "$[SHAD]", sh "$[SHAD]", TiledPixmap marb_newgray_bg.xpm
  39. #Colorset 4 fg "$[FGNORM]", bg "#603030", hi "#484848", fgsh "$[SHAD]", sh "$[SHAD]"
  40. #Colorset 5 fg "$[FGNORM]", bg "#304860", hi "#484848", fgsh "$[SHAD]", sh "$[SHAD]"
  41. #Colorset 4 fg "#c0c0c0", bg "#484848", hi "#787878", fgsh "#303030", sh "#181818"
  42. #Colorset 5 fg "#909090", bg "$[BGNORM]", hi "#606060", fgsh "#181818", sh "#181818"
  43. #Colorset 6 fg "#c0c0c0", bg "$[BGNORM]", hi "#606060", fgsh "#181818", sh "#181818"
  44. #Colorset 7 fg "#c0c0c0", bg "#484848", hi "#787878", fgsh "#303030", sh "#181818"
  45. #Colorset 8 fg "#909090", bg "$[BGNORM]", hi "#606060", fgsh "#181818", sh "#181818"
  46. #Colorset 9 fg "#c0c0c0", bg "$[BGNORM]", hi "#606060", fgsh "#181818", sh "#181818"
  47. #Colorset 10 fg "$[FGACT]", bg "$[BGACT]"
  48. #Colorset 11 fg "$[FGACT]", bg "$[BGACT]"
  49. #Colorset 10 fg "$[FGNORM]", bg "$[BGNORM]"
  50. #Colorset 11 fg "$[BGNORM]", bg "$[FGINS]"
  51. #Colorset 10 fg "$[FGNORM]", bg "$[BGACT]"
  52. #Colorset 11 fg "$[BGNORM]", bg "$[FGINS]"
  53. Colorset 10 fg "$[FGNORM]", bg "#484848"
  54. Colorset 11 fg "$[BGNORM]", bg "#606060"
  55. Colorset 12 fg "$[FGSEL]", bg "$[BGSEL]", hi "#606060", sh "$[SHAD]"
  56. Colorset 13 fg $[fg.cs2], bg $[bg.cs2], hi $[hilight.cs2], sh $[shadow.cs2], VGradient 48 5 $[bg.cs2] 1 $[hilight.cs2] 1 $[bg.cs2] 8 $[bg.cs2] 1 $[hilight.cs2] 1 $[bg.cs2]
  57. Colorset 14 fg $[fg.cs1], bg $[bg.cs1], hi $[hilight.cs12], sh $[shadow.cs12], VGradient 48 5 $[bg.cs12] 1 $[hilight.cs12] 1 $[bg.cs12] 8 $[bg.cs12] 1 $[hilight.cs12] 1 $[bg.cs12]
  58. Colorset 15 fg $[fg.cs0], bg $[bg.cs0], hi $[hilight.cs0], sh $[shadow.cs0], VGradient 48 5 $[bg.cs0] 1 $[hilight.cs0] 1 $[bg.cs0] 8 $[bg.cs0] 1 $[hilight.cs0] 1 $[bg.cs0]
  59. Colorset 13 fg $[fg.cs2], bg $[bg.cs2], hi $[hilight.cs2], sh $[shadow.cs2], VGradient 48 3 $[hilight.cs2] 1 $[bg.cs2] 4 $[bg.cs2] 1 $[hilight.cs2]
  60. Colorset 14 fg $[fg.cs12], bg $[bg.cs12], hi $[hilight.cs12], sh $[shadow.cs12], VGradient 48 3 $[hilight.cs12] 1 $[bg.cs12] 4 $[bg.cs12] 1 $[hilight.cs12]
  61. Colorset 15 fg $[fg.cs0], bg $[bg.cs0], hi $[hilight.cs0], sh $[shadow.cs0], VGradient 48 3 $[hilight.cs0] 1 $[bg.cs0] 4 $[bg.cs0] 1 $[hilight.cs0]
  62. Colorset 13 fg $[fg.cs2], bg $[bg.cs2], hi $[hilight.cs2], sh $[shadow.cs2], HGradient 96 2 $[shadow.cs0] 1 $[shadow.cs0] 7 $[bg.cs0]
  63. Colorset 14 fg $[fg.cs12], bg $[bg.cs12], hi $[hilight.cs12], sh $[shadow.cs12], HGradient 96 2 $[bg.cs12] 1 $[bg.cs12] 7 $[bg.cs0]
  64. Colorset 15 fg $[fg.cs0], bg $[bg.cs0], hi $[hilight.cs0], sh $[shadow.cs0], HGradient 96 2 $[shadow.cs0] 1 $[shadow.cs0] 7 $[bg.cs0]
  65. #Colorset 13 fg $[fg.cs2], bg $[bg.cs2], hi $[hilight.cs2], sh $[shadow.cs2], VGradient 48 3 $[hilight.cs2] 1 $[bg.cs2] 2 $[bg.cs2] 1 $[shadow.cs2]
  66. #Colorset 14 fg $[fg.cs12], bg $[bg.cs12], hi $[hilight.cs12], sh $[shadow.cs12], VGradient 48 3 $[hilight.cs12] 1 $[bg.cs12] 2 $[bg.cs12] 1 $[shadow.cs12]
  67. #Colorset 15 fg $[fg.cs0], bg $[bg.cs0], hi $[hilight.cs0], sh $[shadow.cs0], VGradient 48 3 $[hilight.cs0] 1 $[bg.cs0] 2 $[bg.cs0] 1 $[shadow.cs0]
  68. #Colorset 13 fg $[fg.cs2], bg $[bg.cs2], hi $[hilight.cs2], sh $[shadow.cs2], TiledPixmap marb_newgray_bg.xpm
  69. #Colorset 14 fg $[fg.cs12], bg $[bg.cs12], hi $[hilight.cs12], sh $[shadow.cs12], TiledPixmap marb_new_hi.xpm
  70. #Colorset 15 fg $[fg.cs0], bg $[bg.cs0], hi $[hilight.cs0], sh $[shadow.cs0], TiledPixmap marb_newgray_bg.xpm
  71. Colorset 16 fg $[fg.cs2], bg $[bg.cs2], hi $[hilight.cs2], sh $[shadow.cs2], CGradient 48 2 $[bg.cs2] 1 $[bg.cs2] 2 $[hilight.cs2]
  72. Colorset 17 fg $[fg.cs12], bg $[bg.cs12], hi $[hilight.cs12], sh $[shadow.cs12], CGradient 48 2 $[bg.cs12] 1 $[bg.cs12] 2 $[hilight.cs12]
  73.  
  74. Style * FvwmBorder
  75.  
  76. BorderStyle Inactive --
  77. BorderStyle Active --
  78.  
  79. BorderStyle Simple
  80.  
  81. Style * BorderWidth 2, HandleWidth 2, HilightBorderColorset 11, BorderColorset 10, Colorset 12, HilightColorset 1
  82. BorderStyle -- Flat
  83.  
  84. #Style * BorderWidth 6, HandleWidth 6, HilightBorderColorset 12, BorderColorset 0, Colorset 2, HilightColorset 12
  85. #Style * BorderWidth 8, HandleWidth 8, HilightBorderColorset 12, BorderColorset 0, Colorset 2, HilightColorset 12
  86.  
  87. #Style * BorderWidth 6, HandleWidth 6, HilightBorderColorset 1, BorderColorset 2, Colorset 2, HilightColorset 1
  88. #Style * BorderWidth 8, HandleWidth 8, HilightBorderColorset 1, BorderColorset 2, Colorset 2, HilightColorset 1
  89.  
  90. #Style * MwmBorder, BorderWidth 4, HandleWidth 4, HilightBorderColorset 12, BorderColorset 0
  91. #BorderStyle -- HiddenHandles NoInset
  92.  
  93. #Style * !Title
  94. #Style * TitleAtRight
  95. #Style * TitleAtLeft
  96. Style * !Button 1
  97. Style * !Button 2
  98. Style * !Button 3
  99. Style * !Button 4
  100. Style * !Button 5
  101. Style * !Button 6
  102. Style * !Button 7
  103. Style * !Button 8
  104. Style * !Button 0
  105. #Style * Button 1, Button 4, Button 6
  106. #Style * Button 1, Button 2, Button 4, Button 6
  107. #Style * Button 3, Button 2, Button 4, Button 6
  108. #Style * Button 2, Button 4, Button 6
  109. Style * !Icon
  110. #Style * !IconTitle
  111.  
  112. Style * DecorateTransient
  113. BusyCursor DynamicMenu False, ModuleSynchronous False, Read False, Wait False
  114. ColormapFocus FollowsFocus
  115. Style * SloppyFocus
  116. Style * ParentalRelativity
  117. Style * PositionPlacement UnderMouse
  118. OpaqueMoveSize unlimited
  119. Style * ResizeHintOverride
  120. #Style URxvt* ResizeHintOverride
  121. Style * ResizeOpaque
  122. Style Fvwm* !Title, !Handles, !Borders, NeverFocus, WindowListSkip, FixedPosition, FixedSize, !Iconifiable
  123. Style * Lenience
  124. MenuStyle * MenuColorset 0, ActiveColorset 14, GreyedColorset 2, TitleColorset 2, HilightTitleBack, HilightBack, Hilight3DThickness 0, BorderWidth 0, TrianglesSolid, TrianglesUseFore
  125. Style * PositionPlacement UnderMouse
  126. Style FvwmConsole* SloppyFocus, !Title, Borders, Handles, VariableSize, VariablePosition, StaysOnTop
  127. Style * IconTitleRelief 0, IconTitleColorset 13, HilightIconTitleColorset 14
  128. Style * IconBackgroundRelief 0, IconBackgroundColorset 13
  129. Style * IconSize 64 64
  130. #Style * IconSize 108 108
  131. Style * IconFont "xft:mono:size=9:lang=ru"
  132. #Style * IconBox 960x1032+0-0, IconGrid 2 2, IconFill bottom left
  133. Style * IconBox 1920x320+0-0, IconGrid 2 2, IconFill left bottom
  134. #Style * IconBox 108x1080-0+0, IconGrid 2 2, IconFill right top
  135. Style *Audacious* !Borders, !Title
  136. Style *Qmmp* !Borders, !Title
  137. Style *XXkb* !Borders, !Handles, !Title, Sticky, FixedPosition, FixedSize, !Iconifiable, StaysOnTop, NeverFocus, WindowListSkip
  138. #Style *XXkb* StaysPut
  139. Style *Wine* !Lenience
  140.  
  141. Style * Font "xft:sans:size=9:lang=ru"
  142. #Style * Font "xft:mono:size=9:lang=ru"
  143.  
  144. #TitleStyle Centered Height 24 -- Flat
  145. TitleStyle LeftJustified Height 24 -- Flat
  146. #TitleStyle Centered Height 24
  147. #TitleStyle LeftJustified Height 24
  148.  
  149. #PipeRead "echo \"TitleStyle Centered Height $[LINEH] -- Flat\""
  150. PipeRead "echo \"TitleStyle LeftJustified Height $[LINEH] -- Flat\""
  151. #PipeRead "echo \"TitleStyle Centered Height $[LINEH]\""
  152. #PipeRead "echo \"TitleStyle LeftJustified Height $[LINEH]\""
  153.  
  154. Style * TitleFormat %i
  155. Style * Colorset 13, HilightColorset 14
  156. AddTitleStyle AllActive Colorset 14
  157. AddTitleStyle AllInactive Colorset 13
  158.  
  159. DefaultColorset 0
  160. DefaultFont "xft:mono:size=9:lang=ru"
  161. DefaultIcon rterm2.xpm
  162.  
  163. Style URxvt* MiniIcon mini.xterm.xpm
  164. Style XTerm* MiniIcon mini.xterm.xpm
  165. Style Xephyr* MiniIcon mini.x.xpm
  166.  
  167. Style FvwmButtons* !Borders, Sticky, !Iconifiable, FixedPosition, FixedSize, NeverFocus, StaysOnTop
  168. #Style FvwmButtons* StaysPut
  169. #Style FvwmButtonsClock* StaysOnTop
  170. #Style FvwmButtonsInfo* StaysOnBottom
  171.  
  172. *FvwmButtonsClock: Colorset 3
  173. PipeRead "echo \"*FvwmButtonsClock: ButtonGeometry $[LINEW]x$[LINEH]-0-0\""
  174. *FvwmButtonsClock: Columns 4
  175. *FvwmButtonsClock: Frame 0
  176. *FvwmButtonsClock: Padding 0
  177. *FvwmButtonsClock: Font "xft:sans:size=9:lang=ru"
  178. *FvwmButtonsClock: (4x1,Padding 0,Title (Center) " ",Id BatSnd,Action (Mouse 2) "MyInfo Exec amixer sset Master toggle",Action (Mouse 1) "MyInfo Exec amixer sset Master 5%-",Action (Mouse 3) "MyInfo Exec amixer sset Master 5%+",Action (Mouse 5) "MyInfo Exec amixer sset Master 5%-",Action (Mouse 4) "MyInfo Exec amixer sset Master 5%+")
  179. *FvwmButtonsClock: (4x1,Padding 0,Title (Center) " ",Id TimeLong2,Action "MyClockAction")
  180. *FvwmButtonsClock: (4x1,Padding 0,Title (Center) " ",Id TimeLong1,Action "MyClockAction")
  181.  
  182. *FvwmButtonsInfo: Colorset 3
  183. PipeRead "echo \"*FvwmButtonsInfo: ButtonGeometry $[LINEW]x$[LINEH]-0-0\""
  184. *FvwmButtonsInfo: Rows 1
  185. *FvwmButtonsInfo: Frame 0
  186. *FvwmButtonsInfo: Padding 0
  187. *FvwmButtonsInfo: Font "xft:mono:size=9:lang=ru"
  188. *FvwmButtonsInfo: (9x1,Padding 0,Font "xft:mono:size=9:lang=ru",Title (Center) " ",Id TimeDateBatSndTiny2,Action "MyClockAction")
  189. *FvwmButtonsInfo: (3x1,Padding 0,Font "xft:mono:bold:size=9:lang=ru",Title (Center) " ",Id TimeDateBatSndTiny1,Action "MyClockAction")
  190.  
  191. *FvwmEvent: Cmd
  192. #*FvwmEvent: windowshade MyEventShade
  193. #*FvwmEvent: dewindowshade MyEventShade
  194. *FvwmEvent: add_window MyEventAddWindow
  195. *FvwmEvent: startup MyClockMessage
  196. #*FvwmEvent: focus_change MyEventFocus
  197. #*FvwmEvent: enter_window MyClockEnter
  198. #*FvwmEvent: leave_window MyClockLeave
  199.  
  200. *FvwmIdent: Colorset 0
  201. *FvwmIdent: Font "xft:mono:size=9:lang=ru"
  202.  
  203. Mouse 1 I A MyDeic
  204. Mouse 1 W 4 FuncFvwmRaiseLowerX Move
  205. Mouse 3 W 4 FuncFvwmRaiseLowerX Resize
  206. Mouse 1 R A Menu RootMenu
  207. Mouse 2 R A WindowList MaxLabelWidth 80, NoLayer
  208. #Mouse 3 R A WindowList MaxLabelWidth 80, OnlyIcons, NoLayer
  209. Mouse 3 R A Menu LaunchMenu
  210. Mouse 0 S A FuncFvwmRaiseLowerX Move
  211. Mouse 0 F A FuncFvwmRaiseLowerX Resize
  212.  
  213. DestroyMenu WindowMenu
  214. AddToMenu WindowMenu
  215. + "Действия с окном" Title
  216. + "&0. FvwmIdent" Module FvwmIdent
  217. + "" Nop
  218. + "&1. Приклеить к границе" MySnap
  219. + "" Nop
  220. + "&2. Плитка 2 окна" MySimpleTile
  221. + "&3. Плитка 3 окна" MyNormTile
  222. + "&4. Плитка 4 окна" MyGridTile
  223. + "" Nop
  224. + "&H. Слева" Move 0p w+0p
  225. + "&J. Снизу" Move w+0p -0p
  226. + "&K. Сверху" Move w+0p 0p
  227. + "&L. Справа" Move -0p w+0p
  228. + "" Nop
  229. + "&I. Спрятать" MyIconify on
  230. + "&S. Закрепить" Stick
  231. + "&W. Скрутить" WindowShade
  232. + "&M. Развернуть" Maximize 100 100
  233. + "&F. На весь экран" Maximize fullscreen 100 100
  234. + "&G. Рост" Maximize growonwindowlayer grow grow
  235. + "&V. Вертикально" Maximize 0 100
  236. + "" Nop
  237. + "&C. Закрыть" Menu CloseMenu
  238.  
  239. DestroyMenu WindowMenuSmall
  240. AddToMenu WindowMenuSmall
  241. + "Действия с окном" Title
  242. + "&I. Спрятать" MyIconify on
  243. + "&S. Закрепить" Stick
  244. + "&W. Скрутить" WindowShade
  245. + "&M. Развернуть" Maximize 100 100
  246. + "&F. На весь экран" Maximize fullscreen 100 100
  247. + "&G. Рост" Maximize growonwindowlayer grow grow
  248. + "&V. Вертикально" Maximize 0 100
  249. + "" Nop
  250. + "&C. Закрыть" Menu CloseMenu
  251.  
  252. DestroyMenu CloseMenu
  253. AddToMenu CloseMenu
  254. + "Точно закрыть?" Title
  255. + "Да, закрыть" Close
  256. + "Нет, ошибка" Nop
  257.  
  258. DestroyFunc MyDragButton1
  259. AddToFunc MyDragButton1
  260. + "C" Current Menu WindowMenuSmall
  261. + "M" Current Menu WindowMenu
  262.  
  263. DestroyFunc MyDragButton2
  264. AddToFunc MyDragButton2
  265. + "C" Current Menu CloseMenu
  266. #+ "C" Close
  267. #+ "C" ThisWindow (TelegramDesktop*) Exec exec pkill telegram
  268. + "M" Resize
  269.  
  270. DestroyFunc MyDragButton4
  271. AddToFunc MyDragButton4
  272. + "C" Maximize 100 100
  273. + "M" Resize
  274.  
  275. DestroyFunc MyDragButton6
  276. AddToFunc MyDragButton6
  277. + "C" MyIconify
  278. + "M" Resize
  279.  
  280. DestroyFunc MyDragButton8
  281. AddToFunc MyDragButton8
  282. + "C" WindowShade
  283. + "M" Resize
  284.  
  285. DestroyFunc MyDragButton0
  286. AddToFunc MyDragButton0
  287. + "C" Stick
  288. + "M" Resize
  289.  
  290. DestroyFunc MyDragButton5
  291. AddToFunc MyDragButton5
  292. + "C" Stick
  293. + "M" Resize
  294.  
  295. DestroyFunc MyDragButton7
  296. AddToFunc MyDragButton7
  297. + "C" WindowShade
  298. + "M" Resize
  299.  
  300. Mouse 0 1 A MyDragButton1
  301. Mouse 0 3 A Nop
  302. Mouse 0 5 A MyDragButton5
  303. Mouse 0 7 A MyDragButton7
  304. Mouse 0 2 A MyDragButton2
  305. Mouse 0 4 A MyDragButton4
  306. Mouse 0 6 A MyDragButton6
  307. #Mouse 0 8 A MyDragButton1
  308. Mouse 0 8 A MyDragButton8
  309. Mouse 0 0 A MyDragButton0
  310. Mouse 3 T A MyDragButton1
  311.  
  312. Style * MwmButtons, MwmFunctions
  313.  
  314. ButtonStyle 1 - MwmDecorMenu
  315. ButtonStyle 4 - MwmDecorMax
  316. ButtonStyle 6 - MwmDecorMin
  317.  
  318. UpdateStyles
  319.  
  320. Key F A 4 KbdNext
  321. Key B A 4 KbdPrev
  322. Key F A 4S GotoDesk 1 0 0 8
  323. Key B A 4S GotoDesk -1 0 0 8
  324. Key I A 4S KbdDeic
  325. Key C A 4S ThisWindow (Focused) Close
  326. Key M A 4 KbdMax 100 100
  327. Key M A 4S ThisWindow (Focused) Maximize fullscreen 100 100
  328. Key V A 4 KbdMax 0 100
  329. Key G A 4 KbdMax growonwindowlayer grow grow
  330. Key I A 4 MyIconify on
  331. Key R A 4S Restart
  332. Key Q A 4S Quit
  333. Key H A 4 KbdMove -24 +0
  334. Key J A 4 KbdMove +0 +24
  335. Key K A 4 KbdMove +0 -24
  336. Key L A 4 KbdMove +24 +0
  337. Key H A 4C CursorMove -24p +0p
  338. Key J A 4C CursorMove +0p +24p
  339. Key K A 4C CursorMove +0p -24p
  340. Key L A 4C CursorMove +24p +0p
  341. Key H A 4S KbdResize -24 +0
  342. Key J A 4S KbdResize +0 +24
  343. Key K A 4S KbdResize +0 -24
  344. Key L A 4S KbdResize +24 +0
  345. Key Return A 4 Exec $[RunTerm]
  346. Key 1 A 4 GotoDesk 0 0
  347. Key 2 A 4 GotoDesk 0 1
  348. Key 3 A 4 GotoDesk 0 2
  349. Key 4 A 4 GotoDesk 0 3
  350. Key 5 A 4 GotoDesk 0 4
  351. Key 6 A 4 GotoDesk 0 5
  352. Key 7 A 4 GotoDesk 0 6
  353. Key 8 A 4 GotoDesk 0 7
  354. Key 9 A 4 GotoDesk 0 8
  355. Key 1 A 4S All (Focused) MovetoDesk 0 0
  356. Key 2 A 4S All (Focused) MovetoDesk 0 1
  357. Key 3 A 4S All (Focused) MovetoDesk 0 2
  358. Key 4 A 4S All (Focused) MovetoDesk 0 3
  359. Key 5 A 4S All (Focused) MovetoDesk 0 4
  360. Key 6 A 4S All (Focused) MovetoDesk 0 5
  361. Key 7 A 4S All (Focused) MovetoDesk 0 6
  362. Key 8 A 4S All (Focused) MovetoDesk 0 7
  363. Key 9 A 4S All (Focused) MovetoDesk 0 8
  364. #Key Down A 4 Exec audacious -r
  365. #Key Up A 4 Exec audacious -f
  366. Key Left A 4 MyMus seek -00:00:13
  367. Key Down A 4 MyMus prev
  368. Key Up A 4 MyMus next
  369. Key Right A 4 MyMus seek +00:00:13
  370. #Key Left A 4 MyMus -k -13
  371. #Key Down A 4 MyMus -r
  372. #Key Up A 4 MyMus -n
  373. #Key Right A 4 MyMus -k +13
  374. #Key Left A 4 MyMus -m
  375. #Key Down A 4 MyMus -r
  376. #Key Up A 4 MyMus -f
  377. #Key Right A 4 MyMus -m
  378. Key A A 4 MyInfo Exec amixer sset Master toggle
  379. Key Z A 4 MyInfo Exec amixer sset Master 5%-
  380. Key X A 4 MyInfo Exec amixer sset Master 5%+
  381. Key XF86AudioMute A A Exec amixer sset Master toggle
  382. Key XF86AudioLowerVolume A A MyInfo Exec amixer sset Master 5%-
  383. Key XF86AudioRaiseVolume A A MyInfo Exec amixer sset Master 5%+
  384. Key Print A A Exec import -window root png:- | xclip -selection clipboard -t image/png
  385. Key Z A 4S Exec light -U 1
  386. Key X A 4S Exec light -A 1
  387. #Key T A 4 Exec audacious -t
  388. #Key S A 4 Exec audacious -s
  389. #Key D A 4 Exec audacious -p
  390. Key T A 4 MyMus toggle
  391. Key S A 4 MyMus stop
  392. Key D A 4 MyMus play
  393. #Key T A 4 MyMus -u
  394. #Key S A 4 MyMus -s
  395. #Key D A 4 MyMus -p
  396. #Key T A 4 MyMus -t
  397. #Key S A 4 MyMus -s
  398. #Key D A 4 MyMus -p
  399. Key O A 4 Menu RootMenu
  400. Key P A 4 Menu LaunchMenu
  401. Key W A 4 KbdShade
  402. Key S A 4S All (Focused) Stick
  403. Key W A 4S WindowList MaxLabelWidth 80, NoLayer
  404. Key T A 4S MySimpleTile
  405. Key N A 4S MyNormTile
  406. Key G A 4S MyGridTile
  407. Key P WTSF 4S Menu "WindowMenu"
  408. Key O A 4S MyClockAction
  409.  
  410. DestroyFunc MyClockAction
  411. AddToFunc MyClockAction
  412. + "I" All (FvwmButtons*) Raise
  413. + "I" All (FvwmPager*) Raise
  414.  
  415. DestroyMenu LaunchMenu
  416. AddToMenu LaunchMenu
  417. + "Запуск" Title
  418. + "&1. $[RunTerm]" Exec exec $[RunTerm]
  419. + "&2. firefox-default" Exec exec firefox --new-instance --private-window -P default
  420. + "&3. firefox-tor" Exec exec firefox --new-instance --private-window -P tor
  421. + "&4. firefox-i2p" Exec exec firefox --new-instance --private-window -P i2p
  422. + "&5. pidgin" Exec exec pidgin
  423. + "&6. tlgrm" Exec exec $[RunTerm] -e sh -c 'sudo -u tg Telegram'
  424. + "&7. psi-plus" Exec exec psi-plus
  425. + "&8. sylpheed" Exec exec sylpheed
  426. + "&9. office" Exec exec libreoffice
  427. + "&0. amule" Exec exec amule
  428. + "&A. fbreader" Exec exec FBReader
  429. + "&B. opera" Exec exec opera
  430. + "&C. seamonkey" Exec exec seamonkey --new-instance -private -P default
  431. + "&D. seamonkey-tor" Exec exec seamonkey --new-instance -private -P tor
  432. + "&E. firefox-casual" Exec exec firefox --new-instance -P casual
  433. + "&F. chromium" Exec exec chromium --no-sandbox
  434. + "&G. abiword" Exec exec abiword
  435. + "&H. djview" Exec exec djview
  436. + "&I. vimb-i2p" Exec http_proxy=http://127.0.0.1:4444 https_proxy=http://127.0.0.1:4444 exec vimb
  437. + "&J. gimp" Exec exec gimp
  438. + "&K. coolreader" Exec exec cr3
  439. + "&L. worker" Exec exec worker
  440. #+ "&M. emacs" Exec exec emacs --xrm="emacs*menubar*font: Liberation Mono-9" --xrm="Xft.hintstyle: hintnone" --xrm="Xft.antialias: 1" --xrm="Xft.hinting: 1" --xrm="Emacs.font: Liberation Mono-9"
  441. + "&M. jmacs" Exec exec $[RunTerm] -g 80x40 -e jmacs
  442. + "&N. qbittorrent" Exec exec qbittorrent
  443. #+ "&O. qmplay" Exec exec QMPlay2
  444. + "&O. cantata" Exec exec cantata
  445. #+ "&O. quimup" Exec exec quimup
  446. #+ "&O. ario" Exec exec ario
  447. + "&P. lagrange" Exec exec lagrange
  448. + "&Q. audacious" Exec exec audacious
  449. + "&R. rox" Exec exec rox
  450. #+ "&S. netsurf" Exec exec netsurf-gtk2
  451. #+ "&S. signal" Exec http_proxy=socks://127.0.0.1:9050 https_proxy=socks://127.0.0.1:9050 exec signal-desktop
  452. + "&S. signal" Exec http_proxy=socks://127.0.0.1:31110 https_proxy=socks://127.0.0.1:31110 exec signal-desktop
  453. + "&T. kristall" Exec exec kristall
  454. + "&U. doublecmd" Exec exec ~/app/doublecmd/doublecmd.sh
  455. + "&V. vimb" Exec exec vimb
  456. + "&W. vimb-tor" Exec http_proxy=socks://localhost:9050 https_proxy=socks://localhost:9050 exec vimb
  457. + "&X. darkmx" Exec exec darkmx
  458. + "&Y. seamonkey-i2p" Exec exec seamonkey --new-instance -private -P i2p
  459. + "&Z. fopnu" Exec exec fopnu
  460.  
  461. DestroyMenu ScriptMenu
  462. AddToMenu ScriptMenu
  463. PipeRead "ls -1 $[HOME]/sh/*.sh|sed 's/^.*$/+\ \"&\"\ Exec\ exec\ $[RunTerm]\ -e\ \"&\"/'"
  464.  
  465. DestroyMenu DeskMenu
  466. AddToMenu DeskMenu
  467. PipeRead "for i in 0 1 2 3 4 5 6 7 8 ; do echo + \"\\\"Пространство &${i}\\\"\" GotoDesk 0 $i ; done"
  468.  
  469. DestroyMenu RootMenu
  470. AddToMenu RootMenu
  471. + "Главное меню" Title
  472. + "&0. URxvt" Exec exec $[RunTerm]
  473. + "&1. Запуск" Popup "LaunchMenu"
  474. + "&2. XZoom" Exec exec xzoom
  475. + "&3. XKill" Exec exec xkill
  476. + "&4. FvwmIdent" Pick Module FvwmIdent
  477. + "&W. Окна" WindowList MaxLabelWidth 80, NoLayer
  478. + "&I. Спрятанные окна" WindowList MaxLabelWidth 80, OnlyIcons, NoLayer
  479. + "&P. Страницы" Module FvwmPager -transient 0 8
  480. + "&F. Консоль FVWM" Module FvwmConsole
  481. + "&D. Пространства" Popup "DeskMenu"
  482. + "" Nop
  483. + "&R. Перезапуск" Restart
  484. + "&Q. Выход" Quit
  485.  
  486. DestroyFunc WindowListFunc
  487. AddToFunc WindowListFunc
  488. + "I" MyDeic
  489.  
  490. DestroyFunc KbdMax
  491. AddToFunc KbdMax
  492. + "I" ThisWindow (Focused) Maximize $0 $1 $2
  493. + "I" ThisWindow (Focused) MyWarp
  494.  
  495. DestroyFunc KbdDeic
  496. AddToFunc KbdDeic
  497. + "I" Next (Iconic, AcceptsFocus, CurrentPage) MyDeic
  498.  
  499. DestroyFunc MyDeic
  500. AddToFunc MyDeic
  501. + "I" MyWarp
  502. + "I" Schedule 75 All (Iconic, CurrentPage) PlaceAgain Icon
  503.  
  504. DestroyFunc KbdNext
  505. AddToFunc KbdNext
  506. + "I" Next (!Iconic,AcceptsFocus,CurrentPage) MyWarp
  507.  
  508. DestroyFunc KbdPrev
  509. AddToFunc KbdPrev
  510. + "I" Prev (!Iconic,AcceptsFocus,CurrentPage) MyWarp
  511.  
  512. DestroyFunc MyWarp
  513. AddToFunc MyWarp
  514. + "I" ThisWindow Focus NoWarp
  515. + "I" ThisWindow (Iconic) MyIconify off
  516. + "I" ThisWindow Raise
  517. + "I" ThisWindow WarpToWindow 50 50
  518. + "I" ThisWindow RefreshWindow
  519. + "I" Schedule 50 All (!Focused,AcceptsFocus,CurrentPage) Lower
  520.  
  521. DestroyFunc KbdMove
  522. AddToFunc KbdMove
  523. + "I" ThisWindow WarpToWindow 50 50
  524. + "I" ThisWindow Move w$0p w$1p
  525. + "I" CursorMove $0p $1p
  526. #+ "I" ThisWindow MySnap
  527.  
  528. DestroyFunc MySnap
  529. AddToFunc MySnap
  530. + "I" PipeRead "echo \"\
  531. ax=0+$[w.x]\;\
  532. ay=0+$[w.y]\;\
  533. bx=1920-$[w.x]-$[w.width]\;\
  534. by=1080-$[w.y]-$[w.height]\;\
  535. xret=0\;\
  536. yret=0\;\
  537. ret=0\;\
  538. if \(ax\<23\) xret=1\;\
  539. if \(ay\<23\) yret=1\;\
  540. if \(bx\<23\) xret=2\;\
  541. if \(by\<23\) yret=2\;\
  542. ret=10\*xret+yret\;\
  543. ret\;\" |tr -s '+-'|bc|sed 's/^0$/00/;s/^1$/01/;s/^2$/02/;s/^0/w0p\ /;s/0$/\ w0p/;s/^1/\ 0p/;s/1$/\ 0p/;s/^2/\ -0p/;s/2$/\ -0p/;s/.*/ThisWindow\ Move\ &/'
  544. "
  545.  
  546. DestroyFunc KbdResize
  547. AddToFunc KbdResize
  548. + "I" ThisWindow Resize w$0p w$1p
  549. + "I" ThisWindow WarpToWindow 50 50
  550.  
  551. DestroyFunc KbdShade
  552. AddToFunc KbdShade
  553. + "I" ThisWindow WarpToWindow 50 0
  554. + "I" ThisWindow WindowShade
  555. + "I" ThisWindow WarpToWindow 50 50
  556. + "I" Schedule 50 All (!Focused,AcceptsFocus,CurrentPage) Lower
  557.  
  558. DestroyFunc MySimpleTile
  559. AddToFunc MySimpleTile
  560. + "I" All (!Iconic, CurrentPage, AcceptsFocus) Maximize off
  561. + "I" All (Focused,!Iconic, CurrentPage, AcceptsFocus) Maximize 51 100
  562. + "I" All (!Focused,!Iconic, CurrentPage, AcceptsFocus) Maximize 49 100
  563. + "I" All (Focused, !Iconic, CurrentPage, AcceptsFocus) Move 0 0
  564. + "I" All (!Focused, !Iconic, CurrentPage, AcceptsFocus) Move 51 0
  565. + "I" Current Raise
  566. + "I" Current WarpToWindow 50 50
  567.  
  568. DestroyFunc MyNormTile
  569. AddToFunc MyNormTile
  570. + "I" All (!Iconic, CurrentPage, AcceptsFocus) Maximize off
  571. + "I" All (Focused, !Iconic, CurrentPage, AcceptsFocus) Maximize 51 100
  572. + "I" All (!Focused, !Iconic, CurrentPage, AcceptsFocus) Maximize 49 50
  573. + "I" All (Focused, !Iconic, CurrentPage, AcceptsFocus) Move 0 0
  574. + "I" All (!Focused, !Iconic, CurrentPage, AcceptsFocus) Move 51 0
  575. + "I" Next (!Focused, !Iconic, CurrentPage, AcceptsFocus) Move 51 50
  576. + "I" Current Raise
  577. + "I" Current WarpToWindow 50 50
  578.  
  579. DestroyFunc MyGridTile
  580. AddToFunc MyGridTile
  581. + "I" All (!Iconic, CurrentPage, AcceptsFocus) Maximize off
  582. + "I" All (Focused, !Iconic, CurrentPage, AcceptsFocus) Maximize 50 50
  583. + "I" All (!Focused, !Iconic, CurrentPage, AcceptsFocus) Maximize 50 50
  584. + "I" All (Focused, !Iconic, CurrentPage, AcceptsFocus) Move 0 0
  585. + "I" All (!Focused, !Iconic, CurrentPage, AcceptsFocus) Move 50 50
  586. + "I" Next (!Focused, !Iconic, CurrentPage, AcceptsFocus) Move 50 0
  587. + "I" Prev (!Focused, !Iconic, CurrentPage, AcceptsFocus) Move 0 50
  588. + "I" Current Raise
  589. + "I" Current WarpToWindow 50 50
  590.  
  591. DestroyFunc MyEventShade
  592. AddToFunc MyEventShade
  593. + "I" ThisWindow (Shaded,CurrentPage,AcceptsFocus,!Iconic) WindowStyle Title
  594. + "I" ThisWindow (!Shaded,CurrentPage,AcceptsFocus,!Iconic) WindowStyle !Title
  595.  
  596. DestroyFunc MyEventAddWindow
  597. AddToFunc MyEventAddWindow
  598. + "I" Schedule 125 All (!Focused,CurrentPage,AcceptsFocus) Lower
  599. #+ "I" Schedule 125 ThisWindow (AcceptsFocus,CurrentPage) MyWarp
  600. #+ "I" Nop
  601.  
  602. DestroyFunc MyIconify
  603. AddToFunc MyIconify
  604. + "I" ThisWindow Iconify $0
  605. #+ "I" ThisWindow MyThumbnail $0
  606.  
  607. DestroyFunc MyClockMessage
  608. AddToFunc MyClockMessage
  609. + "I" PipeRead 'echo -n SendToModule FvwmButtonsClock ChangeButton TimeLong2 Title \\"`LC_ALL=ru_RU.UTF-8 date \"+%e %b\"`\\"'
  610. + "I" PipeRead 'echo -n SendToModule FvwmButtonsClock ChangeButton TimeLong1 Title \\"`LC_ALL=ru_RU.UTF-8 date \"+%a %H:%M\"`\\"'
  611. + "I" PipeRead 'echo -n SendToModule FvwmButtonsClock ChangeButton BatSnd Title \\"`cat /sys/class/power_supply/BAT0/capacity``cat /sys/class/power_supply/BAT0/status|sed \'s/^Not\\ ch.\*/n/;s/^Disch.\*/d/;s/^Char.\*/c/;s/^Unk.\*/u/;s/^Full$/f/\'` `amixer sget Master|sed \'5!d;s/\\][\\ ]\*\\[.\*\\][\\ ]\*\\[/\\ /;s/^.\*\\[//;s/\\]$//;s/%\\ on/l/;s/%\\ off/m/\'`\\"'
  612.  
  613. DestroyFunc MyInfoMessage
  614. AddToFunc MyInfoMessage
  615. + "I" PipeRead 'echo -n SendToModule FvwmButtonsInfo ChangeButton TimeDateBatSndTiny1 Title \\"`date \"+%H:%M\"`\\"'
  616. + "I" PipeRead 'echo -n SendToModule FvwmButtonsInfo ChangeButton TimeDateBatSndTiny2 Title \\"`cat /sys/class/power_supply/BAT0/capacity``cat /sys/class/power_supply/BAT0/status|sed \'s/^Not\\ ch.\*/~/;s/^Disch.\*/-/;s/^Char.\*/+/;s/^Unk.\*/_/;s/^Full$/=/\'` `amixer sget Master|sed \'5!d;s/\\][\\ ]\*\\[.\*\\][\\ ]\*\\[/\\ /;s/^.\*\\[//;s/\\]$//;s/%\\ on/l/;s/%\\ off/m/\'` `LC_ALL=ru_RU.UTF-8 date \"+%Z %a %e %b\"`\\"'
  617.  
  618. DestroyFunc MyMus
  619. AddToFunc MyMus
  620. + "I" Exec mpc $[*]
  621. #+ "I" Exec cmus-remote $[*]
  622. #+ "I" Exec audacious $[*]
  623.  
  624. DestroyFunc MyInfo
  625. AddToFunc MyInfo
  626. + "I" $[*]
  627. + "I" All (FvwmButtonsInfo*) Schedule 50 MyInfoMessage
  628. + "I" All (FvwmButtonsClock*) Schedule 50 MyClockMessage
  629.  
  630. DestroyFunc UrgencyFunc
  631. AddToFunc UrgencyFunc
  632. + "I" Nop
  633.  
  634. DestroyFunc UrgencyDoneFunc
  635. AddToFunc UrgencyDoneFunc
  636. + "I" Nop
  637.  
  638. DestroyFunc EWMHActivateWindowFunc
  639. AddToFunc EWMHActivateWindowFunc
  640. + "I" Nop
  641.  
  642. DestroyFunc FuncFvwmRaiseLowerX
  643. AddToFunc FuncFvwmRaiseLowerX
  644. + "I" Raise
  645. + "M" $0
  646. + "D" Lower
  647. + "D" WindowShade
  648.  
  649. DestroyFunc MyThumbnail
  650. AddToFunc MyThumbnail
  651. + "I" ThisWindow (Iconifiable,!Iconic) Focus
  652. + "I" ThisWindow (Iconifiable,!Iconic) WindowShade false
  653. + "I" ThisWindow (Iconifiable,!Iconic) Raise
  654. + "I" ThisWindow (Iconifiable,!Iconic) WarpToWindow 50 50
  655. + "I" ThisWindow (Iconifiable,!Iconic) Schedule 25 PipeRead "\
  656. \[ \\'$0\\' != \\'off\\' \] \
  657. && nice -n 0 xwd -silent -id $[w.id] \
  658. | nice -n 0 convert -scale 108x108\! \
  659. -background black -gravity center -extent 108x108 \
  660. -quality 0 \
  661. xwd:- png:/tmp/fvwm.icon.tmp.$[w.id].png \
  662. && echo WindowId $[w.id] WindowStyle IconOverride, Icon /tmp/fvwm.icon.tmp.$[w.id].png"
  663. + "I" ThisWindow (Iconifiable,!Iconic) Schedule 25 Iconify $0
  664. + "I" ThisWindow (Iconifiable,Iconic) PipeRead "rm -f /tmp/fvwm.icon.tmp.$[w.id].*"
  665. + "I" ThisWindow (Iconifiable,Iconic) Iconify $0
  666.  
  667. AddToFunc StartFunction
  668. + "I" Module FvwmEvent
  669. + "I" Module FvwmCommandS
  670. + "I" All (FvwmButtons*) Close
  671. + "I" Module FvwmButtons FvwmButtonsClock
  672. + "I" Schedule Periodic 30000 MyClockMessage
  673. + "I" Schedule 1000 MyClockMessage
  674. #+ "I" Module FvwmButtons FvwmButtonsInfo
  675. #+ "I" Schedule Periodic 30000 MyInfoMessage
  676. #+ "I" Schedule 1000 MyInfoMessage
  677.  
Add Comment
Please, Sign In to add comment