this post was submitted on 10 Jul 2023
2 points (75.0% liked)

KDE & Plasma users

2819 readers
17 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE's software runs on GNU/Linux, BSD and other operating systems, including Windows.

founded 4 years ago
MODERATORS
 

My workplace has a VPN that I need to connect occasionally, but normally do not. I want to set up a prominent, unignorable status notifier so when I am connected to it, I am highly aware and have to disconnect to make the status clear.

Originally I thought maybe I'd like to find a way to query the status of tun0 and turn my main panel #FF0000, but I am having a hard time finding information on how to change panel color programatically. My other idea was assigning a hotkey to open a terminal window with a profile that has a red background and executes a shell script to run the VPN connect script in the foreground, but that feel super hacky and I'd love something cleaner.

Any ideas?

you are viewing a single comment's thread
view the rest of the comments
[–] ja2 0 points 1 year ago

You are right, this is a cool idea. I'm digging into it. Might be more work than I want but the functionality is better.