Add nvimw and mc launcher
This commit is contained in:
parent
c5ecca989d
commit
10a7f5b2f1
3 changed files with 18 additions and 0 deletions
8
roles/home-gui/files/mc.desktop
Normal file
8
roles/home-gui/files/mc.desktop
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Midnight Commander (mc)
|
||||||
|
TryExec=mc
|
||||||
|
Exec=env LANG=en_GB.UTF-8 EDITOR=nvimw mc
|
||||||
|
Type=Application
|
||||||
|
Icon=mc
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=true
|
2
roles/home-gui/files/nvimw
Executable file
2
roles/home-gui/files/nvimw
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
/usr/bin/gnome-terminal -- /usr/bin/nvim $*
|
|
@ -91,3 +91,11 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "konsole/"
|
src: "konsole/"
|
||||||
dest: "{{ ansible_env.XDG_DATA_HOME }}/konsole"
|
dest: "{{ ansible_env.XDG_DATA_HOME }}/konsole"
|
||||||
|
- name: Create $XDG_DATA_HOME/applications/mc.desktop
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: "mc.desktop"
|
||||||
|
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/mc.desktop"
|
||||||
|
- name: Create $HOME/.local/bin/nvimw
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: "nvimw"
|
||||||
|
dest: "{{ ansible_env.HOME }}/.local/bin/nvimw"
|
||||||
|
|
Loading…
Reference in a new issue