forked from Shinonome/caelestia-cli
@@ -81,8 +81,11 @@ def apply_terms(sequences: str) -> None:
|
|||||||
pts_path = Path("/dev/pts")
|
pts_path = Path("/dev/pts")
|
||||||
for pt in pts_path.iterdir():
|
for pt in pts_path.iterdir():
|
||||||
if pt.name.isdigit():
|
if pt.name.isdigit():
|
||||||
with pt.open("a") as f:
|
try:
|
||||||
f.write(sequences)
|
with pt.open("a") as f:
|
||||||
|
f.write(sequences)
|
||||||
|
except PermissionError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def apply_hypr(conf: str) -> None:
|
def apply_hypr(conf: str) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user