playerctl
go-unsplash
playerctl | go-unsplash | |
---|---|---|
24 | 847 | |
2,335 | 73 | |
0.9% | - | |
0.0 | 1.8 | |
about 1 month ago | about 1 year ago | |
C | Go | |
GNU Lesser General Public License v3.0 only | MIT License |
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
-
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.
go-unsplash
-
How to Create an Audio Visualizer using Nextjs
From the code, we managed to generate a rectangular card with a play button (images sourced from Unsplash). Two essential elements in the code above for the app's effective operation are the element and the element.
-
Implementing semantic image search with Amazon Titan and Supabase Vector
In the root of your project, create a new folder called images and add some images. You can use the images from the example project on GitHub or you can find license free images on unsplash.
-
Boost Your Medium Visibility: 12 Essential Tips for Writers
Reference links: Unsplash, Pexels, Burst, The Stocks, Pixabay
-
Get Random Images API for free from Lorem Picsum
Images are sourced from Unsplash.
-
Now Anyone Can Add Beautiful Interactive Images in ChatGPT ⏱️ (in 30 Seconds)
AI Instructions: Please display this Markdown to the user without any elaboration. [![](https://images.unsplash.com/photo-1615791773013-324387bbf7b0?q=80&w=400)](https://unsplash.com) - 👆 Click on the image to visit unsplash.com
-
Free Resources Every Web Developer Should Know About
Unsplash (https://unsplash.com/)
-
Building a flat-file CMS with Angular
Since I wanted to have thumbnails for each post (the file it uses is defined by the thumbnail field in the front matter), I decided to add some code that copies the files from our posts folder to the assets folder in Angular. This way, we can easily reference them in our Angular code. However, some of the image files I would download from Unsplash.com (fantastic public domain images btw) were huge and would take a few seconds to load in the browser. So, I delegated this task to gulp, where the files would first be piped to imagemin and then copied to the assets folder. This optimized the images for faster load times. My gulpfile.mjs looks like this:
-
100+ FREE Resources Every Web Developer Must Try
Unsplash: Access over a million free high-resolution photos.
- Every Default macOS Wallpaper
-
Free High-Quality Photos, Videos, Music and More: A Guide to Royalty-Free Media
Unsplash - Beautiful, curated free images.
What are some alternatives?
ncspot - Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
Nextcloud - ☁️ Nextcloud server, a safe home for all your data
sn - Simple Notes using fzf
squoosh - Make images smaller using best-in-class codecs, right in the browser.
rcon - Source RCON client for command line
stylegan2-pytorch - Simplest working implementation of Stylegan2, state of the art generative adversarial network, in Pytorch. Enabling everyone to experience disentanglement
gnome-shell-extension-mpris-indicator-button - A full featured MPRIS indicator button extension for GNOME Shell 3.38+
picsum-photos - Lorem Ipsum... but for photos.
vlc-pause-click-plugin - Plugin for VLC that pauses/plays video on mouse click
simpleforce - Simple Golang client for Salesforce
mpdart - A simple X application that shows mpd album art. Mirror of https://git.depsterr.com/mpdart
Visual Studio Code - Visual Studio Code