Compare commits
2 commits
f5605945a2
...
7f15b53b63
Author | SHA1 | Date | |
---|---|---|---|
7f15b53b63 | |||
0230504c0d |
4 changed files with 28 additions and 1 deletions
11
roles/alacritty/files/font.conf
Normal file
11
roles/alacritty/files/font.conf
Normal 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>
|
|
@ -17,7 +17,9 @@
|
|||
- name: Install Alacritty
|
||||
become: true
|
||||
apt:
|
||||
name: alacritty
|
||||
pkg:
|
||||
- alacritty
|
||||
- fonts-noto-color-emoji
|
||||
- name: Create Alacritty config directory
|
||||
file:
|
||||
path: ~/.config/alacritty
|
||||
|
@ -26,3 +28,12 @@
|
|||
copy:
|
||||
src: "{{ role_path }}/files/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
|
||||
|
|
|
@ -7,4 +7,7 @@ return require('packer').startup(function()
|
|||
|
||||
-- Better increment/decrement
|
||||
use 'monaqa/dial.nvim'
|
||||
|
||||
-- Incredibly cute duck
|
||||
use 'tamton-aquib/duck.nvim'
|
||||
end)
|
||||
|
|
2
roles/neovim/files/plugin/duck.lua
Normal file
2
roles/neovim/files/plugin/duck.lua
Normal 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, {})
|
Reference in a new issue