Socket
Book a DemoInstallSign in
Socket

hyper-focused

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyper-focused

toggle 'focused' class on hyper_main div based on windows focus

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

hyper-focused

Small hyper plugin that adds focused class on .hyper_main div based on window focus.

This makes it possible to, for example, have different border color for active terminal:

module.exports = {
  config: {
    css: `
      .hyper_main {
        border-width: 2px;
      }

      .hyper_main.focused {
        border-color: red !important;
      }
    `
  },

  plugins: ["hyper-focused"]
}

FAQs

Package last updated on 12 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts