Compare commits

..

2 commits

Author SHA1 Message Date
7f15b53b63 add duck.nvim 2023-01-20 18:19:39 +01:00
0230504c0d configure emoji support 2023-01-20 18:02:18 +01:00
4 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
</fontconfig>

View file

@ -17,7 +17,9 @@
- name: Install Alacritty - name: Install Alacritty
become: true become: true
apt: apt:
name: alacritty pkg:
- alacritty
- fonts-noto-color-emoji
- name: Create Alacritty config directory - name: Create Alacritty config directory
file: file:
path: ~/.config/alacritty path: ~/.config/alacritty
@ -26,3 +28,12 @@
copy: copy:
src: "{{ role_path }}/files/alacritty.yml" src: "{{ role_path }}/files/alacritty.yml"
dest: ~/.config/alacritty/alacritty.yml dest: ~/.config/alacritty/alacritty.yml
- name: Create fontconfig directory
file:
path: ~/.config/fontconfig
state: directory
recurse: true
- name: Copy font.conf
copy:
src: "{{ role_path }}/files/font.conf"
dest: ~/.config/fontconfig/font.conf

View file

@ -7,4 +7,7 @@ return require('packer').startup(function()
-- Better increment/decrement -- Better increment/decrement
use 'monaqa/dial.nvim' use 'monaqa/dial.nvim'
-- Incredibly cute duck
use 'tamton-aquib/duck.nvim'
end) end)

View file

@ -0,0 +1,2 @@
vim.keymap.set('n', '<leader>dd', function() require("duck").hatch("🐈") end, {})
vim.keymap.set('n', '<leader>dk', function() require("duck").cook() end, {})