From 55e3db0a5ca2d8b4191a17e63d110a871afa30cf Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Wed, 26 Dec 2018 14:24:04 -0700 Subject: [PATCH] [alfred][chunkwm] --- .chunkwmrc | 21 +- src/chunkc.alfredworkflow/workflow/info.plist | 295 ++++++++++++++++++ 2 files changed, 306 insertions(+), 10 deletions(-) mode change 100644 => 100755 .chunkwmrc diff --git a/.chunkwmrc b/.chunkwmrc old mode 100644 new mode 100755 index f04b4fd..df94693 --- a/.chunkwmrc +++ b/.chunkwmrc @@ -34,11 +34,11 @@ chunkc core::hotload 0 # chunkc set global_desktop_mode bsp -chunkc set global_desktop_offset_top 10 -chunkc set global_desktop_offset_bottom 10 -chunkc set global_desktop_offset_left 10 -chunkc set global_desktop_offset_right 10 -chunkc set global_desktop_offset_gap 10 +chunkc set global_desktop_offset_top 5 +chunkc set global_desktop_offset_bottom 5 +chunkc set global_desktop_offset_left 5 +chunkc set global_desktop_offset_right 5 +chunkc set global_desktop_offset_gap 5 # # NOTE: syntax for desktop-specific settings @@ -63,13 +63,13 @@ chunkc set bsp_split_ratio 0.5 chunkc set monitor_focus_cycle 1 chunkc set window_focus_cycle monitor -chunkc set mouse_follows_focus intrinsic +# chunkc set mouse_follows_focus intrinsic chunkc set window_float_next 0 chunkc set window_region_locked 1 -chunkc set mouse_move_window \"fn 1\" -chunkc set mouse_resize_window \"fn 2\" -chunkc set mouse_motion_interval 35 +# chunkc set mouse_move_window "fn 1" +# chunkc set mouse_resize_window "fn 2" +# chunkc set mouse_motion_interval 35 chunkc set preselect_border_color 0xffd75f5f chunkc set preselect_border_width 5 @@ -91,7 +91,7 @@ chunkc set window_use_cgs_move 0 chunkc set focused_border_color 0xff0f6288 chunkc set focused_border_width 5 -chunkc set focused_border_radius 0 +chunkc set focused_border_radius 5 chunkc set focused_border_skip_floating 1 # @@ -117,3 +117,4 @@ chunkc core::load tiling.so chunkc tiling::rule --owner Fantastical --state float # chunkc tiling::rule --owner Alfred --state float chunkc tiling::rule --owner Inkscape --state float +chunkc tiling::rule --owner Alfred --state float diff --git a/src/chunkc.alfredworkflow/workflow/info.plist b/src/chunkc.alfredworkflow/workflow/info.plist index a4131b4..8477892 100644 --- a/src/chunkc.alfredworkflow/workflow/info.plist +++ b/src/chunkc.alfredworkflow/workflow/info.plist @@ -8,6 +8,71 @@ Productivity connections + 10B568C3-9FDC-42E0-A07C-F858DFC6B828 + + + destinationuid + 2B424613-BAFC-4406-99A6-32B245E46361 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 15B866B0-3920-4CC9-AF3D-E19D7D2B7119 + + + destinationuid + 2B424613-BAFC-4406-99A6-32B245E46361 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 5F427E34-8D6D-4CC4-8B73-4DE54B8792A1 + + + destinationuid + 2B424613-BAFC-4406-99A6-32B245E46361 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 63CF054D-4F68-4303-9594-1B5EDB68A87A + + + destinationuid + 2B424613-BAFC-4406-99A6-32B245E46361 + modifiers + 0 + modifiersubtext + + vitoclose + + + + E171CAD0-869E-43EF-8481-900361874175 + + + destinationuid + 2B424613-BAFC-4406-99A6-32B245E46361 + modifiers + 0 + modifiersubtext + + vitoclose + + + F9C39BDA-EC36-4EBB-A6F7-0E29F8722058 @@ -102,11 +167,234 @@ version 2 + + config + + concurrently + + escaping + 0 + script + /usr/local/bin/chunkc {query} + scriptargtype + 0 + scriptfile + + type + 0 + + type + alfred.workflow.action.script + uid + 2B424613-BAFC-4406-99A6-32B245E46361 + version + 2 + + + config + + action + 0 + argument + 3 + argumenttext + tiling::window --warp west + focusedappvariable + + focusedappvariablename + + hotkey + 123 + hotmod + 12320768 + hotstring + + leftcursor + + modsmode + 0 + relatedAppsMode + 0 + + type + alfred.workflow.trigger.hotkey + uid + 10B568C3-9FDC-42E0-A07C-F858DFC6B828 + version + 2 + + + config + + action + 0 + argument + 3 + argumenttext + tiling::window --warp east + focusedappvariable + + focusedappvariablename + + hotkey + 124 + hotmod + 12320768 + hotstring + + leftcursor + + modsmode + 0 + relatedAppsMode + 0 + + type + alfred.workflow.trigger.hotkey + uid + 63CF054D-4F68-4303-9594-1B5EDB68A87A + version + 2 + + + config + + action + 0 + argument + 3 + argumenttext + tiling::window --warp north + focusedappvariable + + focusedappvariablename + + hotkey + 126 + hotmod + 12320768 + hotstring + + leftcursor + + modsmode + 0 + relatedAppsMode + 0 + + type + alfred.workflow.trigger.hotkey + uid + 5F427E34-8D6D-4CC4-8B73-4DE54B8792A1 + version + 2 + + + config + + action + 0 + argument + 3 + argumenttext + tiling::window --warp south + focusedappvariable + + focusedappvariablename + + hotkey + 125 + hotmod + 12320768 + hotstring + + leftcursor + + modsmode + 0 + relatedAppsMode + 0 + + type + alfred.workflow.trigger.hotkey + uid + 15B866B0-3920-4CC9-AF3D-E19D7D2B7119 + version + 2 + + + config + + action + 0 + argument + 3 + argumenttext + tiling::window --toggle fullscreen + focusedappvariable + + focusedappvariablename + + hotkey + 6 + hotmod + 1835008 + hotstring + Z + leftcursor + + modsmode + 0 + relatedAppsMode + 0 + + type + alfred.workflow.trigger.hotkey + uid + E171CAD0-869E-43EF-8481-900361874175 + version + 2 + readme uidata + 10B568C3-9FDC-42E0-A07C-F858DFC6B828 + + xpos + 20 + ypos + 140 + + 15B866B0-3920-4CC9-AF3D-E19D7D2B7119 + + xpos + 20 + ypos + 470 + + 2B424613-BAFC-4406-99A6-32B245E46361 + + xpos + 270 + ypos + 140 + + 5F427E34-8D6D-4CC4-8B73-4DE54B8792A1 + + xpos + 20 + ypos + 360 + + 63CF054D-4F68-4303-9594-1B5EDB68A87A + + xpos + 20 + ypos + 250 + ACE4AC35-AD9F-4415-8820-FDAA27312B24 xpos @@ -114,6 +402,13 @@ ypos 20 + E171CAD0-869E-43EF-8481-900361874175 + + xpos + 20 + ypos + 580 + F9C39BDA-EC36-4EBB-A6F7-0E29F8722058 xpos