Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ad28697

Browse files
committedJun 16, 2024·
WIP
1 parent d45a69e commit ad28697

File tree

20 files changed

+5552
-542
lines changed

20 files changed

+5552
-542
lines changed
 

‎Pipfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ansible = "*"
1010
ansible-lint = "*"
1111
flake8 = "*"
1212
molecule-docker = "*"
13-
yamllint = "==1.20.0"
13+
yamllint = "*"
1414

1515
[requires]
1616
python_version = "3.9"

‎Pipfile.lock

+657-534
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎roles/dotfiles/files/Mackup/.bundle/config

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ BUNDLE_GEM__TEST: "rspec"
33
BUNDLE_GEM__MIT: "false"
44
BUNDLE_GEM__COC: "true"
55
BUNDLE_BUILD__MYSQL2: "--with-opt-dir=/usr/local/opt/openssl"
6+
BUNDLE_GEM__CI: "github"
7+
BUNDLE_GEM__CHANGELOG: "false"
8+
BUNDLE_GEM__LINTER: "rubocop"

‎roles/dotfiles/files/Mackup/.config/karabiner/automatic_backups/karabiner_20220818.json

+580
Large diffs are not rendered by default.

‎roles/dotfiles/files/Mackup/.config/karabiner/automatic_backups/karabiner_20220921.json

+598
Large diffs are not rendered by default.

‎roles/dotfiles/files/Mackup/.config/karabiner/automatic_backups/karabiner_20230518.json

+638
Large diffs are not rendered by default.

‎roles/dotfiles/files/Mackup/.config/karabiner/automatic_backups/karabiner_20240411.json

+677
Large diffs are not rendered by default.

‎roles/dotfiles/files/Mackup/.config/karabiner/automatic_backups/karabiner_20240416.json

+755
Large diffs are not rendered by default.

‎roles/dotfiles/files/Mackup/.config/karabiner/automatic_backups/karabiner_20240503.json

+765
Large diffs are not rendered by default.

‎roles/dotfiles/files/Mackup/.config/karabiner/automatic_backups/karabiner_20240527.json

+765
Large diffs are not rendered by default.

‎roles/dotfiles/files/Mackup/.config/nvim/init.vim

+11-4
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@ Plug 'jiangmiao/auto-pairs'
2525
Plug 'junegunn/fzf', { 'dir': '~/.vim/fzf', 'do': './install --bin' }
2626
Plug 'junegunn/fzf.vim'
2727
Plug 'tpope/vim-commentary'
28-
Plug 'tpope/vim-rsi'
29-
Plug 'tpope/vim-repeat'
28+
Plug 'tpope/vim-rsi' " readline style insertion
29+
Plug 'tpope/vim-repeat' " extends repeating for surround.vim amongst others
3030
Plug 'tpope/vim-sensible' " https://www.rogin.xyz/blog/sensible-neovim
3131
Plug 'tpope/vim-surround'
32+
Plug 'tpope/vim-rails' " vim rails
3233
Plug 'dylanaraps/wal'
33-
Plug 'godlygeek/tabular'
34+
Plug 'godlygeek/tabular' " easy alignmnent of text
3435
Plug 'freitass/todo.txt-vim'
35-
Plug 'jceb/vim-orgmode'
36+
"Plug 'jceb/vim-orgmode'
3637
Plug 'ervandew/supertab'
3738
Plug 'inkarkat/vim-ReplaceWithRegister'
3839

@@ -138,6 +139,12 @@ set shiftwidth=2
138139

139140
" set colorcolumn=+1
140141

142+
"""""""""""""""""""""""""""""""
143+
" edit config & reload config "
144+
"""""""""""""""""""""""""""""""
145+
nnoremap <leader>ev :exe 'edit' $MYVIMRC<CR>
146+
nnoremap <leader>sv :source $MYVIMRC<CR>
147+
141148
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
142149
" => Moving around, tabs, windows and buffers
143150
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

‎roles/dotfiles/files/Mackup/.doom.d/config.el

+5
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,8 @@
5252
;;
5353
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
5454
;; they are implemented.
55+
56+
;;disable splash screen and startup message
57+
;;https://linux-tips.com/t/disabling-emacs-splash-screen/211
58+
(setq inhibit-startup-message t)
59+
(setq initial-scratch-message nil)

‎roles/dotfiles/files/Mackup/.gitconfig

