10 lines
398 B
Bash
10 lines
398 B
Bash
|
#!/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
|