lek 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/lek +1 -1
- data/examples/template.yml +37 -0
- data/lek.gemspec +1 -1
- data/lib/lek/workspaces.rb +2 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9408c40e3f65b552a7df13102722fb0c69e1774
|
|
4
|
+
data.tar.gz: 46438abfbe2f879b6da59cad01871b37b0c08584
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 641497a46db5c3f7ccf64144245cfba7ee674c5688cde19c41dfeac8976f61a781c6c5e0f620c6a2c716e5a461e4845d5c2eefa1d282ea0a2c6452ef35dd2f66
|
|
7
|
+
data.tar.gz: dfa5b28e1fdb5f3b095ed1a19a75432134bac69a00dd9e03f555957275764ff7ce63172d4e1562875a8f52751f0eabc6f3acf6e2f2b700d60914940e5c17d612
|
data/bin/lek
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
# lek template file
|
|
3
|
+
# NB: YAML syntax is sensitive to whitespace and indentation!
|
|
4
|
+
|
|
5
|
+
##### URLS IN BROWSER TABS #####
|
|
6
|
+
# list URLs here which will be opened in tabs in chrome
|
|
7
|
+
# multiple URLS should be on a line each, preceded by a dash and a space
|
|
8
|
+
# for example:
|
|
9
|
+
# urls:
|
|
10
|
+
# - https://stackoverflow.com/
|
|
11
|
+
# - https://rubygems.org/
|
|
12
|
+
urls:
|
|
13
|
+
-
|
|
14
|
+
|
|
15
|
+
##### TERMINALS & COMMANDS #####
|
|
16
|
+
# list terminals here, which will be opened in tabs in your terminal
|
|
17
|
+
# - path: <file path to be opened>
|
|
18
|
+
# - command: < command to execute in the terminal>
|
|
19
|
+
terminals:
|
|
20
|
+
- path:
|
|
21
|
+
command:
|
|
22
|
+
- path:
|
|
23
|
+
command:
|
|
24
|
+
- path:
|
|
25
|
+
command:
|
|
26
|
+
|
|
27
|
+
##### TEXT EDITOR & PROJECT FOLDERS #####
|
|
28
|
+
# list text editor project folders you want to open here
|
|
29
|
+
# use absolute paths please :-)
|
|
30
|
+
# for example:
|
|
31
|
+
# editors:
|
|
32
|
+
# - /home/username/code/mynewproject/
|
|
33
|
+
editors:
|
|
34
|
+
-
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
...
|
data/lek.gemspec
CHANGED
data/lib/lek/workspaces.rb
CHANGED
|
@@ -7,6 +7,8 @@ module Lek
|
|
|
7
7
|
puts "there are #{wm.desktops.last[:id] + 1} desktops"
|
|
8
8
|
# create a new desktop/workspace
|
|
9
9
|
wm.change_number_of_desktops(wm.desktops.last[:id] + 2)
|
|
10
|
+
# refresh the wm object
|
|
11
|
+
wm = WMCtrl.instance
|
|
10
12
|
puts "created new desktop with id #{wm.desktops.last[:id]}"
|
|
11
13
|
# switch to new workspace
|
|
12
14
|
wm.switch_desktop(wm.desktops.last[:id])
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lek
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcus Baw
|
|
@@ -75,6 +75,7 @@ files:
|
|
|
75
75
|
- bin/console
|
|
76
76
|
- bin/lek
|
|
77
77
|
- bin/setup
|
|
78
|
+
- examples/template.yml
|
|
78
79
|
- examples/test.yml
|
|
79
80
|
- lek.gemspec
|
|
80
81
|
- lib/lek.rb
|