From b7c874d9491d6c7cdfd6ad1cadff14e1b3e1618a1918dfc81e01fffe7e15e355 Mon Sep 17 00:00:00 2001 From: Mikkel Harboe Arp Henriksen Date: Mon, 16 Jun 2025 18:43:57 +0200 Subject: [PATCH] Script til application menu --- local.yml | 7 +++++++ templates/launch-wofi.sh.j2 | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 templates/launch-wofi.sh.j2 diff --git a/local.yml b/local.yml index 4791a39..7e109be 100644 --- a/local.yml +++ b/local.yml @@ -151,6 +151,13 @@ dest: "/home/{{ username }}/.local/bin/hypr-keys.sh" mode: '0755' + - name: "LAUNCHER SCRIPT :: Opret wofi launcher script" + become: true + become_user: "{{ username }}" + ansible.builtin.template: + src: "templates/launch-wofi.sh.j2" + dest: "/home/{{ username }}/.local/bin/launch_wofi.sh" + mode: '0755' - name: "FIREWALL :: Konfigurer UFW's standardpolitikker" tags: firewall diff --git a/templates/launch-wofi.sh.j2 b/templates/launch-wofi.sh.j2 new file mode 100644 index 0000000..786065f --- /dev/null +++ b/templates/launch-wofi.sh.j2 @@ -0,0 +1,2 @@ +# Køre wofi application menu +wofi --show drun --conf "$HOME/.config/wofi/config" --style "$HOME/.config/wofi/style.css" \ No newline at end of file