eww: add new tiles to control-center, new notification popup, new styles for a lot of widgets

This commit is contained in:
retrozinndev
2025-01-07 16:26:20 -03:00
parent 435b222e03
commit c505ecf4cf
43 changed files with 802 additions and 319 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
# This script watches notification file changes
# and output file contents.
# -----------
# Licensed under the MIT License
# Made by retrozinndev (João Dias)
# From https://github.com/retrozinndev/Hyprland-Dots
set -e
json_history_file="$HOME/.cache/notification-history.json"
if ! [[ -f $json_history_file ]]; then
echo -e "{\"history\":[]}" > $json_history_file
fi
json_history="$(cat $json_history_file)"
echo $json_history
while true; do
sleep .1
json_newest_history=$(cat $json_history_file)
if ! [[ "$json_history" == "$json_newest_history" ]]; then
json_history="$json_newest_history"
echo $json_history
fi
done
exit 0