open:hs-display

hs display

key:bind(capslockCmd, 's', {}, function()
    -- hs.application.launchOrFocus('디스플레이')
    hs.osascript.applescript([[
        tell application "System Preferences"
            activate
            set current pane to pane "com.apple.preference.displays"
        end tell
    ]])
end)

key:bind(capslockCmd, 's', {}, function()
    hs.osascript.applescript([[
        tell application "System Preferences"
            activate
            set current pane to pane "com.apple.preference.displays"
        end tell
    ]])
end)

  • open/hs-display.txt
  • Last modified: 2024/10/05 06:15
  • by 127.0.0.1