mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 03:04:06 +00:00
feat(lint): added my linting configs
This commit is contained in:
3
.commitlintrc.json
Normal file
3
.commitlintrc.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"extends": ["@ivuorinen/commitlint-config"]
|
||||||
|
}
|
||||||
3
.eslintrc.json
Normal file
3
.eslintrc.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"extends": ["@ivuorinen"]
|
||||||
|
}
|
||||||
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -13,7 +13,7 @@
|
|||||||
## Handle line endings automatically for files detected as
|
## Handle line endings automatically for files detected as
|
||||||
## text and leave all files detected as binary untouched.
|
## text and leave all files detected as binary untouched.
|
||||||
## This will handle all files NOT defined below.
|
## This will handle all files NOT defined below.
|
||||||
* text=auto
|
* text=auto oel=lf
|
||||||
|
|
||||||
# Source code
|
# Source code
|
||||||
*.bash text eol=lf
|
*.bash text eol=lf
|
||||||
|
|||||||
6
.github/dependabot.yml
vendored
6
.github/dependabot.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
# Maintain dependencies for GitHub Actions
|
# Maintain dependencies for GitHub Actions
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: 'github-actions'
|
||||||
directory: "/"
|
directory: '/'
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: 'weekly'
|
||||||
|
|||||||
4
.github/renovate.json
vendored
4
.github/renovate.json
vendored
@@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": ["local>ivuorinen/.github:renovate-config"]
|
||||||
"local>ivuorinen/.github:renovate-config"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
6
.github/tag-changelog-config.js
vendored
6
.github/tag-changelog-config.js
vendored
@@ -18,7 +18,7 @@ module.exports = {
|
|||||||
renderTypeSection: function (label, commits) {
|
renderTypeSection: function (label, commits) {
|
||||||
let text = `\n## ${label}\n\n`
|
let text = `\n## ${label}\n\n`
|
||||||
|
|
||||||
commits.forEach((commit) => {
|
commits.forEach(commit => {
|
||||||
const scope = commit.scope ? `**${commit.scope}:** ` : ''
|
const scope = commit.scope ? `**${commit.scope}:** ` : ''
|
||||||
text += `- ${scope}${commit.subject}\n`
|
text += `- ${scope}${commit.subject}\n`
|
||||||
})
|
})
|
||||||
@@ -28,8 +28,8 @@ module.exports = {
|
|||||||
|
|
||||||
renderChangelog: function (release, changes) {
|
renderChangelog: function (release, changes) {
|
||||||
const now = new Date()
|
const now = new Date()
|
||||||
const d = now.toISOString().substring(0, 10);
|
const d = now.toISOString().substring(0, 10)
|
||||||
const header = `# ${ release } - ${ d }\n`;
|
const header = `# ${release} - ${d}\n`
|
||||||
return header + changes + '\n\n'
|
return header + changes + '\n\n'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
2
.github/workflows/changelog.yml
vendored
2
.github/workflows/changelog.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
config_file: .github/tag-changelog-config.js
|
config_file: .github/tag-changelog-config.js
|
||||||
- name: "Echo results"
|
- name: 'Echo results'
|
||||||
id: output-changelog
|
id: output-changelog
|
||||||
run: |
|
run: |
|
||||||
echo "${{ steps.changelog.outputs.changes }}"
|
echo "${{ steps.changelog.outputs.changes }}"
|
||||||
|
|||||||
2
.github/workflows/new-release.yml
vendored
2
.github/workflows/new-release.yml
vendored
@@ -2,7 +2,7 @@ name: Release Daily State # Workflow name displayed on GitHub
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch: # Trigger manually
|
workflow_dispatch: # Trigger manually
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "30 20 * * *" # UTC is 2-3 hours behind Europe/Helsinki, my timezone
|
- cron: '30 20 * * *' # UTC is 2-3 hours behind Europe/Helsinki, my timezone
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -14,4 +14,5 @@ ssh/local.d/*
|
|||||||
!.gitkeep
|
!.gitkeep
|
||||||
.env
|
.env
|
||||||
local/share/fonts/NerdFonts
|
local/share/fonts/NerdFonts
|
||||||
|
node_modules
|
||||||
|
|
||||||
|
|||||||
2
.ignore
2
.ignore
@@ -3,4 +3,4 @@ config/cheat/cheatsheets/community/**
|
|||||||
tools/dotbot/**
|
tools/dotbot/**
|
||||||
tools/dotbot-brew/**
|
tools/dotbot-brew/**
|
||||||
tools/dotbot-include/**
|
tools/dotbot-include/**
|
||||||
|
node_modules
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "markdownlint/style/prettier",
|
"extends": "@ivuorinen/markdownlint-config",
|
||||||
"code-block-style": {
|
"code-block-style": {
|
||||||
"style": "fenced"
|
"style": "fenced"
|
||||||
},
|
},
|
||||||
|
|||||||
6
.markdownlintignore
Normal file
6
.markdownlintignore
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# only care about files that are under our control
|
||||||
|
config/cheat/cheatsheets/community/*
|
||||||
|
config/tmux/plugins/*
|
||||||
|
tools/*
|
||||||
|
node_modules/*
|
||||||
|
|
||||||
8
.prettierignore
Normal file
8
.prettierignore
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
.mypy_cache/*
|
||||||
|
tools/dotbot*
|
||||||
|
local/bin/antigen.zsh
|
||||||
|
config/cheat/cheatsheets/community
|
||||||
|
config/tmux/plugins/*
|
||||||
|
lazy-lock.json
|
||||||
|
Brewfile.lock.json
|
||||||
|
|
||||||
14
.prettierrc.js
Normal file
14
.prettierrc.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
module.exports = {
|
||||||
|
...require('@ivuorinen/prettier-config'),
|
||||||
|
trailingComma: 'all',
|
||||||
|
// Add custom options below:
|
||||||
|
overrides: [
|
||||||
|
{
|
||||||
|
files: '*.md',
|
||||||
|
options: {
|
||||||
|
printWidth: 120,
|
||||||
|
proseWrap: 'preserve',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
21
.yamlfmt
21
.yamlfmt
@@ -1,21 +0,0 @@
|
|||||||
formatter:
|
|
||||||
type: basic
|
|
||||||
indent: 2
|
|
||||||
retain_line_breaks: false
|
|
||||||
disallow_anchors: false
|
|
||||||
max_line_length: 0
|
|
||||||
scan_folded_as_literal: false
|
|
||||||
indentless_arrays: false
|
|
||||||
|
|
||||||
doublestar: true
|
|
||||||
|
|
||||||
extensions:
|
|
||||||
- yaml
|
|
||||||
- yml
|
|
||||||
|
|
||||||
include:
|
|
||||||
- ./*.{yml,yaml}
|
|
||||||
- ./**/*.{yml,yaml}
|
|
||||||
|
|
||||||
exclude:
|
|
||||||
- ./tools/**
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# .yamlignore
|
|
||||||
|
|
||||||
@@ -78,82 +78,82 @@ debug.render_timer: false
|
|||||||
# https://github.com/catppuccin/alacritty
|
# https://github.com/catppuccin/alacritty
|
||||||
colors:
|
colors:
|
||||||
primary:
|
primary:
|
||||||
background: "#1E1E2E" # base
|
background: '#1E1E2E' # base
|
||||||
foreground: "#CDD6F4" # text
|
foreground: '#CDD6F4' # text
|
||||||
# Bright and dim foreground colors
|
# Bright and dim foreground colors
|
||||||
dim_foreground: "#CDD6F4" # text
|
dim_foreground: '#CDD6F4' # text
|
||||||
bright_foreground: "#CDD6F4" # text
|
bright_foreground: '#CDD6F4' # text
|
||||||
|
|
||||||
# Cursor colors
|
# Cursor colors
|
||||||
cursor:
|
cursor:
|
||||||
text: "#1E1E2E" # base
|
text: '#1E1E2E' # base
|
||||||
cursor: "#F5E0DC" # rosewater
|
cursor: '#F5E0DC' # rosewater
|
||||||
vi_mode_cursor:
|
vi_mode_cursor:
|
||||||
text: "#1E1E2E" # base
|
text: '#1E1E2E' # base
|
||||||
cursor: "#B4BEFE" # lavender
|
cursor: '#B4BEFE' # lavender
|
||||||
|
|
||||||
# Search colors
|
# Search colors
|
||||||
search:
|
search:
|
||||||
matches:
|
matches:
|
||||||
foreground: "#1E1E2E" # base
|
foreground: '#1E1E2E' # base
|
||||||
background: "#A6ADC8" # subtext0
|
background: '#A6ADC8' # subtext0
|
||||||
focused_match:
|
focused_match:
|
||||||
foreground: "#1E1E2E" # base
|
foreground: '#1E1E2E' # base
|
||||||
background: "#A6E3A1" # green
|
background: '#A6E3A1' # green
|
||||||
footer_bar:
|
footer_bar:
|
||||||
foreground: "#1E1E2E" # base
|
foreground: '#1E1E2E' # base
|
||||||
background: "#A6ADC8" # subtext0
|
background: '#A6ADC8' # subtext0
|
||||||
|
|
||||||
# Keyboard regex hints
|
# Keyboard regex hints
|
||||||
hints:
|
hints:
|
||||||
start:
|
start:
|
||||||
foreground: "#1E1E2E" # base
|
foreground: '#1E1E2E' # base
|
||||||
background: "#F9E2AF" # yellow
|
background: '#F9E2AF' # yellow
|
||||||
end:
|
end:
|
||||||
foreground: "#1E1E2E" # base
|
foreground: '#1E1E2E' # base
|
||||||
background: "#A6ADC8" # subtext0
|
background: '#A6ADC8' # subtext0
|
||||||
|
|
||||||
# Selection colors
|
# Selection colors
|
||||||
selection:
|
selection:
|
||||||
text: "#1E1E2E" # base
|
text: '#1E1E2E' # base
|
||||||
background: "#F5E0DC" # rosewater
|
background: '#F5E0DC' # rosewater
|
||||||
|
|
||||||
# Normal colors
|
# Normal colors
|
||||||
normal:
|
normal:
|
||||||
black: "#45475A" # surface1
|
black: '#45475A' # surface1
|
||||||
red: "#F38BA8" # red
|
red: '#F38BA8' # red
|
||||||
green: "#A6E3A1" # green
|
green: '#A6E3A1' # green
|
||||||
yellow: "#F9E2AF" # yellow
|
yellow: '#F9E2AF' # yellow
|
||||||
blue: "#89B4FA" # blue
|
blue: '#89B4FA' # blue
|
||||||
magenta: "#F5C2E7" # pink
|
magenta: '#F5C2E7' # pink
|
||||||
cyan: "#94E2D5" # teal
|
cyan: '#94E2D5' # teal
|
||||||
white: "#BAC2DE" # subtext1
|
white: '#BAC2DE' # subtext1
|
||||||
|
|
||||||
# Bright colors
|
# Bright colors
|
||||||
bright:
|
bright:
|
||||||
black: "#585B70" # surface2
|
black: '#585B70' # surface2
|
||||||
red: "#F38BA8" # red
|
red: '#F38BA8' # red
|
||||||
green: "#A6E3A1" # green
|
green: '#A6E3A1' # green
|
||||||
yellow: "#F9E2AF" # yellow
|
yellow: '#F9E2AF' # yellow
|
||||||
blue: "#89B4FA" # blue
|
blue: '#89B4FA' # blue
|
||||||
magenta: "#F5C2E7" # pink
|
magenta: '#F5C2E7' # pink
|
||||||
cyan: "#94E2D5" # teal
|
cyan: '#94E2D5' # teal
|
||||||
white: "#A6ADC8" # subtext0
|
white: '#A6ADC8' # subtext0
|
||||||
|
|
||||||
# Dim colors
|
# Dim colors
|
||||||
dim:
|
dim:
|
||||||
black: "#45475A" # surface1
|
black: '#45475A' # surface1
|
||||||
red: "#F38BA8" # red
|
red: '#F38BA8' # red
|
||||||
green: "#A6E3A1" # green
|
green: '#A6E3A1' # green
|
||||||
yellow: "#F9E2AF" # yellow
|
yellow: '#F9E2AF' # yellow
|
||||||
blue: "#89B4FA" # blue
|
blue: '#89B4FA' # blue
|
||||||
magenta: "#F5C2E7" # pink
|
magenta: '#F5C2E7' # pink
|
||||||
cyan: "#94E2D5" # teal
|
cyan: '#94E2D5' # teal
|
||||||
white: "#BAC2DE" # subtext1
|
white: '#BAC2DE' # subtext1
|
||||||
|
|
||||||
indexed_colors:
|
indexed_colors:
|
||||||
- { index: 16, color: "#FAB387" }
|
- { index: 16, color: '#FAB387' }
|
||||||
- { index: 17, color: "#F5E0DC" }
|
- { index: 17, color: '#F5E0DC' }
|
||||||
|
|
||||||
# Visual Bell
|
# Visual Bell
|
||||||
#
|
#
|
||||||
@@ -262,7 +262,7 @@ key_bindings:
|
|||||||
- { key: F10, chars: "\e[21~" }
|
- { key: F10, chars: "\e[21~" }
|
||||||
- { key: F11, chars: "\e[23~" }
|
- { key: F11, chars: "\e[23~" }
|
||||||
- { key: F12, chars: "\e[24~" }
|
- { key: F12, chars: "\e[24~" }
|
||||||
- { key: Back, chars: "" }
|
- { key: Back, chars: '' }
|
||||||
- { key: Back, mods: Alt, chars: "\e" }
|
- { key: Back, mods: Alt, chars: "\e" }
|
||||||
- { key: Insert, chars: "\e[2~" }
|
- { key: Insert, chars: "\e[2~" }
|
||||||
- { key: Delete, chars: "\e[3~" }
|
- { key: Delete, chars: "\e[3~" }
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ colorize: true
|
|||||||
# Which 'chroma' colorscheme should be applied to the output?
|
# Which 'chroma' colorscheme should be applied to the output?
|
||||||
# Options are available here:
|
# Options are available here:
|
||||||
# https://github.com/alecthomas/chroma/tree/master/styles
|
# https://github.com/alecthomas/chroma/tree/master/styles
|
||||||
style: "catppuccin"
|
style: 'catppuccin'
|
||||||
# Which 'chroma' "formatter" should be applied?
|
# Which 'chroma' "formatter" should be applied?
|
||||||
# One of: "terminal", "terminal256", "terminal16m"
|
# One of: "terminal", "terminal256", "terminal16m"
|
||||||
formatter: terminal256
|
formatter: terminal256
|
||||||
@@ -74,7 +74,6 @@ cheatpaths:
|
|||||||
path: ~/.dotfiles/config/cheat/cheatsheets/tldr
|
path: ~/.dotfiles/config/cheat/cheatsheets/tldr
|
||||||
tags: [tldr]
|
tags: [tldr]
|
||||||
readonly: true
|
readonly: true
|
||||||
|
|
||||||
# While it requires no configuration here, it's also worth noting that
|
# While it requires no configuration here, it's also worth noting that
|
||||||
# cheat will automatically append directories named '.cheat' within the
|
# cheat will automatically append directories named '.cheat' within the
|
||||||
# current working directory to the 'cheatpath'. This can be very useful if
|
# current working directory to the 'cheatpath'. This can be very useful if
|
||||||
|
|||||||
@@ -51,4 +51,4 @@ keybindings:
|
|||||||
prs: []
|
prs: []
|
||||||
repoPaths: {}
|
repoPaths: {}
|
||||||
pager:
|
pager:
|
||||||
diff: ""
|
diff: ''
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"Badge Text": "",
|
"Badge Text": "",
|
||||||
"Working Directory" : "\/Users\/ivuorinen\/Code",
|
"Working Directory": "/Users/ivuorinen/Code",
|
||||||
"Prompt Before Closing 2": false,
|
"Prompt Before Closing 2": false,
|
||||||
"Selected Text Color": {
|
"Selected Text Color": {
|
||||||
"Red Component": 0.80392156862745101,
|
"Red Component": 0.80392156862745101,
|
||||||
@@ -50,12 +50,7 @@
|
|||||||
"Disable Window Resizing": true,
|
"Disable Window Resizing": true,
|
||||||
"Description": "Default",
|
"Description": "Default",
|
||||||
"Close Sessions On End": true,
|
"Close Sessions On End": true,
|
||||||
"Jobs to Ignore" : [
|
"Jobs to Ignore": ["rlogin", "ssh", "slogin", "telnet"],
|
||||||
"rlogin",
|
|
||||||
"ssh",
|
|
||||||
"slogin",
|
|
||||||
"telnet"
|
|
||||||
],
|
|
||||||
"Scrollback Lines": 0,
|
"Scrollback Lines": 0,
|
||||||
"Draw Powerline Glyphs": true,
|
"Draw Powerline Glyphs": true,
|
||||||
"Flashing Bell": true,
|
"Flashing Bell": true,
|
||||||
@@ -274,9 +269,7 @@
|
|||||||
},
|
},
|
||||||
"Send Code When Idle": false,
|
"Send Code When Idle": false,
|
||||||
"ASCII Anti Aliased": true,
|
"ASCII Anti Aliased": true,
|
||||||
"Tags" : [
|
"Tags": [],
|
||||||
|
|
||||||
],
|
|
||||||
"Ansi 9 Color": {
|
"Ansi 9 Color": {
|
||||||
"Red Component": 0.95294117647058818,
|
"Red Component": 0.95294117647058818,
|
||||||
"Color Space": "sRGB",
|
"Color Space": "sRGB",
|
||||||
|
|||||||
@@ -20,62 +20,62 @@ wtf:
|
|||||||
# that support ten line of text and one of four.
|
# that support ten line of text and one of four.
|
||||||
rows: [10, 10, 10, 20, 10, 4]
|
rows: [10, 10, 10, 20, 10, 4]
|
||||||
refreshInterval: 1
|
refreshInterval: 1
|
||||||
openFileUtil: "open"
|
openFileUtil: 'open'
|
||||||
mods:
|
mods:
|
||||||
# You can have multiple widgets of the same type.
|
# You can have multiple widgets of the same type.
|
||||||
# The "key" is the name of the widget and the type is the actual
|
# The "key" is the name of the widget and the type is the actual
|
||||||
# widget you want to implement.
|
# widget you want to implement.
|
||||||
europe_time:
|
europe_time:
|
||||||
title: "Europe"
|
title: 'Europe'
|
||||||
type: clocks
|
type: clocks
|
||||||
colors:
|
colors:
|
||||||
rows:
|
rows:
|
||||||
even: "lightblue"
|
even: 'lightblue'
|
||||||
odd: "white"
|
odd: 'white'
|
||||||
enabled: true
|
enabled: true
|
||||||
locations:
|
locations:
|
||||||
GMT: "Etc/GMT"
|
GMT: 'Etc/GMT'
|
||||||
Amsterdam: "Europe/Amsterdam"
|
Amsterdam: 'Europe/Amsterdam'
|
||||||
Berlin: "Europe/Berlin"
|
Berlin: 'Europe/Berlin'
|
||||||
Barcelona: "Europe/Madrid"
|
Barcelona: 'Europe/Madrid'
|
||||||
Copenhagen: "Europe/Copenhagen"
|
Copenhagen: 'Europe/Copenhagen'
|
||||||
London: "Europe/London"
|
London: 'Europe/London'
|
||||||
Rome: "Europe/Rome"
|
Rome: 'Europe/Rome'
|
||||||
Stockholm: "Europe/Stockholm"
|
Stockholm: 'Europe/Stockholm'
|
||||||
position:
|
position:
|
||||||
top: 0
|
top: 0
|
||||||
left: 0
|
left: 0
|
||||||
height: 1
|
height: 1
|
||||||
width: 1
|
width: 1
|
||||||
refreshInterval: 15
|
refreshInterval: 15
|
||||||
sort: "alphabetical"
|
sort: 'alphabetical'
|
||||||
americas_time:
|
americas_time:
|
||||||
title: "Americas"
|
title: 'Americas'
|
||||||
type: clocks
|
type: clocks
|
||||||
colors:
|
colors:
|
||||||
rows:
|
rows:
|
||||||
even: "lightblue"
|
even: 'lightblue'
|
||||||
odd: "white"
|
odd: 'white'
|
||||||
enabled: true
|
enabled: true
|
||||||
locations:
|
locations:
|
||||||
UTC: "Etc/UTC"
|
UTC: 'Etc/UTC'
|
||||||
Vancouver: "America/Vancouver"
|
Vancouver: 'America/Vancouver'
|
||||||
New_York: "America/New_York"
|
New_York: 'America/New_York'
|
||||||
Sao_Paulo: "America/Sao_Paulo"
|
Sao_Paulo: 'America/Sao_Paulo'
|
||||||
Denver: "America/Denver"
|
Denver: 'America/Denver'
|
||||||
Iqaluit: "America/Iqaluit"
|
Iqaluit: 'America/Iqaluit'
|
||||||
Bahamas: "America/Nassau"
|
Bahamas: 'America/Nassau'
|
||||||
Chicago: "America/Chicago"
|
Chicago: 'America/Chicago'
|
||||||
position:
|
position:
|
||||||
top: 0
|
top: 0
|
||||||
left: 1
|
left: 1
|
||||||
height: 1
|
height: 1
|
||||||
width: 1
|
width: 1
|
||||||
refreshInterval: 15
|
refreshInterval: 15
|
||||||
sort: "alphabetical"
|
sort: 'alphabetical'
|
||||||
battery:
|
battery:
|
||||||
type: power
|
type: power
|
||||||
title: "⚡️"
|
title: '⚡️'
|
||||||
enabled: true
|
enabled: true
|
||||||
position:
|
position:
|
||||||
top: 1
|
top: 1
|
||||||
@@ -85,14 +85,14 @@ wtf:
|
|||||||
refreshInterval: 15
|
refreshInterval: 15
|
||||||
todolist:
|
todolist:
|
||||||
type: todo
|
type: todo
|
||||||
checkedIcon: "X"
|
checkedIcon: 'X'
|
||||||
colors:
|
colors:
|
||||||
checked: gray
|
checked: gray
|
||||||
highlight:
|
highlight:
|
||||||
fore: "black"
|
fore: 'black'
|
||||||
back: "orange"
|
back: 'orange'
|
||||||
enabled: true
|
enabled: true
|
||||||
filename: "todo.yml"
|
filename: 'todo.yml'
|
||||||
position:
|
position:
|
||||||
top: 1
|
top: 1
|
||||||
left: 0
|
left: 0
|
||||||
@@ -101,10 +101,10 @@ wtf:
|
|||||||
refreshInterval: 3600
|
refreshInterval: 3600
|
||||||
ip:
|
ip:
|
||||||
type: ipinfo
|
type: ipinfo
|
||||||
title: "My IP"
|
title: 'My IP'
|
||||||
colors:
|
colors:
|
||||||
name: "lightblue"
|
name: 'lightblue'
|
||||||
value: "white"
|
value: 'white'
|
||||||
enabled: true
|
enabled: true
|
||||||
position:
|
position:
|
||||||
top: 0
|
top: 0
|
||||||
@@ -114,7 +114,7 @@ wtf:
|
|||||||
refreshInterval: 150
|
refreshInterval: 150
|
||||||
security_info:
|
security_info:
|
||||||
type: security
|
type: security
|
||||||
title: "Staying safe"
|
title: 'Staying safe'
|
||||||
enabled: true
|
enabled: true
|
||||||
position:
|
position:
|
||||||
top: 1
|
top: 1
|
||||||
@@ -126,9 +126,9 @@ wtf:
|
|||||||
type: textfile
|
type: textfile
|
||||||
enabled: true
|
enabled: true
|
||||||
filePaths:
|
filePaths:
|
||||||
- "~/.config/wtf/config.yml"
|
- '~/.config/wtf/config.yml'
|
||||||
format: true
|
format: true
|
||||||
formatStyle: "monokai"
|
formatStyle: 'monokai'
|
||||||
position:
|
position:
|
||||||
top: 3
|
top: 3
|
||||||
left: 0
|
left: 0
|
||||||
@@ -137,7 +137,7 @@ wtf:
|
|||||||
refreshInterval: 15
|
refreshInterval: 15
|
||||||
news:
|
news:
|
||||||
type: hackernews
|
type: hackernews
|
||||||
title: "HackerNews"
|
title: 'HackerNews'
|
||||||
enabled: true
|
enabled: true
|
||||||
numberOfStories: 10
|
numberOfStories: 10
|
||||||
position:
|
position:
|
||||||
@@ -159,7 +159,7 @@ wtf:
|
|||||||
uptime:
|
uptime:
|
||||||
type: cmdrunner
|
type: cmdrunner
|
||||||
args: []
|
args: []
|
||||||
cmd: "uptime"
|
cmd: 'uptime'
|
||||||
enabled: true
|
enabled: true
|
||||||
position:
|
position:
|
||||||
top: 5
|
top: 5
|
||||||
@@ -169,8 +169,8 @@ wtf:
|
|||||||
refreshInterval: 30
|
refreshInterval: 30
|
||||||
disks:
|
disks:
|
||||||
type: cmdrunner
|
type: cmdrunner
|
||||||
cmd: "df"
|
cmd: 'df'
|
||||||
args: ["-h"]
|
args: ['-h']
|
||||||
enabled: true
|
enabled: true
|
||||||
position:
|
position:
|
||||||
top: 4
|
top: 4
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# nvim keybindings
|
# nvim keybindings
|
||||||
|
|
||||||
```md
|
```
|
||||||
n ! * <Cmd>lua require("which-key").show("!", {mode = "n", auto = true})<CR>
|
n ! * <Cmd>lua require("which-key").show("!", {mode = "n", auto = true})<CR>
|
||||||
n ' * <Cmd>lua require("which-key").show("'", {mode = "n", auto = true})<CR>
|
n ' * <Cmd>lua require("which-key").show("'", {mode = "n", auto = true})<CR>
|
||||||
n " * <Cmd>lua require("which-key").show("\"", {mode = "n", auto = true})<CR>
|
n " * <Cmd>lua require("which-key").show("\"", {mode = "n", auto = true})<CR>
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
# tmux keybindings
|
# tmux keybindings
|
||||||
|
|
||||||
|
|
||||||
Leader: `<ctrl><space>`
|
Leader: `<ctrl><space>`
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
bind-key -T copy-mode C-Space send-keys -X begin-selection
|
bind-key -T copy-mode C-Space send-keys -X begin-selection
|
||||||
bind-key -T copy-mode C-a send-keys -X start-of-line
|
bind-key -T copy-mode C-a send-keys -X start-of-line
|
||||||
@@ -298,4 +296,3 @@ bind-key -T root M-Right select-pane -R
|
|||||||
bind-key -T root C-Tab previous-window
|
bind-key -T root C-Tab previous-window
|
||||||
bind-key -T root C-S-Tab next-window
|
bind-key -T root C-S-Tab next-window
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
- include: "tools/dotbot-defaults.yaml"
|
- include: 'tools/dotbot-defaults.yaml'
|
||||||
- shell:
|
- shell:
|
||||||
- echo "Configuring air"
|
- echo "Configuring air"
|
||||||
- brewfile:
|
- brewfile:
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
force: true
|
force: true
|
||||||
glob: true
|
glob: true
|
||||||
path: hosts/air/base/**
|
path: hosts/air/base/**
|
||||||
prefix: "."
|
prefix: '.'
|
||||||
~/.config/:
|
~/.config/:
|
||||||
glob: true
|
glob: true
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
- include: "tools/dotbot-defaults.yaml"
|
- include: 'tools/dotbot-defaults.yaml'
|
||||||
- shell:
|
- shell:
|
||||||
- echo "Configuring lakka"
|
- echo "Configuring lakka"
|
||||||
- link:
|
- link:
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
force: true
|
force: true
|
||||||
glob: true
|
glob: true
|
||||||
path: hosts/lakka/base/**
|
path: hosts/lakka/base/**
|
||||||
prefix: "."
|
prefix: '.'
|
||||||
~/.config/:
|
~/.config/:
|
||||||
glob: true
|
glob: true
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
- include: "tools/dotbot-defaults.yaml"
|
- include: 'tools/dotbot-defaults.yaml'
|
||||||
- shell:
|
- shell:
|
||||||
- echo "Configuring tunkki"
|
- echo "Configuring tunkki"
|
||||||
- link:
|
- link:
|
||||||
@@ -6,8 +6,11 @@
|
|||||||
force: true
|
force: true
|
||||||
glob: true
|
glob: true
|
||||||
path: hosts/tunkki/base/**
|
path: hosts/tunkki/base/**
|
||||||
prefix: "."
|
prefix: '.'
|
||||||
~/.config/:
|
~/.config/:
|
||||||
glob: true
|
glob: true
|
||||||
force: true
|
force: true
|
||||||
path: hosts/tunkki/config/**
|
path: hosts/tunkki/config/**
|
||||||
|
- snap:
|
||||||
|
- nvim:
|
||||||
|
classic: true
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
- include: "tools/dotbot-defaults.yaml"
|
- include: 'tools/dotbot-defaults.yaml'
|
||||||
- shell:
|
- shell:
|
||||||
- echo "Configuring v"
|
- echo "Configuring v"
|
||||||
- link:
|
- link:
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
force: true
|
force: true
|
||||||
glob: true
|
glob: true
|
||||||
path: hosts/v/base/**
|
path: hosts/v/base/**
|
||||||
prefix: "."
|
prefix: '.'
|
||||||
~/.config/:
|
~/.config/:
|
||||||
glob: true
|
glob: true
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
- include: "tools/dotbot-defaults.yaml"
|
- include: 'tools/dotbot-defaults.yaml'
|
||||||
- clean:
|
- clean:
|
||||||
~/:
|
~/:
|
||||||
~/.config:
|
~/.config:
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
force: true
|
force: true
|
||||||
glob: true
|
glob: true
|
||||||
path: base/*
|
path: base/*
|
||||||
prefix: "."
|
prefix: '.'
|
||||||
~/.config/:
|
~/.config/:
|
||||||
glob: true
|
glob: true
|
||||||
relink: true
|
relink: true
|
||||||
@@ -65,6 +65,3 @@
|
|||||||
platform: linux # Optional
|
platform: linux # Optional
|
||||||
- time: 0 5 * * *
|
- time: 0 5 * * *
|
||||||
command: task sync
|
command: task sync
|
||||||
- snap:
|
|
||||||
- nvim:
|
|
||||||
classic: true
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Some problematic code has been fixed per `shellcheck` suggestions.
|
|||||||
## Sourced
|
## Sourced
|
||||||
|
|
||||||
| Script | Source |
|
| Script | Source |
|
||||||
|-------------------------|-------------------|
|
| ----------------------- | ----------------- |
|
||||||
| `x-dupes` | skx/sysadmin-util |
|
| `x-dupes` | skx/sysadmin-util |
|
||||||
| `x-foreach` | mvdan/dotfiles |
|
| `x-foreach` | mvdan/dotfiles |
|
||||||
| `x-multi-ping` | skx/sysadmin-util |
|
| `x-multi-ping` | skx/sysadmin-util |
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
# Updates $HOME/.dotfiles/docs/tmux.md with my keybindings.
|
# Updates $HOME/.dotfiles/docs/tmux.md with my keybindings.
|
||||||
|
|
||||||
# shellcheck source=./../../scripts/shared.sh
|
# shellcheck source=./../../scripts/shared.sh
|
||||||
|
DOTFILES_SHARED_LOADED=""
|
||||||
source "$HOME/.dotfiles/scripts/shared.sh"
|
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||||
|
|
||||||
have tmux || {
|
have tmux || {
|
||||||
@@ -15,7 +16,7 @@ TMUX_KEYBINDINGS_DOCS="$DOTFILES/docs/tmux-keybindings.md"
|
|||||||
CB="\n\`\`\`\n"
|
CB="\n\`\`\`\n"
|
||||||
KB=$(tmux list-keys)
|
KB=$(tmux list-keys)
|
||||||
H="# tmux keybindings\n"
|
H="# tmux keybindings\n"
|
||||||
L="\n\nLeader: \`<ctrl><space>\`\n\n"
|
L="\nLeader: \`<ctrl><space>\`\n"
|
||||||
|
|
||||||
# Generalize expanded $HOME to "$HOME"
|
# Generalize expanded $HOME to "$HOME"
|
||||||
KB="${KB//$HOME/\$HOME}"
|
KB="${KB//$HOME/\$HOME}"
|
||||||
|
|||||||
36
package.json
Normal file
36
package.json
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "ivuorinen-dotfiles",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "ivuorinen's dotfiles, this is for linting and formatters",
|
||||||
|
"main": "index.js",
|
||||||
|
"directories": {
|
||||||
|
"doc": "docs"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"lint:markdown": "npx markdownlint -d .",
|
||||||
|
"fix:markdown": "npx markdownlint -df .",
|
||||||
|
"lint:prettier": "npx prettier . --check",
|
||||||
|
"fix:prettier": "npx prettier . --write",
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 0"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/ivuorinen/dotfiles.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"dotfiles",
|
||||||
|
"ivuorinen"
|
||||||
|
],
|
||||||
|
"author": "Ismo Vuorinen",
|
||||||
|
"license": "ISC",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/ivuorinen/dotfiles/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/ivuorinen/dotfiles#readme",
|
||||||
|
"devDependencies": {
|
||||||
|
"@ivuorinen/commitlint-config": "^0.1.10",
|
||||||
|
"@ivuorinen/eslint-config": "^0.2.13",
|
||||||
|
"@ivuorinen/markdownlint-config": "^0.1.6",
|
||||||
|
"@ivuorinen/prettier-config": "^0.1.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user