From 2736f16fe1eabf554acb59b605e5311909fedd9e Mon Sep 17 00:00:00 2001 From: mal0 Date: Sat, 7 Sep 2024 01:31:06 -0400 Subject: [PATCH] check for .local/bin exist --- rice-cook.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rice-cook.py b/rice-cook.py index 5021736..e3ad307 100755 --- a/rice-cook.py +++ b/rice-cook.py @@ -110,7 +110,9 @@ def dnf_config(): def hyprland(): console.rule("Configuring hyprland", style='checkt') - + if not os.path.exists(home +'/.local/bin'): + os.mkdir(home +'/.local/bin') + # create tty launcher with open(home +'/.local/bin/wrappedhl', 'w+') as file: file.write('''#!/bin/sh