+29
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,32 @@ trustExitCode = true
3535
# insteadOf = https://github.com/
3636
[init]
3737
defaultBranch = main
38+
[maintenance]
39+
repo = /Users/yuhonas/zsh/cd-gitroot
40+
repo = /Users/yuhonas/zsh/fast-syntax-highlighting
41+
repo = /Users/yuhonas/zsh/forgit
42+
repo = /Users/yuhonas/zsh/fzf-tab
43+
repo = /Users/yuhonas/zsh/fzf-z
44+
repo = /Users/yuhonas/zsh/ohmyzsh
45+
repo = /Users/yuhonas/zsh/znap
46+
repo = /Users/yuhonas/zsh/zsh-aliases-exa
47+
repo = /Users/yuhonas/zsh/zsh-ansimotd
48+
repo = /Users/yuhonas/zsh/zsh-autosuggestions
49+
repo = /Users/yuhonas/zsh/zsh-completions
50+
repo = /Users/yuhonas/zsh/zsh-you-should-use
51+
repo = /Users/yuhonas/zsh/fzf-fasd
52+
repo = /Users/yuhonas/zsh/zsh-autocomplete
53+
repo = /Users/yuhonas/zsh/DarrinTisdale/zsh-aliases-exa
54+
repo = /Users/yuhonas/zsh/MichaelAquilina/zsh-you-should-use
55+
repo = /Users/yuhonas/zsh/ohmyzsh/ohmyzsh
56+
repo = /Users/yuhonas/zsh/wfxr/forgit
57+
repo = /Users/yuhonas/zsh/yuhonas/cd-gitroot
58+
repo = /Users/yuhonas/zsh/yuhonas/zsh-ansimotd
59+
repo = /Users/yuhonas/zsh/zdharma-continuum/fast-syntax-highlighting
60+
repo = /Users/yuhonas/zsh/zsh-users/zsh-autosuggestions
61+
repo = /Users/yuhonas/zsh/zsh-users/zsh-completions
62+
[filter "lfs"]
63+
required = true
64+
clean = git-lfs clean -- %f
65+
smudge = git-lfs smudge -- %f
66+
process = git-lfs filter-process
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Move files into a directory without the read flag
4+
#
5+
6+
PRIVATE_DIR="~/Incomplete/testing"
7+
8+
9+
selected_files=$(osascript 2> /dev/null <<EOF
10+
set output to ""
11+
tell application "Finder" to set the_selection to selection
12+
set item_count to count the_selection
13+
repeat with item_index from 1 to count the_selection
14+
if item_index is less than item_count then set the_delimiter to "\n"
15+
if item_index is item_count then set the_delimiter to ""
16+
set output to output & ((item item_index of the_selection as alias)'s POSIX path) & the_delimiter
17+
end repeat
18+
EOF
19+
)
20+
21+
echo $selected_files
22+
23+
# if [[ -n $selected_file ]]; then
24+
25+
# destination=$(osascript -e 'tell application (path to frontmost application as text)
26+
# try
27+
# set myFile to choose file name with prompt "Save file as:"
28+
# POSIX path of myFile
29+
# end try
30+
# end tell')
31+
32+
# fi
33+
34+
35+
# chmod +x $PRIVATE_DIR
36+
37+
# $output=$(mv -v "$file_to_move"))
38+
39+
# display notification "Privatized complete" subtitle "File has been moved"
40+
41+
42+
43+
# if [ -n "$wallpaper_file" ]; then
44+
# if wal -i "$wallpaper_file" -q; then
45+
# accent_color=$(jq --raw-output '.colors.color9' < "$HOME/.cache/wal/colors.json")
46+
47+
# echo "Found color $accent_color"
48+
# osx-colors set "$accent_color"
49+
# fi
50+
# fi
51+
52+
# # # reload kitty if it's running
53+
# if pgrep kitty 1>/dev/null; then
54+
# killall -SIGUSR1 kitty
55+
# fi

‎roles/dotfiles/files/Mackup/.local/bin/select-wallpaper.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,16 @@ if [ -n "$wallpaper_file" ]; then
2727
# do not set the walpaper using wal, it's broken in macos sonora
2828
# see https://github.com/dylanaraps/pywal/issues/715
2929
if wal -n -i "$wallpaper_file" -q; then
30-
accent_color=$(jq --raw-output '.colors.color9' < "$HOME/.cache/wal/colors.json")
30+
accent_color=$(jq --raw-output '.colors.color13' < "$HOME/.cache/wal/colors.json")
31+
32+
# accent_color = "#03a061"
3133

3234
echo "Found color $accent_color"
35+
3336
osx-colors set "$accent_color"
37+
38+
# setting lights
39+
$HOME/.local/bin/set-light-color "$accent_color"
3440
fi
3541
fi
3642

‎roles/dotfiles/files/Mackup/.tool-versions

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ nodejs 20.10.0
22
python 3.12.1
33
ruby 3.3.0
44
rust 1.75.0
5+
elixir 1.16.2
6+
erlang 26.2.3

‎roles/dotfiles/files/Mackup/Library/Application Support/Code/User/settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
"editor.defaultFormatter": "ms-python.autopep8",
7474
"editor.formatOnSave": true
7575
},
76-
"vim.easymotion": true,
7776
"terminal.integrated.defaultProfile.osx": "zsh",
7877
"rubyLsp.featuresConfiguration": {},
7978
"rubyLsp.enabledFeatures": {
@@ -107,5 +106,6 @@
107106
"phoenix-heex": "html"
108107
},
109108
"workbench.colorTheme": "Solarized Dark",
110-
"github.copilot.editor.enableAutoCompletions": true
109+
"github.copilot.editor.enableAutoCompletions": true,
110+
"vim.easymotionDimBackground": false
111111
}

‎roles/dotfiles/tasks/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
- fzf # fuzzy finder
2727
- gawk # for tmux fingers plugin
2828
- git
29+
- glow # markdown viewer
2930
- ispell
3031
- less # the version that comes with macos is old
3132
- lesspipe
@@ -40,6 +41,7 @@
4041
- tealdeer # a faster implemention of tldr (community driven man pages)
4142
- tmux
4243
- wget
44+
- zellij # tmux replacement
4345
- zsh
4446
update_homebrew: true
4547

0 commit comments

Comments
 (0)
Please sign in to comment.