From a67279bc306dd49432caa92f8ab4b1de8e5f0370 Mon Sep 17 00:00:00 2001 From: mal0 Date: Fri, 26 Jul 2024 03:09:17 -0400 Subject: [PATCH] fixed .desktop exec --- rice-cook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rice-cook.py b/rice-cook.py index ade144c..1fc479f 100755 --- a/rice-cook.py +++ b/rice-cook.py @@ -125,10 +125,10 @@ def hyprland(): # create .desktop file with open('/usr/share/wayland-sessions/hyprland.desktop', 'w+') as file: - file.write('''[Desktop Entry] + file.write(f'''[Desktop Entry] Name=Hyprland Comment=An intelligent dynamic tiling Wayland compositor -Exec=$HOME/.local/bin/wrappedhl +Exec={home}/.local/bin/wrappedhl Type=Application ''') file.seek(0)