mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-03 11:44:11 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3bbcb248ba | |||
| 17194755e6 | |||
| 45f95422ef | |||
| b8f0bb570e | |||
| a0d8069455 | |||
|
|
8b1eb0a582 | ||
|
|
9cb10250c5 |
10
.github/workflows/update-submodules.yml
vendored
10
.github/workflows/update-submodules.yml
vendored
@@ -22,16 +22,6 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Clean up previous checkouts
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
rm -rf ${{ github.workspace }}
|
|
||||||
|
|
||||||
- name: Reset file permissions
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
sudo chown -R $(whoami) ${{ github.workspace }}
|
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -44,3 +44,4 @@ config/fish/fish_variables
|
|||||||
config/fish/completions/asdf.fish
|
config/fish/completions/asdf.fish
|
||||||
config/vim/.netrwhist
|
config/vim/.netrwhist
|
||||||
config/vim/extra/*
|
config/vim/extra/*
|
||||||
|
config/gh/hosts.yml
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ repos:
|
|||||||
args: [-c, .markdownlint.json, --fix]
|
args: [-c, .markdownlint.json, --fix]
|
||||||
|
|
||||||
- repo: https://github.com/adrienverge/yamllint
|
- repo: https://github.com/adrienverge/yamllint
|
||||||
rev: v1.35.1
|
rev: v1.36.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ repos:
|
|||||||
- id: actionlint
|
- id: actionlint
|
||||||
|
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 39.185.9
|
rev: 39.205.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
|
|
||||||
|
|||||||
@@ -52,3 +52,21 @@ function .s --wraps='cd ~/Code/s' --description 'cd ~/Code/s'
|
|||||||
cd ~/Code/s $argv
|
cd ~/Code/s $argv
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# shortcut to commit with a message
|
||||||
|
function commit --wraps='git commit -a -m "chore: automated commit"' --description 'commit shortcut'
|
||||||
|
set -l commitMessage $argv
|
||||||
|
git add .
|
||||||
|
|
||||||
|
if test -z "$commitMessage"
|
||||||
|
if type -q aicommits
|
||||||
|
aicommits --type conventional
|
||||||
|
else
|
||||||
|
git commit -a -m "chore: automated commit"
|
||||||
|
end
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
git commit -a -m "$commitMessage"
|
||||||
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -64,8 +64,9 @@ section_install()
|
|||||||
$0 install macos
|
$0 install macos
|
||||||
$0 install fonts
|
$0 install fonts
|
||||||
$0 brew install
|
$0 brew install
|
||||||
|
$0 install cargo
|
||||||
|
$0 install go
|
||||||
$0 install composer
|
$0 install composer
|
||||||
$0 install fzf
|
|
||||||
$0 install cheat-databases
|
$0 install cheat-databases
|
||||||
$0 install nvm
|
$0 install nvm
|
||||||
$0 install npm-packages
|
$0 install npm-packages
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ add_fonts_to_sparse_checkout()
|
|||||||
install_fonts()
|
install_fonts()
|
||||||
{
|
{
|
||||||
msgr run "Starting to install NerdFonts..."
|
msgr run "Starting to install NerdFonts..."
|
||||||
|
# shellcheck disable=SC2048,SC2086
|
||||||
./install.sh -q -s ${fonts[*]}
|
./install.sh -q -s ${fonts[*]}
|
||||||
msgr run_done "Done"
|
msgr run_done "Done"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,9 +41,6 @@ msgr nested "Setting General UI/UX settings"
|
|||||||
# Disable the sound effects on boot
|
# Disable the sound effects on boot
|
||||||
sudo nvram SystemAudioVolume=" "
|
sudo nvram SystemAudioVolume=" "
|
||||||
|
|
||||||
# Menu bar: disable transparency
|
|
||||||
#defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
|
|
||||||
|
|
||||||
# Set sidebar icon size to small
|
# Set sidebar icon size to small
|
||||||
defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 1
|
defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 1
|
||||||
|
|
||||||
@@ -339,8 +336,7 @@ msgr nested "Restarting applications to apply changes"
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
for app in "Activity Monitor" "Address Book" "Calendar" "Contacts" "cfprefsd" \
|
for app in "Activity Monitor" "Address Book" "Calendar" "Contacts" "cfprefsd" \
|
||||||
"Dock" "Finder" "Mail" "Messages" "Safari" "SizeUp" "SystemUIServer" \
|
"Dock" "Finder" "Mail" "Messages" "Safari" "SizeUp" "SystemUIServer"; do
|
||||||
"Terminal" "Transmission" "iCal"; do
|
|
||||||
killall "${app}" > /dev/null 2>&1
|
killall "${app}" > /dev/null 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user