|  | 
| 22 | 22 |   - [Kerberos TGT (krbtgt)](#Kerberos-TGT---up) | 
| 23 | 23 |   - [kubernetes-context](#kubernetes-context---up) | 
| 24 | 24 |   - [libreview](#libreview---up) | 
|  | 25 | +  - [mac-player](#mac-player---up) | 
| 25 | 26 |   - [mpc](#mpc---up) | 
| 26 | 27 |   - [network](#network---up) | 
| 27 | 28 |   - [network-bandwidth](#network-bandwidth---up) | 
| @@ -379,6 +380,12 @@ Show remote tracking branch together with diverge/sync state | 
| 379 | 380 | set -g @dracula-git-show-remote-status true | 
| 380 | 381 | ``` | 
| 381 | 382 | 
 | 
|  | 383 | +Show the current repository name in the status bar | 
|  | 384 | +```bash | 
|  | 385 | +# default is false | 
|  | 386 | +set -g @dracula-git-show-repo-name true | 
|  | 387 | +``` | 
|  | 388 | + | 
| 382 | 389 | ### gpu-info - [up](#table-of-contents) | 
| 383 | 390 | 
 | 
| 384 | 391 | These widgets display the current computational, ram, and power usage of installed graphics cards. | 
| @@ -510,6 +517,68 @@ set -g @dracula-kubernetes-eks-extract-account true | 
| 510 | 517 | This script retrieves and displays continuous glucose monitoring (CGM) data from the LibreView API. | 
| 511 | 518 | It caches the data to minimize API requests and displays the latest glucose level along with a trend indicator in a Tmux status bar. | 
| 512 | 519 | 
 | 
|  | 520 | + | 
|  | 521 | +### mac-player - [up](#table-of-contents) | 
|  | 522 | + | 
|  | 523 | +This widget and script displays music information provided by the native macOS players. | 
|  | 524 | + | 
|  | 525 | +The current supported apps are: | 
|  | 526 | + | 
|  | 527 | +- Native Players: | 
|  | 528 | +  - Spotify | 
|  | 529 | +  - Music - Apple Music | 
|  | 530 | +- Browser Players (active tab must match one of these URLs and requires Google Chrome or Safari): | 
|  | 531 | +  - youtube.com/watch | 
|  | 532 | +  - open.spotify.com | 
|  | 533 | + | 
|  | 534 | +It also has a remote-player feature. | 
|  | 535 | +The supported remote players are: | 
|  | 536 | + | 
|  | 537 | +- Spotify | 
|  | 538 | +- Music - Apple Music | 
|  | 539 | + | 
|  | 540 | +NOTE: `set -g @dracula-refresh-rate 5` affects this widget | 
|  | 541 | + | 
|  | 542 | +To change player icons: | 
|  | 543 | + | 
|  | 544 | +```bash | 
|  | 545 | +set -g @dracula-mac-player-play-icon "♪ " | 
|  | 546 | +set -g @dracula-mac-player-pause-icon "❚❚ " | 
|  | 547 | + | 
|  | 548 | +``` | 
|  | 549 | + | 
|  | 550 | +To change length of the widget (length 25 by default): | 
|  | 551 | + | 
|  | 552 | +```bash | 
|  | 553 | +set -g @dracula-mac-player-length 25 | 
|  | 554 | +``` | 
|  | 555 | + | 
|  | 556 | +To activate the remote: | 
|  | 557 | + | 
|  | 558 | +```bash | 
|  | 559 | +set -g @dracula-mac-player-remote true | 
|  | 560 | +``` | 
|  | 561 | + | 
|  | 562 | +To specify the app to use(`"Music"` or `"Spotify"`): | 
|  | 563 | + | 
|  | 564 | +```bash | 
|  | 565 | +set -g @dracula-mac-player-app "Music" | 
|  | 566 | +``` | 
|  | 567 | + | 
|  | 568 | +The default keybinds are: | 
|  | 569 | + | 
|  | 570 | +- `<prefix> + P` - Play/Pause | 
|  | 571 | +- `<prefix> + R` - Back to position 0/previous track | 
|  | 572 | +- `<prefix> + N` - Next track | 
|  | 573 | + | 
|  | 574 | +To change the keybinds: | 
|  | 575 | + | 
|  | 576 | +```bash | 
|  | 577 | +set -g @dracula-mac-player-remote-play-pause "P" | 
|  | 578 | +set -g @dracula-mac-player-remote-back "R" | 
|  | 579 | +set -g @dracula-mac-player-remote-next "N" | 
|  | 580 | +``` | 
|  | 581 | + | 
| 513 | 582 | ### mpc - [up](#table-of-contents) | 
| 514 | 583 | 
 | 
| 515 | 584 | This widget displays music information provided by mpc. | 
| @@ -594,6 +663,7 @@ This widget tries to display whether a vpn is connected. | 
| 594 | 663 | Tailscale exit nodes are fully supported for Linux and MacOS. | 
| 595 | 664 | 
 | 
| 596 | 665 | Set verbose to true in order to see the VPNs IP or name of Tailscale exit node. | 
|  | 666 | + | 
| 597 | 667 | ```bash | 
| 598 | 668 | set -g @dracula-network-vpn-verbose true | 
| 599 | 669 | ``` | 
| @@ -645,6 +715,7 @@ To limit the maximum length (0 means unlimited length): | 
| 645 | 715 | set -g @dracula-spotify-tui-max-len 30 | 
| 646 | 716 | ``` | 
| 647 | 717 | 
 | 
|  | 718 | + | 
| 648 | 719 | `set remote-g @dracula-refresh-rate 5` affects this widget | 
| 649 | 720 | 
 | 
| 650 | 721 | ### spr - [up](#table-of-contents) | 
| @@ -684,6 +755,9 @@ set -g @dracula-spr-remote-back "R" | 
| 684 | 755 | set -g @dracula-spr-remote-next "N" | 
| 685 | 756 | ``` | 
| 686 | 757 | 
 | 
|  | 758 | +`set -g @dracula-refresh-rate 5` affects this widget | 
|  | 759 | + | 
|  | 760 | + | 
| 687 | 761 | ### ssh-session - [up](#table-of-contents) | 
| 688 | 762 | 
 | 
| 689 | 763 | This widget displays the current username@host combination, both of the local machine as well as when connected via ssh. | 
|  | 
0 commit comments