mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[PR #223] [MERGED] Allow removing a keybind #1608
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1608
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/spotify-player/pull/223
Author: @Kuba314
Created: 7/26/2023
Status: ✅ Merged
Merged: 7/29/2023
Merged by: @aome510
Base:
master← Head:allow-keybind-removal📝 Commits (1)
bb336dfAllow removing a keybind📊 Changes
4 files changed (+29 additions, -12 deletions)
View changed files
📝
docs/config.md(+4 -1)📝
spotify_player/src/command.rs(+3 -0)📝
spotify_player/src/config/keymap.rs(+6 -0)📝
spotify_player/src/ui/popup.rs(+16 -11)📄 Description
This is done by introducing a new
Command::None, which does nothing and also doesn't appear in the help menu.To remove a default or any previously defined keybind, simply set its command like this:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.