fixed .desktop exec

This commit is contained in:
mal0
2024-07-26 03:09:17 -04:00
parent cd151a2cb4
commit a67279bc30
+2 -2
View File
@@ -125,10 +125,10 @@ def hyprland():
# create .desktop file # create .desktop file
with open('/usr/share/wayland-sessions/hyprland.desktop', 'w+') as file: with open('/usr/share/wayland-sessions/hyprland.desktop', 'w+') as file:
file.write('''[Desktop Entry] file.write(f'''[Desktop Entry]
Name=Hyprland Name=Hyprland
Comment=An intelligent dynamic tiling Wayland compositor Comment=An intelligent dynamic tiling Wayland compositor
Exec=$HOME/.local/bin/wrappedhl Exec={home}/.local/bin/wrappedhl
Type=Application ''') Type=Application ''')
file.seek(0) file.seek(0)