hyperpower icon indicating copy to clipboard operation
hyperpower copied to clipboard

Can't turn on wow mode

Open Suzie97 opened this issue 3 years ago • 5 comments

I tried wow and WOW_MODE_TOGGLE. I can't turn it on though. What is the correct command??

I'm using elementary OS 5.1.7 based on Ubuntu 18.04.

Suzie97 avatar May 03 '21 02:05 Suzie97

Same, i use windows 10, does anyone know?

angelnext avatar May 09 '21 16:05 angelnext

I tried wow and WOW_MODE_TOGGLE. I can't turn it on though. What is the correct command??

I'm using elementary OS 5.1.7 based on Ubuntu 18.04.

Create an alias that outputs one of the lines that hyperpower is looking for, e.g. in .bashrc add this:

alias wow="echo wow: command not found"

Use a GUI-editor to add the alias to your .bashrc; when you use a terminal-based editor, hyper will interfere by interpreting the line to trigger hyperpower. Fun stuff to try out later!

I could find the lines that hyperpower is looking for in ~/.hyper_plugins/node_modules/hyperpower/index.js

rogererens avatar May 24 '21 23:05 rogererens

This line prevents hyperpower from recognizing the exact pattern when editing in the terminal:

alias wow="echo 'wow:' 'command not found'"

It splits the string into two pieces. Only when you run the alias, echo concatenates them to form the output pattern that triggers hyperpower.

rogererens avatar May 25 '21 21:05 rogererens

I tried wow and WOW_MODE_TOGGLE. I can't turn it on though. What is the correct command??

I'm using elementary OS 5.1.7 based on Ubuntu 18.04.

I am using Ubuntu 20.04 and I am facing the same problem, I made the alias and it seems to work

slashtechno avatar Jun 28 '21 22:06 slashtechno

The proper command is "wowmode". I had to actually dig through the code to determine this. The docs don't explain it at all. Take note, developer.

I created an alias for "wow" to make it easier :-)

outlan avatar Nov 09 '22 21:11 outlan