npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hyper-pocillo-controls

v1.0.0

Published

Pretty window controls from the Pocillo theme for hyper

Downloads

9

Readme

hyper-pocillo-controls

Pocillo-themed window controls for Hyper.

A plugin that makes the close, minimize, and maximize buttons look like the Pocillo GTK Theme window controls, replacing the Windows 10-themed window controls. This plugin has been thoroughly tested in Ubuntu and Windows 10, and works with both v1.4.8 (old stable) and the v2.0.0 canary and stable versions.

Based on the Pocillo GTK Theme source, this plugin aims to match the built-in theme shipped with Ubuntu Budgie 18.04 LTS. You're ~welcome~ encouraged to fork this project and modify it if you need to tinker with the colors, or create a PR if I missed something that needs fixing.

This plugin is heavily inspired by my other window controls project for Hyper: hyper-arc-dark-controls, which is why you'll see a lot of similar code between those two projects.

screenshot

Note

Besides theming the window controls, this plugin is also theming the window header of the Hyper window. And while it's designed to work perfectly with the hyperterm-atom-dark-theme, it also integrates fine with vanilla-themed Hyper. However, I cannot take every theme and plugin into account. If the plugin doesn't look great on xyz-theme, then please do create an issue and I will look into it. But since I don't own a Mac, I cannot test the plugin on every OS, although it's been tested on Linux and Windows 10 which is what I have available.

Changelog

1.0.0

  • Stable release
  • Documentation changes

1.0.0-beta

  • Added check for showWindowControls: 'left' (5cb13e8).
  • Added check for showWindowControls: false (90f38d8).
  • Added variables instead of static values (424e3a6).

1.0.0-alpha

  • Initial commit.

Install

Hyper store:

hyper i hyper-pocillo-controls

Manually:

  1. Open Hyper's preferences with Ctrl+, (or manually at ~/.hyper.js) with your editor.

  2. Update your list of plugins to include hyper-pocillo-controls, like so:

     plugins: [
         'hyper-pocillo-controls'
     ],
  3. Reload (Ctrl+Shift+R) or restart Hyper and voila!

hpm (1.4.8):

  1. Install using hpm i hyper-pocillo-controls
  2. Reload (Ctrl+Shift+R) or restart Hyper and voila!

Configuration

You can configure the window controls like you would in your ~/.hyper.js.

  • showWindowControls: true - default, will display the window controls on the right.
  • showWindowControls: 'left' - will display the window controls to the left, like on a Mac.
  • showWindowControls: false - will disable the window controls and only theme the header.

To Do

  • Config for Pocillo Light.
  • Create a check to see if the window is focused, and add a class if not, so the window controls will be "faded" like on real window controls.

Related

License

  • The code is released under the MIT license
  • The inline SVGs are licensed under CC BY-SA 4.0