Skip to content

Commit 0329432

Browse files
committed
ref(whichkey): vlc installer which supports playerctl and tray-icon for background music
1 parent f5f4800 commit 0329432

4 files changed

Lines changed: 74 additions & 67 deletions

File tree

README.md

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -306,47 +306,47 @@ Neovim text objects + LSP whichkey + touchcursor keyboard layout + minimal zsh/y
306306

307307
<details open><summary></summary>
308308

309-
| Key Combination | Description | compatibility |
310-
| :----------------: | :------------------------------------------ | :-----------------------------: |
311-
| `ctrl+\` | toggle panel (terminal) visibility | vscode |
312-
| `alt+y` | send sequence to open yazi | vscode |
313-
| `alt+ctrl+r` | select from shell history | vscode |
314-
| `alt+0` | switch to last tab | wezterm/windows-terminal |
315-
| `alt+1...9` | switch to tab 1...9 | vscode/wezterm/windows-terminal |
316-
| `alt+a` | Scroll terminal down by page | vscode/wezterm/windows-terminal |
317-
| `alt+q` | Scroll terminal up by page | vscode/wezterm/windows-terminal |
318-
| `alt+d` | Scroll terminal down | vscode/wezterm/windows-terminal |
319-
| `alt+e` | Scroll terminal up | vscode/wezterm/windows-terminal |
320-
| `alt+shift+d` | Scroll terminal to next command | vscode/wezterm |
321-
| `alt+shift+e` | Scroll terminal to previous command | vscode/wezterm |
322-
| `alt+t` | Scroll terminal to top | vscode/wezterm/windows-terminal |
323-
| `alt+g` | Scroll terminal to bottom | vscode/wezterm/windows-terminal |
324-
| `alt+s` | Switch to previous tab | vscode/wezterm/windows-terminal |
325-
| `alt+f` | Switch to next tab | vscode/wezterm/windows-terminal |
326-
| `alt+shift+s` | move tab backward (vscode move to last tab) | vscode/wezterm/windows-terminal |
327-
| `alt+shift+f` | move tab forward (vscode move to last tab) | vscode/wezterm/windows-terminal |
328-
| `alt+c` | copy | vscode/wezterm/windows-terminal |
329-
| `alt+v` | paste | vscode/wezterm/windows-terminal |
330-
| `ctrl+alt+h` | split horizontal | vscode/wezterm/windows-terminal |
331-
| `ctrl+alt+v` | split vertical | vscode/wezterm/windows-terminal |
309+
| Key Combination | Description | compatibility |
310+
| :----------------- | :------------------------------------------ | :-----------------------------: |
311+
| `ctrl+\` | toggle panel (terminal) visibility | vscode |
312+
| `alt+y` | send sequence to open yazi | vscode |
313+
| `alt+ctrl+r` | select from shell history | vscode |
314+
| `alt+0` | switch to last tab | wezterm/windows-terminal |
315+
| `alt+1...9` | switch to tab 1...9 | vscode/wezterm/windows-terminal |
316+
| `alt+a` | Scroll terminal down by page | vscode/wezterm/windows-terminal |
317+
| `alt+q` | Scroll terminal up by page | vscode/wezterm/windows-terminal |
318+
| `alt+d` | Scroll terminal down | vscode/wezterm/windows-terminal |
319+
| `alt+e` | Scroll terminal up | vscode/wezterm/windows-terminal |
320+
| `alt+shift+d` | Scroll terminal to next command | vscode/wezterm |
321+
| `alt+shift+e` | Scroll terminal to previous command | vscode/wezterm |
322+
| `alt+t` | Scroll terminal to top | vscode/wezterm/windows-terminal |
323+
| `alt+g` | Scroll terminal to bottom | vscode/wezterm/windows-terminal |
324+
| `alt+s` | Switch to previous tab | vscode/wezterm/windows-terminal |
325+
| `alt+f` | Switch to next tab | vscode/wezterm/windows-terminal |
326+
| `alt+shift+s` | move tab backward (vscode move to last tab) | vscode/wezterm/windows-terminal |
327+
| `alt+shift+f` | move tab forward (vscode move to last tab) | vscode/wezterm/windows-terminal |
328+
| `alt+c` | copy | vscode/wezterm/windows-terminal |
329+
| `alt+v` | paste | vscode/wezterm/windows-terminal |
330+
| `ctrl+alt+h` | split horizontal | vscode/wezterm/windows-terminal |
331+
| `ctrl+alt+v` | split vertical | vscode/wezterm/windows-terminal |
332332
| `ctrl+shift+left` | resize window left | vscode/wezterm/windows-terminal |
333333
| `ctrl+shift+right` | resize window right | vscode/wezterm/windows-terminal |
334-
| `ctrl+shift+up` | resize window up | vscode/wezterm/windows-terminal |
334+
| `ctrl+shift+up` | resize window up | vscode/wezterm/windows-terminal |
335335
| `ctrl+shift+down` | resize window down | vscode/wezterm/windows-terminal |
336-
| `ctrl+left` | focus left | vscode/wezterm/windows-terminal |
337-
| `ctrl+right` | focus rigth | vscode/wezterm/windows-terminal |
338-
| `ctrl+up` | focus up | vscode/wezterm/windows-terminal |
339-
| `ctrl+down` | focus down | vscode/wezterm/windows-terminal |
340-
| `ctrl+t` | new tab | vscode/wezterm/windows-terminal |
341-
| `ctrl+w` | close tab | vscode/wezterm/windows-terminal |
342-
| `ctrl+shift+t` | move panel to new tab | vscode/wezterm/windows-terminal |
343-
| `ctrl+shift+w` | move panel to new window | vscode/wezterm/windows-terminal |
344-
| `ctrl+shift+n` | new window | vscode/wezterm/windows-terminal |
345-
| `ctrl+;` | recent tab | wezterm |
346-
| `shift+space` | tmux-copy-mode-like | wezterm/windows-terminal |
347-
| `ctrl+shift+f` | find text | vscode/wezterm/windows-terminal |
348-
| `ctrl+plus` | zoom in | vscode/wezterm/windows-terminal |
349-
| `ctrl+minus` | zoom out | vscode/wezterm/windows-terminal |
336+
| `ctrl+left` | focus left | vscode/wezterm/windows-terminal |
337+
| `ctrl+right` | focus rigth | vscode/wezterm/windows-terminal |
338+
| `ctrl+up` | focus up | vscode/wezterm/windows-terminal |
339+
| `ctrl+down` | focus down | vscode/wezterm/windows-terminal |
340+
| `ctrl+t` | new tab | vscode/wezterm/windows-terminal |
341+
| `ctrl+w` | close tab | vscode/wezterm/windows-terminal |
342+
| `ctrl+shift+t` | move panel to new tab | vscode/wezterm/windows-terminal |
343+
| `ctrl+shift+w` | move panel to new window | vscode/wezterm/windows-terminal |
344+
| `ctrl+shift+n` | new window | vscode/wezterm/windows-terminal |
345+
| `ctrl+;` | recent tab | wezterm |
346+
| `shift+space` | tmux-copy-mode-like | wezterm/windows-terminal |
347+
| `ctrl+shift+f` | find text | vscode/wezterm/windows-terminal |
348+
| `ctrl+plus` | zoom in | vscode/wezterm/windows-terminal |
349+
| `ctrl+minus` | zoom out | vscode/wezterm/windows-terminal |
350350

351351
</details>
352352

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@
789789
"bindings": [
790790
{
791791
"key": "b",
792-
"name": "install brew karabiner ffmpeg mpv poppler wezterm (MacOS)",
792+
"name": "install brew karabiner ffmpeg poppler vlc wezterm (MacOS)",
793793
"commands": [
794794
"workbench.action.terminal.newWithProfile",
795795
"workbench.action.terminal.sendSequence",
@@ -812,7 +812,7 @@
812812
"text": "source ${ZDOTDIR:-~}/.zshrc \n"
813813
},
814814
{
815-
"text": "brew install --cask karabiner-elements mpv wezterm \n"
815+
"text": "brew install --cask karabiner-elements vlc wezterm \n"
816816
},
817817
{
818818
"text": "pixi global install ffmpeg poppler; # yazi's preview \n"
@@ -821,7 +821,7 @@
821821
},
822822
{
823823
"key": "n",
824-
"name": "install nix-env devour ffmpeg mpv poppler wezterm zathura (Linux)",
824+
"name": "install nix-env devour ffmpeg poppler vlc wezterm zathura (Linux)",
825825
"commands": [
826826
"workbench.action.createTerminalEditor",
827827
"workbench.action.terminal.sendSequence",
@@ -840,13 +840,13 @@
840840
"text": "# https://nix.dev/manual/nix/2.28/installation/uninstall \n"
841841
},
842842
{
843-
"text": "bash -i -c \"nix-env -iA nixpkgs.devour nixpkgs.zathura \"; \n"
843+
"text": "bash -i -c \"nix-env -iA nixpkgs.devour nixpkgs.zathura nixpkgs.vlc \"; \n"
844844
},
845845
{
846-
"text": "curl -C- -o ~/.pixi/bin/wezterm -L https://github.com/wezterm/wezterm/releases/download/nightly/WezTerm-nightly-Ubuntu20.04.AppImage && chmod +x ~/.pixi/bin/wezterm \n"
846+
"text": "# curl -C- -o ~/.pixi/bin/vlc -L https://github.com/ivan-hc/VLC-appimage/releases/download/20251121-181227/VLC-media-player_3.0.21-31-archimage5.0-x86_64.AppImage && chmod +x ~/.pixi/bin/vlc \n"
847847
},
848848
{
849-
"text": "curl -C- -o ~/.pixi/bin/mpv -L https://github.com/YeferYV/sixelrice/releases/download/v0.0.12/mpv.appimage && chmod +x ~/.pixi/bin/mpv \n"
849+
"text": "curl -C- -o ~/.pixi/bin/wezterm -L https://github.com/wezterm/wezterm/releases/download/nightly/WezTerm-nightly-Ubuntu20.04.AppImage && chmod +x ~/.pixi/bin/wezterm \n"
850850
},
851851
{
852852
"text": "pixi global install ffmpeg poppler; # yazi's preview \n"
@@ -855,7 +855,7 @@
855855
},
856856
{
857857
"key": "s",
858-
"name": "install scoop zsh ffmpeg mpv poppler wezterm (Windows)",
858+
"name": "install scoop zsh ffmpeg poppler vlc wezterm (Windows)",
859859
"commands": [
860860
"workbench.action.terminal.newWithProfile",
861861
"workbench.action.terminal.sendSequence",
@@ -871,7 +871,7 @@
871871
"text": "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser; iwr get.scoop.sh | iex \n"
872872
},
873873
{
874-
"text": "scoop bucket add extras; scoop install mpv msys2 wezterm \n"
874+
"text": "scoop bucket add extras; scoop install vlc msys2 wezterm \n"
875875
},
876876
{
877877
"text": "msys2 -c 'pacman -S --noconfirm zsh' \n"

0 commit comments

Comments
 (0)