Skip to content

Commit 0e7324f

Browse files
authored
January 2023 (#95)
1 parent 31e48ad commit 0e7324f

File tree

161 files changed

+1671
-2315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+1671
-2315
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
- name: Run tests
2626
run: ./bin/dot self test file 'json'
2727

28-
npm-tests:
29-
name: npm
30-
runs-on: ubuntu-latest
31-
steps:
32-
- name: Checkout sources
33-
uses: actions/checkout@v2
34-
- name: npm test
35-
run: cd ./repos/tasker-js; make test
28+
# npm-tests:
29+
# name: npm
30+
# runs-on: ubuntu-latest
31+
# steps:
32+
# - name: Checkout sources
33+
# uses: actions/checkout@v2
34+
# - name: npm test
35+
# run: cd ./repos/tasker-js; make test
3636

3737
help-tests:
3838
name: Help
@@ -92,9 +92,11 @@ jobs:
9292
- name: Cleanup
9393
run: rm -rf ./tests || true; cd $HOME && for f in $(ls -a | grep '^\.'); do rm "$f" || true; done
9494
- name: dot self install
95-
run: ./bin/dot self install-no-interactive || true
95+
run: ./bin/dot self install --profile simple || true
96+
- name: symlink
97+
run: ln -s /home/runner/work/dotfiles/dotfiles /home/runner/dotfiles || true
9698
- name: ls
97-
run: ls -la $HOME; echo; echo; cat /home/runner/work/dotfiles/dotfiles/shell/bash/bashrc
99+
run: ls -la $HOME; echo; echo; cat /home/runner/dotfiles/shell/bash/bashrc
98100
- name: DOTFILES env variable
99101
run: bash -c 'source $HOME/.bashrc; env; env | grep DOTFILES'
100102
- name: dot version

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ local/
1616
modules
1717
Cargo.lock
1818
launchers/alfred/**/*.png
19-
raycast/gen*.sh
19+
raycast/**/gen*.sh
2020
storm*.txt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ git clone https://github.com/denisidoro/dotfiles "$DOTFILES"
4040

4141
```bash
4242
dot::clone() {
43-
bash <(curl -s https://raw.githubusercontent.com/denisidoro/dotfiles/master/scripts/self/install)
43+
git clone https://github.com/denisidoro/dotfiles "$DOTFILES"
4444
}
4545

4646
dot::clone_if_necessary() {

bin/dot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ _alias() {
5151
case "$arg" in
5252
js|json) echo javascript ;;
5353
phab|ph) echo phabricator ;;
54-
bash|sh|shell|terminal|scripting) echo script ;;
54+
bash|sh|shell|scripting) echo script ;;
5555
fs) echo filesystem ;;
5656
and) echo android ;;
5757
cloud) echo storm ;;

bin/e

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
dot_bin_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
44

55
editors="/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code,code,vscode,sublime,nvim,vim,vi,nano"
6-
"${dot_bin_dir}/dot" terminal dashed "$editors" -- "$@"
6+
"${dot_bin_dir}/dot" script dashed "$editors" -- "$@"
Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
#!/usr/bin/env bash
2-
set -euo pipefail
1+
#!/usr/bin/env dash
32

43
# shellcheck disable=SC1007
54
export DOTFILES="${DOTFILES:-"$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"}"
6-
source "${DOTFILES}/shell/aux/vars.bash"
5+
. "${DOTFILES}/shell/aux/vars.bash"
76
export FZF_DEFAULT_OPTS='--tiebreak=begin --literal --layout=reverse --height 100% --inline-info --cycle'
87
export PATH="${PATH}:/usr/local/bin"
98

10-
args=("navi")
11-
if [ $# -eq 0 ]; then
12-
:
13-
else
14-
args+=("--query")
15-
args+=("$* ")
16-
fi
17-
18-
/Applications/Alacritty.app/Contents/MacOS/alacritty --command "${args[@]}"
9+
navi "$@"

bin/startup-cmd

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/usr/bin/env bash
2+
set +e
3+
set -x
4+
5+
export HOME="${HOME:-"/Users/denis.isidoro"}"
6+
7+
start_tcp_server() {
8+
local -r file="${HOME}/Library/LaunchAgents/io.github.denisidoro.tcpserver.plist"
9+
launchctl stop "$file"
10+
launchctl unload "$file"
11+
launchctl load "$file"
12+
}
13+
14+
_kill() {
15+
killall -KILL "$1"
16+
osascript -e "quit app \"$1\""
17+
pkill -9 "$1"
18+
}
19+
20+
start_tcp_server
21+
22+
_kill "Cisco AnyConnect Secure Mobility Client"
23+
_kill "CleanMyMac X"
24+
_kill "Zoom"
25+
_kill "Adobe Creative Cloud"
26+
_kill "CrowdStrike Inc."
27+
_kill "Elasticsearch, Inc"
28+
_kill "Google Updater"
29+
_kill "vboxwebsrv"
30+
_kill "Hello IT"
31+
_kill "Falcon Notifications"
32+
33+
brew services stop skhd
34+
35+
_kill "Terminal"

bin/v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
dot_bin_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
44

55
editors="nvim,vim,vi,nano"
6-
"${dot_bin_dir}/dot" terminal dashed "$editors" -- "$@"
6+
"${dot_bin_dir}/dot" script dashed "$editors" -- "$@"

config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
pkg:
22
sudo:
33
apk: true
4+
apt: true
45

56
game:
67
cemu:

editors/vscode/settings.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"editor.fontSize": 12,
3+
"update.mode": "none",
34
// "editor.fontFamily": "Hack Nerd Font",
45
"editor.letterSpacing": 0.2,
56
"editor.lineHeight": 18,
67
"editor.renderControlCharacters": true,
78
"editor.renderWhitespace": "none",
89
"files.autoSave": "onFocusChange",
910
"files.trimFinalNewlines": true,
10-
"editor.formatOnPaste": true,
11-
// "editor.formatOnPaste": false,
11+
// "editor.formatOnPaste": true,
12+
"editor.formatOnPaste": false,
1213
"editor.formatOnSave": true,
1314
// "editor.formatOnSave": false,
1415
"editor.minimap.enabled": true,
@@ -32,7 +33,7 @@
3233
"workbench.activityBar.visible": false,
3334
"workbench.editor.enablePreviewFromQuickOpen": true,
3435
"workbench.editor.highlightModifiedTabs": true,
35-
"workbench.list.keyboardNavigation": "simple",
36+
"workbench.list.defaultFindMode": "highlight",
3637
"customizeUI.activityBar": "bottom",
3738
"customizeUI.titleBar": "custom",
3839
"window.titleBarStyle": "custom",
@@ -200,7 +201,7 @@
200201
}
201202
],
202203
"extensions.ignoreRecommendations": true,
203-
"workbench.colorTheme": "Ayu Mirage Bordered",
204+
"workbench.colorTheme": "Ayu Mirage",
204205
"typescript.updateImportsOnFileMove.enabled": "always",
205206
"C_Cpp.updateChannel": "Insiders",
206207
"workbench.editorAssociations": {
@@ -229,5 +230,6 @@
229230
"typescript.inlayHints.parameterTypes.enabled": true,
230231
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
231232
"typescript.inlayHints.variableTypes.enabled": true,
232-
"workbench.editor.enablePreviewFromCodeNavigation": true
233-
}
233+
"workbench.editor.enablePreviewFromCodeNavigation": true,
234+
"window.zoomLevel": -1
235+
}

0 commit comments

Comments
 (0)