playerctl
🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others. (by altdesktop)
.dotfiles
My personal dotfiles (by tralph3)
playerctl | .dotfiles | |
---|---|---|
24 | 15 | |
2,335 | 23 | |
0.9% | - | |
0.0 | 8.8 | |
about 1 month ago | 7 days ago | |
C | Emacs Lisp | |
GNU Lesser General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
playerctl
Posts with mentions or reviews of playerctl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-17.
-
Spotify is back on the aur
if you dont mind setting up command shortcuts, look into playerctl https://github.com/altdesktop/playerctl
- How do I make Play/Pause media keys ignore Firefox if Spotify is running?
-
Idle & Lock screen configuration in nwg-shell
The latest nwg-shell-config update brings a new tab, to configure idle and lock screen settings. Under the hood, it provides the nwg-lock command, which is a wrapper around gtklock or swaylock. It adds a random image background, either local, or downloaded from https://unsplash.com. You may also display an overlay window to control mpris media player with playerctl.
-
Is it possible to use terminal or ncurses output elsewhere?
Yes it would be possible to pipe the output into a script/program and parse it to extract the information, but in my opinion not the best solution. Instead you can query information from media players that support MPRIS https://wiki.archlinux.org/title/MPRIS via tools like playerctl https://github.com/altdesktop/playerctl
-
How to control current MPRIS client with bluetooth?
Playerctl can control the currently active media player.
-
Is there an easy way to Pause media over ssh?
I think both firefox and vlc support MPRIS, which can be controlled from the command line using playerctl, if you have that installed: ssh name@host playerctl play-pause
-
How do I pause/play audio with an sxhkd keybind?
You can use playerctl for browsers, spotify and similar players.
-
mpsyt + cvlc, control via shortcuts
VLC (and therefore cvlc as well, I suppose) can be controlled via MPRIS (using playerctl, for example).
-
What are some of your self made scripts that you're proud of
My super-duper simple playerctl script that works flawlessly for years to prioritize my media keys to work on Spotify or ncspot over anything else. If I'm listening to Spotify or ncspot, why do I need to control any other stuff with my media keys, right?! Without it, if I have any other mpris player open, which can be a lot of things some not even related to media, my keyboard media keys won't focus on the music players I use for actually listening to music. ncspot doesn't respond to playerctl --player=ncspot play-pause, so I have to detect if it is playing or paused, so I can run playerctl --player=ncspot play or playerctl --player=ncspot pause separately. Script.
-
Redirect keys to other window (Herbstluft WM)
Try playerctl.
.dotfiles
Posts with mentions or reviews of .dotfiles.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-17.
-
changing theme every 2 hours
Sure, it's in my dotfiles repo. Here are the scripts. You'll notice they are actually quite short and simple. There's also the templates directory that contains, well, the templates. The heavy lifting is done by the configuration in each program. Since not all of them allow for an easy way to import other files, I had to get creative for some of them...
-
emacs doesn't initialize packages
Here's my config, it's not very big.
-
eww configs in the wiki get slow over time
Here is my eww config.
-
Screen tearing on games with window managers
And here's my config for both qtile and awesome (I don't have anything written for xmonad yet), in case you need it: https://github.com/tralph3/.dotfiles/tree/master/.config
-
Tearing on games
Anyone has any idea on what might be causing this? Here's my config for both WMs if you want to see them.
-
LSP: loop through language servers, conditionally alter some
I use this: https://github.com/tralph3/.dotfiles/blob/master/.config/nvim/lua/setup/lspconfig.lua
-
Dotfiles neovim
If you don't know how neovim is configured then I guess any config may be too much. I know I was super confused when I first started. The best thing for you to do is to try to piece together your own config over time. I personally think my config is very readable and easy to modify, but that's probably because I wrote it and I know where everything is. That said, it's not too big, so it may be easier for you to understand: https://github.com/tralph3/.dotfiles
-
Is anyone aware of a good tutorial on setting up .vimrc to pull from git on each fresh Linux install?
In case you want to check how this works: Arch install script, dotfiles.
-
Sumneko eats my memory until OOM
Can't reproduce. The language server never goes over 0.1% of my memory according to htop. Must be something wrong in your config. You might want to take a look at how I configure my lsp servers, here. Note that the author of lspconfig recommends against nvim-lsp-installer.
-
Show me your well organised lua config
I think mine is pretty neat: https://github.com/tralph3/.dotfiles/tree/master/.config/nvim
What are some alternatives?
When comparing playerctl and .dotfiles you can also consider the following projects:
ncspot - Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
Dotfiles.system
sn - Simple Notes using fzf
plasma-applet-commandoutput
rcon - Source RCON client for command line
arch-install - Personal Arch Linux installation script
gnome-shell-extension-mpris-indicator-button - A full featured MPRIS indicator button extension for GNOME Shell 3.38+
nvim-conf - Fennel based neovim configuration
vlc-pause-click-plugin - Plugin for VLC that pauses/plays video on mouse click
Dotfiles
mpdart - A simple X application that shows mpd album art. Mirror of https://git.depsterr.com/mpdart
dotfiles - Dotfiles for git configuration, aliases, and functions
playerctl vs ncspot
.dotfiles vs Dotfiles.system
playerctl vs sn
.dotfiles vs plasma-applet-commandoutput
playerctl vs rcon
.dotfiles vs arch-install
playerctl vs gnome-shell-extension-mpris-indicator-button
.dotfiles vs nvim-conf
playerctl vs vlc-pause-click-plugin
.dotfiles vs Dotfiles
playerctl vs mpdart
.dotfiles vs dotfiles