Move to Xonsh, add hypr scripts
This commit is contained in:
parent
7f324958a5
commit
ce9124c7ed
13 changed files with 224 additions and 48 deletions
13
programs/hypr/scripts/initdb.xsh
Executable file
13
programs/hypr/scripts/initdb.xsh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/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"]
|
||||
db["secondary_extras"] = 1
|
||||
db["primary_extras"] = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue