nix-dotfiles/programs/hypr/scripts/initdb.xsh

14 lines
302 B
Text
Raw Normal View History

2024-01-20 14:03:54 -08:00
#!/usr/bin/env xonsh
import shelve
# Usage:
# ./initdb.xsh
# initialize a db for use hypr workspace scripts
with shelve.open($HYPR_WORK_DB) as db:
db["primary"] = "home"
db["secondary"] = "chat"
db["secondaries"] = ["chat", "web", "med"]
2024-01-20 14:03:54 -08:00
db["secondary_extras"] = 1
db["primary_extras"] = 1