Compare commits

..

2 Commits

7 changed files with 37 additions and 30 deletions

View File

@ -62,4 +62,5 @@
src: /mnt/c/Users/Benie/AppData/Local/1Password/cli/op.exe
dest: ~/.local/bin/op
- include_tasks: linux-autostart.yaml
- include_tasks: zsh-completion.yaml

View File

@ -20,3 +20,5 @@
dnf:
name: 1password
state: latest
- include_tasks: linux-autostart.yaml

View File

@ -0,0 +1,15 @@
---
- name: create autostart desktop file
copy:
dest: '{{ansible_env.HOME}}/.config/autostart/1password.desktop'
content: |
[Desktop Entry]
Name=1Password
Exec=/opt/1Password/1password %U
Terminal=false
Type=Application
Icon=1password
StartupWMClass=1Password
Comment=Password manager and secure wallet
MimeType=x-scheme-handler/onepassword;x-scheme-handler/onepassword8;
Categories=Office;

View File

@ -10,36 +10,6 @@
- gnome-themes-extra
state: latest
- name: autostart 1password
copy:
dest: '{{ansible_env.HOME}}/.config/autostart/1password.desktop'
content: |
[Desktop Entry]
Name=1Password
Exec=/opt/1Password/1password %U
Terminal=false
Type=Application
Icon=1password
StartupWMClass=1Password
Comment=Password manager and secure wallet
MimeType=x-scheme-handler/onepassword;x-scheme-handler/onepassword8;
Categories=Office;
- name: autostart ulauncher
copy:
dest: '{{ansible_env.HOME}}/.config/autostart/ulauncher.desktop'
content: |
[Desktop Entry]
Name=Ulauncher
Comment=Application launcher for Linux
GenericName=Launcher
Categories=GNOME;GTK;Utility;
TryExec=/usr/bin/ulauncher
Exec=env GDK_BACKEND=x11 /usr/bin/ulauncher --hide-window
Icon=ulauncher
Terminal=false
Type=Application
- name: prefer dark mode
gsettings:
schema: org.gnome.desktop.interface

View File

@ -50,3 +50,5 @@
apt:
name: ulauncher
state: latest
- include_tasks: linux-autostart.yaml

View File

@ -4,3 +4,5 @@
dnf:
name: ulauncher
state: latest
- include_tasks: linux-autostart.yaml

View File

@ -0,0 +1,15 @@
---
- name: create autostart desktop file
copy:
dest: '{{ansible_env.HOME}}/.config/autostart/ulauncher.desktop'
content: |
[Desktop Entry]
Name=Ulauncher
Comment=Application launcher for Linux
GenericName=Launcher
Categories=GNOME;GTK;Utility;
TryExec=/usr/bin/ulauncher
Exec=env GDK_BACKEND=x11 /usr/bin/ulauncher --hide-window
Icon=ulauncher
Terminal=false
Type=Application