Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.45 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #
  4. # NOTE: specify the absolutepath to the directory to use when
  5. #       loading a plugin. '~' expansion is supported.
  6. #
  7.  
  8. chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins
  9.  
  10. #
  11. # NOTE: if enabled, chunkwm will monitor the specified plugin_dir
  12. #       and automatically reload any '.so' file that is changed.
  13. #
  14.  
  15. chunkc core::hotload 1
  16.  
  17. #
  18. # NOTE: the following are config variables for the chunkwm-tiling plugin.
  19. #
  20.  
  21. chunkc set global_desktop_mode           bsp
  22. #chunkc set 2_desktop_mode                monocle
  23. chunkc set 1_desktop_mode                float
  24.  
  25. #chunkc set 1_desktop_tree                ~/.chunkwm_layouts/dev_1
  26.  
  27. chunkc set global_desktop_offset_top     20
  28. chunkc set global_desktop_offset_bottom  20
  29. chunkc set global_desktop_offset_left    20
  30. chunkc set global_desktop_offset_right   20
  31. chunkc set global_desktop_offset_gap     15
  32.  
  33. #chunkc set 1_desktop_offset_top          190
  34. #chunkc set 1_desktop_offset_bottom       190
  35. #chunkc set 1_desktop_offset_left         190
  36. #chunkc set 1_desktop_offset_right        190
  37. #chunkc set 1_desktop_offset_gap          15
  38.  
  39. #chunkc set 3_desktop_offset_top          190
  40. #chunkc set 3_desktop_offset_bottom       190
  41. #chunkc set 3_desktop_offset_left         190
  42. #chunkc set 3_desktop_offset_right        190
  43.  
  44. chunkc set desktop_padding_step_size     10.0
  45. chunkc set desktop_gap_step_size         5.0
  46.  
  47. chunkc set bsp_spawn_left                1
  48. chunkc set bsp_optimal_ratio             1.618
  49. chunkc set bsp_split_mode                optimal
  50. chunkc set bsp_split_ratio               0.5
  51. chunkc set window_focus_cycle            monitor
  52. chunkc set mouse_follows_focus           0
  53. chunkc set window_float_next             0
  54. chunkc set window_float_center           1
  55. chunkc set window_region_locked          1
  56.  
  57. #
  58. # NOTE: shell commands require escaped quotes
  59. #       to pass value containing a whitespace.
  60. #
  61. # chunkc set mouse_modifier              \"cmd shift\"
  62. chunkc set mouse_modifier                fn
  63.  
  64. chunkc set preselect_border_color        0x00000000
  65. chunkc set preselect_border_width        5
  66. chunkc set preselect_border_radius       0
  67.  
  68. #
  69. # NOTE: these settings require chwm-sa.
  70. #       (https://github.com/koekeishiya/chwm-sa)
  71. #
  72.  
  73. chunkc set window_float_topmost          0
  74. chunkc set window_fade_inactive          0
  75. chunkc set window_fade_alpha             0.85
  76. chunkc set window_fade_duration          0.25
  77. chunkc set window_use_cgs_move           0
  78.  
  79. #
  80. # NOTE: the following are config variables for the chunkwm-border plugin.
  81. #
  82.  
  83. #chunkc set focused_border_color          0xffd75f5f
  84. chunkc set focused_border_color          0x00000000
  85. chunkc set focused_border_width          5
  86. chunkc set focused_border_radius         5
  87. chunkc set focused_border_skip_floating  1
  88.  
  89. #
  90. # NOTE: specify plugins to load when chunkwm starts.
  91. #       if chunkc plugin_dir is not set, the absolutepath is necessary.
  92. #
  93.  
  94. #chunkc core::load border.so
  95. chunkc core::load tiling.so
  96. chunkc core::load ffm.so
  97.  
  98. #
  99. # NOTE: shell commands require escaped quotes
  100. #       to pass value containing a whitespace.
  101. #
  102.  
  103. chunkc tiling::rule --owner Spotify --role AXWindow --subrole AXDialog --state tile
  104. chunkc tiling::rule --owner Finder --name Copy --state float
  105. chunkc tiling::rule --owner \"App Store\" --state float
  106. chunkc titling::rule --owner macfeh --state float
  107. chunkc titling::rule --name macfeh --state float
  108. chunkc titling::rule --owner drabweb.macfeh --state float
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement