diff options
| -rw-r--r-- | application_switch.lua | 16 | ||||
| -rw-r--r-- | ufo.lua | 16 | ||||
| -rw-r--r-- | window_layout.lua | 16 | 
3 files changed, 48 insertions, 0 deletions
| diff --git a/application_switch.lua b/application_switch.lua index a281d5f..8835fe5 100644 --- a/application_switch.lua +++ b/application_switch.lua @@ -1,3 +1,19 @@ +-- Copyright (c) 2019  Teddy Wing +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <https://www.gnu.org/licenses/>. + +  local activateAllWindows = true  application_switch = {} @@ -1,3 +1,19 @@ +-- Copyright (c) 2019  Teddy Wing +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <https://www.gnu.org/licenses/>. + +  ufo_mode = hs.hotkey.modal.new({'ctrl', 'option'}, 'u', 'UFO')  ufo_mode:bind({'ctrl', 'option'}, 'u', 'UFO Off', function()  	ufo_mode:exit() diff --git a/window_layout.lua b/window_layout.lua index 263bc89..0fbd1e9 100644 --- a/window_layout.lua +++ b/window_layout.lua @@ -1,3 +1,19 @@ +-- Copyright (c) 2019  Teddy Wing +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <https://www.gnu.org/licenses/>. + +  -- Do this when external monitor is connected  -- https://www.hammerspoon.org/docs/hs.screen.watcher.html  -- hs.screen.primaryScreen():name() == 'G247HL' | 
