51.5-354 updates
This commit is contained in:
22
run_task_window.sh
Normal file
22
run_task_window.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# Launcher for Deskmeter Task Window with always-on-top and sticky properties
|
||||
|
||||
# Start the task window in background
|
||||
python3 task_window.py &
|
||||
TASK_PID=$!
|
||||
|
||||
# Wait for window to appear
|
||||
sleep 2
|
||||
|
||||
# Find the window and set properties
|
||||
# Make it always on top and visible on all workspaces (sticky)
|
||||
wmctrl -r "Deskmeter Task" -b add,above,sticky
|
||||
|
||||
echo "Task window started (PID: $TASK_PID)"
|
||||
echo "Window set to: always-on-top + visible on all workspaces"
|
||||
echo ""
|
||||
echo "To close: kill $TASK_PID"
|
||||
echo "Or just close the window normally"
|
||||
|
||||
# Keep script running to show PID
|
||||
wait $TASK_PID
|
||||
Reference in New Issue
Block a user