diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-18 18:57:15 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-18 18:57:15 +0100 |
| commit | 561da956a7c5ba6ee90b7303a1cc3f7fe9e6161d (patch) | |
| tree | df1139c2d560dd411e91c12ca5f7e6cabbc64728 /roles | |
| parent | c0ebd7d3aa6b746af501892a72d7a883dcdebdeb (diff) | |
Hide unused application in tofi launcher
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/tofi/tasks/main.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/tofi/tasks/main.yml b/roles/tofi/tasks/main.yml index 56b24972..c7e30763 100644 --- a/roles/tofi/tasks/main.yml +++ b/roles/tofi/tasks/main.yml @@ -16,6 +16,7 @@ loop: - "/etc/xdg/tofi" - "{{ ansible_facts['env']['HOME'] }}/.config/tofi" + - "/usr/local/share/applications" - name: "Configure system defaults" become: true @@ -36,3 +37,23 @@ include = /etc/xdg/tofi/config # Load Theme include = ../hyprtheme/current/tofi.config + +- name: "Configure hidden applications" + become: true + ansible.builtin.copy: + dest: "/usr/local/share/applications/{{ item }}.desktop" + mode: "0644" + content: | + [Desktop Entry] + Hidden=true + loop: + - "avahi-discover" + - "bssh" + - "bvnc" + - "gscriptor" + - "gvim" + - "qv4l2" + - "qvidcap" + - "uuctl" + - "xgps" + - "xgpsspeed" |
