You are not logged in.
https://i.postimg.cc/jnn2pH8X/20230120-21h23m04s-grim.png
Work in progress
(foot is the name of the terminal)
Now, this is cool. Could you share the whole code of this? I'd like to to something similar.
Offline
Could you share the whole code of this?
It's actually visible in the screenshot. Here it is again, I haven't worked on it since then though:
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-only
clear
play() {
foot -e ffplay -nodisp "$@"
}
while : ; do
channel=$(
whiptail --nocancel --notags --title "My Crappy Radio Player (text)" --menu "Select channel" 16 100 9 \
"1" "Metal/Rock Radio!" \
"2" "Progressive Metal!" \
"3" "Symphonic Metal!" \
"4" "Alternative Rock!" \
"5" "Grunge Rock!" \
"6" "Classic Rock!" \
"7" "Exit" 3>&2 2>&1 1>&3
)
case "$channel" in
1) play https://kathy.torontocast.com:2800/ ;;
2) play http://23.237.150.98:8512/ ;;
3) play https://bob.hoerradar.de/radiobob-symphmetal-mp3-hq ;;
4) play https://ad-im-cmg.streamguys1.com/atl971hd2/atl971hd2-sgplayer-aac ;;
5) play http://bigrradio.cdnstream1.com/5200_48 ;;
6) play http://oom-cmg.streamguys1.com/orl989/orl989-sgplayer-aac ;;
7) exit
esac
done
exit
That uses whiptail but that can be replaced by dialog with no other changes if you prefer that.
EDIT: for Devuan replace foot with x-terminal-emulator, which should work in all systems regardless of the preferred terminal.
And here's a dwm scrot to stay on topic:
Last edited by Head_on_a_Stick (2023-01-24 17:53:52)
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII, 18.
Offline
a dwm scrot
The only thing better than dwm on devuan is xcowsay on dwm on devuan
Offline
^ Vanilla dwm with no status line? How quaint
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII, 18.
Offline
^ Vanilla dwm with no status line? How quaint
I've done plenty of patching and ricing and tinkering in the past, but eventually I found I was happiest and most productive with vanilla. It does have slstatus running with date and time though, it's just that the screenshoting program was on monitor #2 so this wasn't the monitor in focus. And I like having a systray for a couple of items I occasionally use, so I usually do the systray patch. Not much else. Picom for terminal transparency so I can see the pretty wallpapers. I like your setup though - nice colors, nice layout, very pleasant and comfortable looking. I don't know why you would spend your time trying so many other desktops and wm's when you have something so nice already.
Offline
The attachaside patch needs updating for v6.4 and I just can't be bothered. EDIT: a systray? In dwm? Heresy!
Last edited by Head_on_a_Stick (2023-01-25 19:53:18)
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII, 18.
Offline
The attachaside patch needs updating for v6.4 and I just can't be bothered. EDIT: a systray? In dwm? Heresy!
I love my little flameshot systray button. I'm not much of a suckless purist, in fact I abhor st and surf, but nearly everything about vanilla dwm is perfect for the way I work.
attachaside is for people whose brains are backward.
Offline
https://i.postimg.cc/jnn2pH8X/20230120-21h23m04s-grim.png
Work in progress
(foot is the name of the terminal)
Stinkin' fantastic HoaS!
You better know that I'm going to crappin' fork your crappy fork of My Crappy Radio Player...
I've already made some changes to the code to suit my personal taste; such as, changing it from whiptail to dialog, changing the terminal to xterm and having xterm automatically iconified when it opens to play a radio station.
However, I'm caught betwixt a crux of decisions since you went all GPL 3.0-only on me after I made it Public Domain...
You stinkin' stinker! HAHAHAHAHAHA!!!
To keep on topic, this is a screenshot of MiyoLinux - Saluta Semplice (based on Devuan Chimaera)
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
changing the terminal to xterm
Why not use x-terminal-emulator instead? That way it will use whatever emulator is set as the default alternative. Some people don't like xterm and it won't even be installed in some systems.
Back on topic: got bored of fighting with finit so switched to runit-init instead:
Made a polkid-dummy package 'cos I don't need that shit on my box.
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII, 18.
Offline
Why not use x-terminal-emulator instead?
Well, because there are a few people who like MiyoLinux (and the crappy stuff I offer), but they don't use Devuan/Debian. Plus, xterm can be made quite beautiful with a little bit'a .Xresources.
Thanks for doing what you did HoaS...I've never tried building a terminal-based app. You made it easy.
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline