punkfairie
a53c7bb844
Add .config/dunst/dunstrc Add .config/hypr/component/waybar/config Add .config/hypr/component/waybar/style.css Add .config/hypr/autostart Add .config/hypr/hyprland.conf Add .config/hypr/scripts/expand_toolbar Add .config/hypr/scripts/launch_waybar Add .config/hypr/scripts/lock Add .config/hypr/scripts/rgb Add .config/hypr/scripts/rgb_borders Add .config/hypr/scripts/screenshot Add .config/hypr/scripts/toolbar_state Add .config/hypr/scripts/wall Add .config/hypr/scripts/workspaces Add .config/hypr/scripts/tools/dynamic Add .config/hypr/scripts/tools/expand Add .config/hypr/scripts/tools/notif Add .config/hypr/scripts/tools/start_dyn Add .config/hypr/store/dynamic_out.txt Add .config/hypr/store/latest_notif Add .config/hypr/store/prev.txt Add .config/hypr/wallpapers/cloud.png Add .config/hypr/wallpapers/clouds_realism.jpg Add .config/hypr/wallpapers/evening-sky.png Add .config/hypr/wallpapers/flower.jpg Add .config/hypr/wallpapers/mountain.png Add .config/hypr/wallpapers/totoro.png Add .config/hypr/wallpapers/train.jpg Update .config/packages/archgirlie Add .config/wofi/config Add .config/wofi/menu Add .config/wofi/menu.css Add .config/wofi/style.css
22 lines
768 B
Python
22 lines
768 B
Python
#!/usr/bin/python
|
|
import pickle
|
|
import os
|
|
from pathlib import Path
|
|
dat = {
|
|
"app_name":os.getenv("DUNST_APP_NAME"),
|
|
"summary":os.getenv("DUNST_SUMMARY"),
|
|
"body":os.getenv("DUNST_BODY"),
|
|
"icon":os.getenv("DUNST_ICON_path"),
|
|
"urgency":os.getenv("DUNST_URGENCY"),
|
|
"id":os.getenv("DUNST_ID"),
|
|
"progress":os.getenv("DUNST_PROGRESS"),
|
|
"category":os.getenv("DUNST_CATEGORY"),
|
|
"stack_tag":os.getenv("DUNST_STACK_TAG"),
|
|
"urls":os.getenv("DUNST_URLS"),
|
|
"timeout":os.getenv("DUNST_TIMEOUT"),
|
|
"timestamp":os.getenv("DUNST_TIMESTAMP"),
|
|
"desktop-entry":os.getenv("DUNST_DESKTOP_ENTRY"),
|
|
"stack-tag":os.getenv("DUNST_STACK_TAG"),
|
|
}
|
|
with open(f"{Path.home()}/.config/hypr/store/latest_notif", "wb") as f:
|
|
pickle.dump(dat, f)
|