The officially official Devuan Forum!

You are not logged in.

#551 2023-01-24 16:11:11

genxr
Member
Registered: 2022-12-08
Posts: 5  

Re: Show your desktop (rebooted)

Head_on_a_Stick wrote:

https://i.postimg.cc/jnn2pH8X/20230120-21h23m04s-grim.png

Work in progress smile

(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

#552 2023-01-24 17:46:56

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,080  
Website

Re: Show your desktop (rebooted)

genxr wrote:

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:

2023-01-24-174826-1920x1080-scrot.png

Last edited by Head_on_a_Stick (2023-01-24 17:53:52)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII, 18.

Offline

#553 2023-01-25 00:54:59

andyprough
Member
Registered: 2019-10-19
Posts: 306  

Re: Show your desktop (rebooted)

Head_on_a_Stick wrote:

a dwm scrot

The only thing better than dwm on devuan is xcowsay on dwm on devuan
dwmisbetter.jpg

Offline

#554 2023-01-25 07:06:20

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,080  
Website

Re: Show your desktop (rebooted)

^ Vanilla dwm with no status line? How quaint tongue


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII, 18.

Offline

#555 2023-01-25 08:01:17

andyprough
Member
Registered: 2019-10-19
Posts: 306  

Re: Show your desktop (rebooted)

Head_on_a_Stick wrote:

^ Vanilla dwm with no status line? How quaint tongue

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

#556 2023-01-25 19:52:52

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,080  
Website

Re: Show your desktop (rebooted)

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

#557 2023-01-25 20:29:42

andyprough
Member
Registered: 2019-10-19
Posts: 306  

Re: Show your desktop (rebooted)

Head_on_a_Stick wrote:

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

#558 2023-01-26 13:03:16

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,299  

Re: Show your desktop (rebooted)

Head_on_a_Stick wrote:

https://i.postimg.cc/jnn2pH8X/20230120-21h23m04s-grim.png

Work in progress smile

(foot is the name of the terminal)

cool

Stinkin' fantastic HoaS! smile

You better know that I'm going to crappin' fork your crappy fork of My Crappy Radio Player... wink

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.

2023-01-26-074252-1366x768-scrot.png

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!!! tongue

To keep on topic, this is a screenshot of MiyoLinux - Saluta Semplice (based on Devuan Chimaera) smile


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. wink

Offline

#559 2023-01-26 16:07:42

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,080  
Website

Re: Show your desktop (rebooted)

MiyoLinux wrote:

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:

20230126-15h48m17s-grim.png

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

#560 2023-01-26 16:15:52

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,299  

Re: Show your desktop (rebooted)

Head_on_a_Stick wrote:

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. wink

Thanks for doing what you did HoaS...I've never tried building a terminal-based app. You made it easy. smile


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. wink

Offline

Board footer