1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-18 06:08:06 +00:00

remove preferred apps/alternates - same can be accomplished using aliases

This commit is contained in:
kepler155c@gmail.com
2020-06-15 19:54:42 -06:00
parent 156b604a58
commit 42bd4b2b69
8 changed files with 64 additions and 151 deletions

View File

@@ -1,4 +1,3 @@
local Alt = require('opus.alternate')
local Array = require('opus.array')
local class = require('opus.class')
local Config = require('opus.config')
@@ -469,13 +468,13 @@ function page:eventHandler(event)
shell.switchTab(shell.openTab(event.button.app.run))
elseif event.type == 'shell' then
shell.switchTab(shell.openTab(Alt.get('shell')))
shell.switchTab(shell.openTab('shell'))
elseif event.type == 'lua' then
shell.switchTab(shell.openTab(Alt.get('lua')))
shell.switchTab(shell.openTab('Lua'))
elseif event.type == 'files' then
shell.switchTab(shell.openTab(Alt.get('files')))
shell.switchTab(shell.openTab('Files'))
elseif event.type == 'network' then
shell.switchTab(shell.openTab('Network'))