cachy-workstation

Log | Files | Refs | README

main.yml (1092B)


      1 ---
      2 - name: Ensure applications directory exists
      3   ansible.builtin.file:
      4     path: "{{ ansible_facts['user_dir'] }}/.local/share/applications"
      5     state: directory
      6     mode: "0755"
      7 
      8 - name: Copy cheat sheet desktop file
      9   ansible.builtin.template:
     10     src: cheat-sheet.desktop.j2
     11     dest: "{{ ansible_facts['user_dir'] }}/.local/share/applications/net.local.cheat-sheet.sh.desktop"
     12     mode: "0644"
     13 
     14 - name: Copy password script
     15   ansible.builtin.template:
     16     src: pass-menu.desktop.j2
     17     dest: "{{ ansible_facts['user_dir'] }}/.local/share/applications/net.local.pass-menu.sh.desktop"
     18     mode: "0644"
     19 
     20 - name: Set cheat-sheet hotkey
     21   community.general.ini_file:
     22     path: "{{ ansible_facts['user_dir'] }}/.config/kglobalshortcutsrc"
     23     section: "services][net.local.cheat-sheet.sh.desktop"
     24     option: _launch
     25     value: Alt+C
     26     mode: "0644"
     27 
     28 - name: Set pass-menu hotkey
     29   community.general.ini_file:
     30     path: "{{ ansible_facts['user_dir'] }}/.config/kglobalshortcutsrc"
     31     section: "services][net.local.pass-menu.sh.desktop"
     32     option: _launch
     33     value: Alt+P
     34     mode: "0644"