mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-09 12:45:05 +00:00
eeb93f9700
These changes effectively make the structure similar to bluefin. bazzite now serves as a base for desktop configurations and now bazzite-deck has been introduced to add changes specific to the Steam Deck and Steam Deck-alike configurations. Also: - Introduce images built from main for non-Nvidia systems - Consolidate structure (remove duplicates, merge Containerfiles)
12 lines
498 B
Bash
Executable File
12 lines
498 B
Bash
Executable File
#!/bin/bash
|
|
DBUS_SERVICE="com.system76.Scheduler"
|
|
DBUS_PATH="/com/system76/Scheduler"
|
|
DBUS_INTERFACE="com.system76.Scheduler"
|
|
DBUS_METHOD="SetForegroundProcess"
|
|
dbus-monitor "destination=$DBUS_SERVICE,path=$DBUS_PATH,interface=$DBUS_INTERFACE,member=$DBUS_METHOD" |
|
|
while true; do
|
|
read method call time sender _ dest serial path interface member
|
|
read type pid
|
|
[ "$member" = "member=$DBUS_METHOD" ] && qdbus --system $DBUS_SERVICE $DBUS_PATH $DBUS_INTERFACE.$DBUS_METHOD $pid
|
|
done
|