Stuff.
This commit is contained in:
+5
-1
@@ -16,8 +16,12 @@ let () =
|
||||
|
||||
(match startup_script with
|
||||
| Some s ->
|
||||
print_string s;
|
||||
print_endline " : Have something";
|
||||
Mruby.Core.mrb_load_string state.mrb (Mruby.Initial.initial_code s)
|
||||
| None -> Mruby.Core.mrb_load_string state.mrb "");
|
||||
| None ->
|
||||
print_endline "Nothing";
|
||||
Mruby.Core.mrb_load_string state.mrb (Mruby.Initial.initial_code ""));
|
||||
Mruby.Core.error_check state.mrb;
|
||||
|
||||
if Xcb.Connection.flush state.conn <= 0 then exit 1;
|
||||
|
||||
@@ -33,6 +33,7 @@ KEY_MAP = {
|
||||
|
||||
CONFIG_FILE = "%s"
|
||||
|
||||
puts "hello-1"
|
||||
DEFAULT = <<CODE
|
||||
# ==== State ====
|
||||
|
||||
@@ -74,6 +75,8 @@ def in_project?(ws)
|
||||
!SPECIAL.key?(ws)
|
||||
end
|
||||
|
||||
puts "hello1"
|
||||
|
||||
# Toggle between a special-mode workspace (terminal/browser/music/misc/todo)
|
||||
# and whatever workspace you were last on. Starts the associated app if
|
||||
# it isn't already running. `ws` is the current workspace, passed in by
|
||||
@@ -131,6 +134,8 @@ bind 81 do |_, ws|
|
||||
go_special :todo, ws
|
||||
end
|
||||
|
||||
puts "hello2"
|
||||
|
||||
# ==== Project navigation ====
|
||||
|
||||
(1..MAX_PROJECTS).each do |n|
|
||||
@@ -164,8 +169,12 @@ end
|
||||
# ==== Startup ====
|
||||
|
||||
go_project(1, 0)
|
||||
|
||||
puts "hello3"
|
||||
CODE
|
||||
|
||||
puts "hello0"
|
||||
|
||||
BINDINGS = []
|
||||
SYSTEM_BINDINGS = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user