smaller-updates #28

Manually merged
mfocko merged 5 commits from smaller-updates into main 2021-01-26 22:54:05 +01:00
42 changed files with 300 additions and 39 deletions

19
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,19 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/prettier/pre-commit
rev: v2.1.2
hooks:
- id: prettier
- repo: https://github.com/ansible/ansible-lint.git
rev: v4.2.0
hooks:
- id: ansible-lint
files: \.(yaml|yml)$

View file

@ -1,7 +1,7 @@
---
- name: Upgrade all packages
dnf:
name: '*'
name: "*"
state: latest
- name: Install playerctl and flameshot

View file

@ -6,4 +6,5 @@
- tmux
- neovim
- emacs
- alacritty
state: present

View file

@ -8,6 +8,7 @@
name:
- "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ fedora_version.stdout }}.noarch.rpm"
- "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_version.stdout }}.noarch.rpm"
disable_gpg_check: yes
state: present
- name: Install Google Chrome repository

View file

@ -29,4 +29,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever

View file

@ -29,4 +29,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever

View file

@ -31,4 +31,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever

View file

@ -29,4 +29,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever

View file

@ -29,4 +29,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever

View file

@ -32,4 +32,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever

View file

@ -28,4 +28,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever

View file

@ -28,4 +28,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever

View file

@ -30,4 +30,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever

View file

@ -28,4 +28,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever

View file

@ -28,4 +28,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever

View file

@ -31,4 +31,3 @@ type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever

View file

@ -7,7 +7,7 @@
- name: Update all packages
dnf:
name: '*'
name: "*"
state: latest
- name: Install system-upgrade plugin

View file

@ -1,3 +1,6 @@
[alias]
scommit = commit --signoff
[commit]
gpgsign = true
@ -14,6 +17,12 @@
[gpg]
program = gpg2
[init]
defaultBranch = main
[pull]
rebase = true
[user]
name = Matej Focko
email = {{ git_email }}

View file

@ -0,0 +1,5 @@
---
- name: Install alacritty configuration
template:
src: templates/alacritty
dest: ~/.config/

View file

@ -6,10 +6,11 @@
name: mfocko
shell: /bin/zsh
- name: Install Nord theme for Konsole
shell: wget -O ~/.local/share/konsole/nord.colorscheme https://raw.githubusercontent.com/arcticicestudio/nord-konsole/develop/src/nord.colorscheme
# - name: Install Nord theme for Konsole
# shell: wget -O ~/.local/share/konsole/nord.colorscheme https://raw.githubusercontent.com/arcticicestudio/nord-konsole/develop/src/nord.colorscheme
- include: nvim.yml
- include: emacs.yml
- include: zsh.yml
- include: tmux.yml
- include: alacritty.yml

View file

@ -19,7 +19,7 @@
dest: ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
- name: Clone starship
shell: sh -c "$(curl -fsSL https://starship.rs/install.sh)" "" -f
shell: sh -c "$(curl -fsSL https://starship.rs/install.sh)" "" -f -b $HOME/.local/bin
- name: Create zshrc
template:

View file

@ -0,0 +1,28 @@
import:
- /home/mfocko/.config/alacritty/colors/ayu_dark.yml
env:
TERM: alacritty
window:
dimensions:
columns: 107
lines: 30
dynamic_padding: true
decorations: none
startup_mode: Maximized
font:
normal:
family: JetBrainsMonoNL Nerd Font
size: 13.0
cursor:
# Block, Underline, Beam
style: Underline
thickness: 0.33
key_bindings:
- key: F11
action: ToggleFullscreen

View file

@ -0,0 +1,25 @@
# Ayu Dark
colors:
primary:
foreground: "#b3b1ad"
background: "#0a0e14"
normal:
black: "#00010a"
blue: "#53bdfa"
cyan: "#90e1c6"
green: "#91b362"
magenta: "#fae994"
red: "#ea6c73"
white: "#c7c7c7"
yellow: "#f9af4f"
bright:
black: "#686868"
blue: "#59c2ff"
cyan: "#95e6cb"
green: "#c2d94c"
magenta: "#ffee99"
red: "#f07178"
white: "#ffffff"
yellow: "#ffb454"

View file

@ -0,0 +1,25 @@
# Ayu Mirage
colors:
primary:
foreground: "#cbccc6"
background: "#1f2430"
normal:
black: "#191e2a"
blue: "#6dcbfa"
cyan: "#90e1c6"
green: "#a6cc70"
magenta: "#cfbafa"
red: "#ed8274"
white: "#c7c7c7"
yellow: "#fad07b"
bright:
black: "#686868"
blue: "#73d0ff"
cyan: "#95e6cb"
green: "#bae67e"
magenta: "#d4bfff"
red: "#f28779"
white: "#ffffff"
yellow: "#ffd580"

