Switch to a predefined eww config
This commit is contained in:
parent
92f52c0c42
commit
6703367fdf
9 changed files with 436 additions and 0 deletions
5
modules/wm/hyprland/config/eww/scripts/uptime.sh
Executable file
5
modules/wm/hyprland/config/eww/scripts/uptime.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
uptime=$(($(date +%s) - $(date +%s -d "$(last reboot | head -n 1 | sed -e 's/reboot system boot ...... //; s/still running//')")));
|
||||
|
||||
echo $((uptime / 3600 % 60))h $((uptime / 60 % 60))m
|
||||
Loading…
Add table
Add a link
Reference in a new issue