[alfred] rm chunkwm workflow

pull/41/head
Alpha Chen 3 years ago
parent 43226c2936
commit 49309d3553

@ -1,93 +0,0 @@
[[package]]
name = "alphred"
version = "0.1.0"
dependencies = [
"serde 1.0.55 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.55 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "chunkc"
version = "0.1.0"
dependencies = [
"alphred 0.1.0",
"serde 1.0.55 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "dtoa"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "itoa"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "proc-macro2"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "quote"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro2 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "serde"
version = "1.0.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "serde_derive"
version = "1.0.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro2 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.13.10 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "serde_json"
version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"itoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.55 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "syn"
version = "0.13.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro2 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
"unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "unicode-xid"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
[metadata]
"checksum dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "09c3753c3db574d215cba4ea76018483895d7bff25a31b49ba45db21c48e50ab"
"checksum itoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c069bbec61e1ca5a596166e55dfe4773ff745c3d16b700013bcaff9a6df2c682"
"checksum proc-macro2 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "1b06e2f335f48d24442b35a19df506a835fb3547bc3c06ef27340da9acf5cae7"
"checksum quote 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9949cfe66888ffe1d53e6ec9d9f3b70714083854be20fd5e271b232a017401e8"
"checksum serde 1.0.55 (registry+https://github.com/rust-lang/crates.io-index)" = "97f6a6c3caba0cf8f883b53331791036404ce3c1bd895961cf8bb2f8cecfd84b"
"checksum serde_derive 1.0.55 (registry+https://github.com/rust-lang/crates.io-index)" = "f51b0ef935cf8a41a77bce553da1f8751a739b7ad82dd73669475a22e6ecedb0"
"checksum serde_json 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "f3ad6d546e765177cf3dded3c2e424a8040f870083a0e64064746b958ece9cb1"
"checksum syn 0.13.10 (registry+https://github.com/rust-lang/crates.io-index)" = "77961dcdac942fa8bc033c16f3a790b311c8a27d00811b878ebd8cf9b7ba39d5"
"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"

@ -1,9 +0,0 @@
[package]
name = "chunkc"
version = "0.1.0"
authors = ["Alpha Chen <alpha.chen@gmail.com>"]
[dependencies]
alphred = { path = "/Users/alpha/Dropbox/src/github.com/kejadlen/alphred-rs" }
serde = "1.0"
serde_json = "1.0"

@ -1,50 +0,0 @@
extern crate alphred;
extern crate serde;
#[macro_use]
extern crate serde_json;
use alphred::Item;
fn main() {
let items: Vec<_> = vec![
// Enter fullscreen mode for focused container
"tiling::window --toggle fullscreen",
// Change focus between tiling/floating windows
"tiling::window --toggle float",
// Change layout of desktop
"tiling::desktop --layout bsp",
"tiling::desktop --layout monocle",
// Change focus
"tiling::window --focus west",
"tiling::window --focus south",
"tiling::window --focus north",
"tiling::window --focus east",
"tiling::window --focus prev",
"tiling::window --focus next",
// Swap focused window
"tiling::window --swap west",
"tiling::window --swap south",
"tiling::window --swap north",
"tiling::window --swap east",
// Move focused window
"tiling::window --warp west",
"tiling::window --warp south",
"tiling::window --warp north",
"tiling::window --warp east",
"tiling::desktop --rotate 90",
// Equalize window size
"tiling::desktop --equalize",
// float next window to be tiled
"set window_float_next 1",
].iter()
.map(|&x| {
let m: String = x.split(|x: char| !x.is_alphanumeric())
.collect::<Vec<_>>()
.join(" ");
Item::new(format!("chunkc {}", x)).arg(x).match_(&m)
})
.collect();
let json = json!({ "items": items });
println!("{}", json);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

@ -1 +0,0 @@
/Users/alpha/.dotfiles/src/chunkc.alfredworkflow/target/debug/chunkc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

@ -1,425 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bundleid</key>
<string>com.arbitrarydefinitions.chunkc</string>
<key>category</key>
<string>Productivity</string>
<key>connections</key>
<dict>
<key>10B568C3-9FDC-42E0-A07C-F858DFC6B828</key>
<array>
<dict>
<key>destinationuid</key>
<string>2B424613-BAFC-4406-99A6-32B245E46361</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
<key>15B866B0-3920-4CC9-AF3D-E19D7D2B7119</key>
<array>
<dict>
<key>destinationuid</key>
<string>2B424613-BAFC-4406-99A6-32B245E46361</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
<key>5F427E34-8D6D-4CC4-8B73-4DE54B8792A1</key>
<array>
<dict>
<key>destinationuid</key>
<string>2B424613-BAFC-4406-99A6-32B245E46361</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
<key>63CF054D-4F68-4303-9594-1B5EDB68A87A</key>
<array>
<dict>
<key>destinationuid</key>
<string>2B424613-BAFC-4406-99A6-32B245E46361</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
<key>E171CAD0-869E-43EF-8481-900361874175</key>
<array>
<dict>
<key>destinationuid</key>
<string>2B424613-BAFC-4406-99A6-32B245E46361</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
<key>F9C39BDA-EC36-4EBB-A6F7-0E29F8722058</key>
<array>
<dict>
<key>destinationuid</key>
<string>ACE4AC35-AD9F-4415-8820-FDAA27312B24</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
</dict>
<key>createdby</key>
<string>Alpha Chen</string>
<key>description</key>
<string></string>
<key>disabled</key>
<true/>
<key>name</key>
<string>chunkc</string>
<key>objects</key>
<array>
<dict>
<key>config</key>
<dict>
<key>concurrently</key>
<false/>
<key>escaping</key>
<integer>102</integer>
<key>script</key>
<string>/usr/local/bin/chunkc {query}</string>
<key>scriptargtype</key>
<integer>0</integer>
<key>scriptfile</key>
<string></string>
<key>type</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.action.script</string>
<key>uid</key>
<string>ACE4AC35-AD9F-4415-8820-FDAA27312B24</string>
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>alfredfiltersresults</key>
<true/>
<key>alfredfiltersresultsmatchmode</key>
<integer>2</integer>
<key>argumenttreatemptyqueryasnil</key>
<false/>
<key>argumenttrimmode</key>
<integer>0</integer>
<key>argumenttype</key>
<integer>1</integer>
<key>escaping</key>
<integer>0</integer>
<key>keyword</key>
<string>chunkc</string>
<key>queuedelaycustom</key>
<integer>3</integer>
<key>queuedelayimmediatelyinitially</key>
<true/>
<key>queuedelaymode</key>
<integer>0</integer>
<key>queuemode</key>
<integer>1</integer>
<key>runningsubtext</key>
<string></string>
<key>script</key>
<string></string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
<string>chunkc</string>
<key>subtext</key>
<string></string>
<key>title</key>
<string>chunkc</string>
<key>type</key>
<integer>8</integer>
<key>withspace</key>
<false/>
</dict>
<key>type</key>
<string>alfred.workflow.input.scriptfilter</string>
<key>uid</key>
<string>F9C39BDA-EC36-4EBB-A6F7-0E29F8722058</string>
<key>version</key>
<integer>3</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>concurrently</key>
<false/>
<key>escaping</key>
<integer>0</integer>
<key>script</key>
<string>/usr/local/bin/chunkc {query}</string>
<key>scriptargtype</key>
<integer>0</integer>
<key>scriptfile</key>
<string></string>
<key>type</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.action.script</string>
<key>uid</key>
<string>2B424613-BAFC-4406-99A6-32B245E46361</string>
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>action</key>
<integer>0</integer>
<key>argument</key>
<integer>3</integer>
<key>argumenttext</key>
<string>tiling::window --warp west</string>
<key>focusedappvariable</key>
<false/>
<key>focusedappvariablename</key>
<string></string>
<key>hotkey</key>
<integer>0</integer>
<key>hotmod</key>
<integer>0</integer>
<key>hotstring</key>
<string></string>
<key>leftcursor</key>
<false/>
<key>modsmode</key>
<integer>0</integer>
<key>relatedAppsMode</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.trigger.hotkey</string>
<key>uid</key>
<string>10B568C3-9FDC-42E0-A07C-F858DFC6B828</string>
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>action</key>
<integer>0</integer>
<key>argument</key>
<integer>3</integer>
<key>argumenttext</key>
<string>tiling::window --warp east</string>
<key>focusedappvariable</key>
<false/>
<key>focusedappvariablename</key>
<string></string>
<key>hotkey</key>
<integer>0</integer>
<key>hotmod</key>
<integer>0</integer>
<key>hotstring</key>
<string></string>
<key>leftcursor</key>
<false/>
<key>modsmode</key>
<integer>0</integer>
<key>relatedAppsMode</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.trigger.hotkey</string>
<key>uid</key>
<string>63CF054D-4F68-4303-9594-1B5EDB68A87A</string>
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>action</key>
<integer>0</integer>
<key>argument</key>
<integer>3</integer>
<key>argumenttext</key>
<string>tiling::window --warp north</string>
<key>focusedappvariable</key>
<false/>
<key>focusedappvariablename</key>
<string></string>
<key>hotkey</key>
<integer>0</integer>
<key>hotmod</key>
<integer>0</integer>
<key>hotstring</key>
<string></string>
<key>leftcursor</key>
<false/>
<key>modsmode</key>
<integer>0</integer>
<key>relatedAppsMode</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.trigger.hotkey</string>
<key>uid</key>
<string>5F427E34-8D6D-4CC4-8B73-4DE54B8792A1</string>
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>action</key>
<integer>0</integer>
<key>argument</key>
<integer>3</integer>
<key>argumenttext</key>
<string>tiling::window --warp south</string>
<key>focusedappvariable</key>
<false/>
<key>focusedappvariablename</key>
<string></string>
<key>hotkey</key>
<integer>0</integer>
<key>hotmod</key>
<integer>0</integer>
<key>hotstring</key>
<string></string>
<key>leftcursor</key>
<false/>
<key>modsmode</key>
<integer>0</integer>
<key>relatedAppsMode</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.trigger.hotkey</string>
<key>uid</key>
<string>15B866B0-3920-4CC9-AF3D-E19D7D2B7119</string>
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>action</key>
<integer>0</integer>
<key>argument</key>
<integer>3</integer>
<key>argumenttext</key>
<string>tiling::window --toggle fullscreen</string>
<key>focusedappvariable</key>
<false/>
<key>focusedappvariablename</key>
<string></string>
<key>hotkey</key>
<integer>0</integer>
<key>hotmod</key>
<integer>0</integer>
<key>hotstring</key>
<string></string>
<key>leftcursor</key>
<false/>
<key>modsmode</key>
<integer>0</integer>
<key>relatedAppsMode</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.trigger.hotkey</string>
<key>uid</key>
<string>E171CAD0-869E-43EF-8481-900361874175</string>
<key>version</key>
<integer>2</integer>
</dict>
</array>
<key>readme</key>
<string></string>
<key>uidata</key>
<dict>
<key>10B568C3-9FDC-42E0-A07C-F858DFC6B828</key>
<dict>
<key>xpos</key>
<integer>20</integer>
<key>ypos</key>
<integer>140</integer>
</dict>
<key>15B866B0-3920-4CC9-AF3D-E19D7D2B7119</key>
<dict>
<key>xpos</key>
<integer>20</integer>
<key>ypos</key>
<integer>470</integer>
</dict>
<key>2B424613-BAFC-4406-99A6-32B245E46361</key>
<dict>
<key>xpos</key>
<integer>270</integer>
<key>ypos</key>
<integer>140</integer>
</dict>
<key>5F427E34-8D6D-4CC4-8B73-4DE54B8792A1</key>
<dict>
<key>xpos</key>
<integer>20</integer>
<key>ypos</key>
<integer>360</integer>
</dict>
<key>63CF054D-4F68-4303-9594-1B5EDB68A87A</key>
<dict>
<key>xpos</key>
<integer>20</integer>
<key>ypos</key>
<integer>250</integer>
</dict>
<key>ACE4AC35-AD9F-4415-8820-FDAA27312B24</key>
<dict>
<key>xpos</key>
<integer>270</integer>
<key>ypos</key>
<integer>20</integer>
</dict>
<key>E171CAD0-869E-43EF-8481-900361874175</key>
<dict>
<key>xpos</key>
<integer>20</integer>
<key>ypos</key>
<integer>580</integer>
</dict>
<key>F9C39BDA-EC36-4EBB-A6F7-0E29F8722058</key>
<dict>
<key>xpos</key>
<integer>20</integer>
<key>ypos</key>
<integer>20</integer>
</dict>
</dict>
<key>webaddress</key>
<string>https://github.com/kejadlen/chunkc.alfredworkflow</string>
</dict>
</plist>
Loading…
Cancel
Save