View file

@ -0,0 +1,27 @@
colors:
# Default colors
primary:
background: "#333333"
foreground: "#F2F2F2"
# Normal colors
normal:
black: "#333333"
red: "#CC0000"
green: "#4E9A06"
yellow: "#C4A000"
blue: "#3465A4"
magenta: "#75507B"
cyan: "#06989A"
white: "#D3D7CF"
# Bright colors
bright:
black: "#88807C"
red: "#F15D22"
green: "#73C48F"
yellow: "#FFCE51"
blue: "#48B9C7"
magenta: "#AD7FA8"
cyan: "#34E2E2"
white: "#EEEEEC"

View file

@ -0,0 +1,26 @@
# Night Owl
colors:
primary:
foreground: "#d6deeb"
# background: '#011627' # for Night Owl
background: "#000000" # for Night Owl Black
normal:
black: "#011627"
blue: "#82AAFF"
cyan: "#21c7a8"
green: "#22da6e"
magenta: "#C792EA"
red: "#EF5350"
white: "#ffffff"
yellow: "#c5e478"
bright:
black: "#575656"
blue: "#82AAFF"
cyan: "#7fdbca"
green: "#22da6e"
magenta: "#C792EA"
red: "#EF5350"
white: "#ffffff"
yellow: "#ffeb95"

View file

@ -0,0 +1,25 @@
# Ocean
colors:
primary:
foreground: "#8F93A2"
background: "#0F111A"
normal:
black: "#000000"
blue: "#3A75C4"
cyan: "#87D3F8"
green: "#14B37D"
magenta: "#703FAF"
red: "#E25822"
white: "#FFFFFF"
yellow: "#F2F27A"
bright:
black: "#3A75C4"
blue: "#3A75C4"
cyan: "#87D3F8"
green: "#14B37D"
magenta: "#703FAF"
red: "#E25822"
white: "#F3EFE0"
yellow: "#F2F27A"

View file

@ -0,0 +1,25 @@
# Outrun Electric
colors:
primary:
foreground: "#e4eeff"
background: "#090819"
normal:
black: "#283034"
red: "#ff2e97"
green: "#62a9cf"
yellow: "#ffd400"
blue: "#42c6ff"
magenta: "#ff2afc"
cyan: "#42c6ff"
white: "#d9e0e9"
bright:
black: "#435056"
red: "#ff2e97"
green: "#add0e5"
yellow: "#ffd400"
blue: "#42c6ff"
magenta: "#ff2afc"
cyan: "#42c6ff"
white: "#f4f6f9"

View file

@ -0,0 +1,25 @@
# Rainier
colors:
primary:
foreground: "#b3c8dc"
background: "#171d23"
normal:
black: "#171d23"
blue: "#509ddb"
cyan: "#509ddb"
green: "#37c2b6"
magenta: "#b9346c"
red: "#b9346c"
white: "#b3c8dc"
yellow: "#c9c994"
bright:
black: "#627d96"
blue: "#509ddb"
cyan: "#509ddb"
green: "#37c2b6"
magenta: "#9d79d8"
red: "#b9346c"
white: "#f2f2f2"
yellow: "#d6af78"

View file

@ -0,0 +1,25 @@
# Rainier - Retro
colors:
primary:
foreground: "#b9d3e9"
background: "#201825"
normal:
black: "#201825"
blue: "#509ddb"
cyan: "#509ddb"
green: "#37c2b6"
magenta: "#b9346c"
red: "#b9346c"
white: "#b9d3e9"
yellow: "#c9c994"
bright:
black: "#7B6296"
blue: "#509ddb"
cyan: "#509ddb"
green: "#37c2b6"
magenta: "#9d79d8"
red: "#b9346c"
white: "#f2f2f2"
yellow: "#d6af78"

View file

@ -1,5 +1,6 @@
add_newline = false
format = """$username\
format = """${custom.toolbox}\
$username\
$hostname\
$git_branch\
$git_commit\
@ -33,3 +34,8 @@ format = "[$path]($style)[$read_only]($read_only_style) "
[character]
success_symbol = "[%%](bold green)"
error_symbol = "[%%](bold red)"
[custom.toolbox]
when = "ls /run/.containerenv"
command = "echo ⬢"
style = "bold purple"