Make behavior of Shift modifier consistent

Previously, Shift+o opened the menu for the currently playing item
while Shift+x copied a link to the currently selected item. Now Shift
operates on the currently playing item in both cases.
This commit is contained in:
Ronak Buch
2021-05-06 15:38:47 -04:00
committed by Henrik Friedrichsen
parent f6a895e160
commit b0d2e8f62e
2 changed files with 4 additions and 4 deletions

View File

@@ -133,8 +133,8 @@ depending on your desktop environment settings. Have a look at the
* `r` to toggle repeat mode
* `z` to toggle shuffle playback
* `q` quits ncspot
* `x` copies a sharable URL of the song to the system clipboard
* `Shift-x` copies a sharable URL of the currently selected item to the system clipboard
* `x` copies a sharable URL of the currently selected item to the system clipboard
* `Shift-x` copies a sharable URL of the currently playing track to the system clipboard
Use `/` to open a Vim-like search bar, you can use `n` and `N` to go for the next/previous
search occurrence, respectivly.

View File

@@ -376,8 +376,8 @@ impl CommandManager {
kb.insert("r".into(), Command::Repeat(None));
kb.insert("z".into(), Command::Shuffle(None));
kb.insert("x".into(), Command::Share(TargetMode::Current));
kb.insert("Shift+x".into(), Command::Share(TargetMode::Selected));
kb.insert("x".into(), Command::Share(TargetMode::Selected));
kb.insert("Shift+x".into(), Command::Share(TargetMode::Current));
kb.insert("F1".into(), Command::Focus("queue".into()));
kb.insert("F2".into(), Command::Focus("search".into()));