Advertisement
smhdale

.chunkwmrc

Aug 7th, 2018
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.85 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #
  4. # NOTE: any 'chunkc' command that is run from this config file
  5. #       that is NOT 'chunkc core::<..>' or 'chunkc set ..'
  6. #       MUST be put in the background using &
  7. #
  8. #       e.g:
  9. #       chunkc tiling::rule --owner Finder --name Copy --state float &
  10. #
  11.  
  12. #
  13. # NOTE: specify the absolutepath of the file to use for logging.
  14. #       'stdout' or 'stderr' can be used instead of an actual filepath.
  15. #
  16.  
  17. chunkc core::log_file stdout
  18.  
  19. #
  20. # NOTE: specify the desired level of logging.
  21. #
  22. #       - none, debug, profile, warn, error
  23. #
  24.  
  25. chunkc core::log_level warn
  26.  
  27. #
  28. # NOTE: specify the absolutepath to the directory to use when loading a plugin.
  29. #
  30.  
  31. chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins
  32.  
  33. #
  34. # NOTE: if enabled, chunkwm will monitor the specified plugin_dir
  35. #       and automatically reload any '.so' file that is changed.
  36. #
  37.  
  38. chunkc core::hotload 0
  39. https://github.com/zzzeyez/dotfiles_macos
  40. #
  41. # NOTE: the following are config variables for the chunkwm-tiling plugin.
  42. #
  43.  
  44. chunkc set custom_bar_enabled            0
  45. chunkc set custom_bar_all_monitors       0
  46. chunkc set custom_bar_offset_top         22
  47. chunkc set custom_bar_offset_bottom      0
  48. chunkc set custom_bar_offset_left        0
  49. chunkc set custom_bar_offset_right       0
  50.  
  51. chunkc set global_desktop_mode           bsp
  52. chunkc set global_desktop_offset_top     20
  53. chunkc set global_desktop_offset_bottom  20
  54. chunkc set global_desktop_offset_left    20
  55. chunkc set global_desktop_offset_right   20
  56. chunkc set global_desktop_offset_gap     15
  57.  
  58. #
  59. # NOTE: syntax for desktop-specific settings
  60. #
  61. # chunkc set 2_desktop_mode                monocle
  62. # chunkc set 5_desktop_mode                float
  63. # chunkc set 3_desktop_offset_top          190
  64. # chunkc set 3_desktop_offset_bottom       190
  65. # chunkc set 3_desktop_offset_left         190
  66. # chunkc set 3_desktop_offset_right        190
  67. # chunkc set 3_desktop_offset_gap          30
  68. #
  69.  
  70. chunkc set desktop_padding_step_size     10.0
  71. chunkc set desktop_gap_step_size         5.0
  72.  
  73. chunkc set bsp_spawn_left                1
  74. chunkc set bsp_optimal_ratio             1.618
  75. chunkc set bsp_split_mode                optimal
  76. chunkc set bsp_split_ratio               0.5
  77.  
  78. chunkc set monitor_focus_cycle           1
  79. chunkc set window_focus_cycle            monitor
  80.  
  81. chunkc set mouse_follows_focus           all
  82. chunkc set window_float_next             0
  83. chunkc set window_region_locked          1
  84.  
  85. chunkc set mouse_move_window             \"fn 1\"
  86. chunkc set mouse_resize_window           \"fn 2\"
  87. chunkc set mouse_motion_interval         35
  88.  
  89. chunkc set preselect_border_color        0xffd75f5f
  90. chunkc set preselect_border_width        5
  91.  
  92. #
  93. # NOTE: these settings require chwm-sa.
  94. #       (https://github.com/koekeishiya/chwm-sa)
  95. #
  96.  
  97. chunkc set window_float_topmost          0
  98. chunkc set window_fade_inactive          1
  99. chunkc set window_fade_alpha             0.94
  100. chunkc set window_fade_duration          0.4
  101. chunkc set window_use_cgs_move           0
  102.  
  103. #
  104. # NOTE: the following are config variables for the chunkwm-border plugin.
  105. #
  106.  
  107. chunkc set focused_border_color          0xff539950
  108. chunkc set focused_border_width          6
  109. chunkc set focused_border_radius         0
  110. chunkc set focused_border_skip_floating  0
  111. chunkc set focused_border_skip_monocle   0
  112.  
  113. #
  114. # NOTE: the following are config variables for the chunkwm-ffm plugin.
  115. #
  116.  
  117. chunkc set ffm_bypass_modifier           fn
  118. chunkc set ffm_standby_on_float          1
  119.  
  120. #
  121. # NOTE: specify plugins to load when chunkwm starts.
  122. #
  123.  
  124. chunkc core::load border.so
  125. chunkc core::load tiling.so
  126. chunkc core::load ffm.so
  127.  
  128. #
  129. # NOTE: sample rules for the tiling plugin
  130. #
  131.  
  132. chunkc tiling::rule --owner Finder --name Copy --state float &
  133. chunkc tiling::rule --owner \"App Store\" --state float &
  134. chunkc tiling::rule --owner Emacs --except "^$" --state tile &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement