punktdateien/hypr/scripts/bgjob-eww.sh
2023-12-08 17:33:11 +01:00

9 lines
398 B
Bash
Executable file

#!/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