punktdateien/hypr/scripts/backgroundjob-eww.sh

10 lines
398 B
Bash
Raw Normal View History

2023-12-08 17:33:11 +01:00
#!/bin/bash
function open_windows() {
sleep 1s # wait for the daemon to initialize
eww open sysinfo &>> /tmp/logs/eww.log # open the "sysinfo" window
}
pkill -x -9 eww # kill all running eww instances
open_windows & # call open_windows function, parallel execution
eww daemon --no-daemonize --config "${CONFIG_DIR}" &> /tmp/logs/eww.log # execute eww daemon in foreground