Skip to content

Commit

Permalink
y
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzc committed Jun 17, 2024
1 parent 9b44460 commit 2e265f8
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 6 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,30 @@ Personal dotfiles managed by [chezmoi](https://github.com/twpayne/chezmoi).
# install with curl
`curl -fsSL https://dotfiles.xvzc.dev | bash`

# how to install yabai properly

## Create certificate
(How to create certificate for yabai)[https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(from-HEAD)]

## Uninstall previous version
```sh
brew uninstall koekeishiya/formulae/yabai
```

## Install HEAD
```sh
brew install koekeishiya/formulae/yabai --HEAD
```

## Sign certification
```sh
codesign -fs 'yabai-cert' $(brew --prefix yabai)/bin/yabai
```

## Enable script addition
```sh
echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut -d " " -f 1) $(which yabai) --load-sa" | sudo tee /private/etc/sudoers.d/yabai
```



8 changes: 4 additions & 4 deletions dot_profile
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ export PATH="$PATH:~/.spoof-dpi/bin"
# _is_darwin && \
# export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock

# ┌──────────
#HOMEBREW
# └──────────
_is_darwin && export PATH="/opt/homebrew/bin:$PATH"
# ┌────────┐
#DOCKER
# └────────┘
export PATH="$PATH:/Applications/Docker.app/Contents/Resources/bin/"

# ┌────┐
# │ GO │
Expand Down
1 change: 1 addition & 0 deletions dot_wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local wezterm = require("wezterm")

local config = wezterm.config_builder()

config.window_decorations = "RESIZE"
config.use_fancy_tab_bar = true
config.hide_tab_bar_if_only_one_tab = true
config.window_close_confirmation = "NeverPrompt"
Expand Down
4 changes: 2 additions & 2 deletions dot_zsh/alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# alias sudo='sudo '
alias vi='nvim'

if [ -x "$(command -v eza)" ]; then
if [ "$(command -v eza)" ]; then
alias l="ls"
alias ls='eza --sort=type'
alias la='eza -alg --sort=type'
Expand Down Expand Up @@ -85,7 +85,7 @@ alias dkc='docker-compose'
# ┌────────────┐
# │ KUBERNETES │
# └────────────┘
if [ -x "$(command -v kubectl)" ]; then
if [ "$(command -v kubectl)" ]; then
alias k='kubectl'

alias kg='kubectl get'
Expand Down
1 change: 1 addition & 0 deletions dot_zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ export EDITOR=nvim
# PATHS
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.scripts/git:$PATH"
_is_darwin && export PATH="/opt/homebrew/bin:$PATH"

6 changes: 6 additions & 0 deletions setup/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ tap "homebrew/services"
tap "koekeishiya/formulae"
tap "homebrew/cask-fonts"
tap "daipeihust/tap"
tap "koekeishiya/formulae"

brew "[email protected]"
brew "go"
brew "node@18", link: :force
Expand Down Expand Up @@ -31,6 +33,9 @@ brew "ranger"
brew "ripgrep"
brew "terraform"
brew "wakeonlan"
brew "yabai"
brew "skhd"

cask "font-jetbrains-mono-nerd-font"
cask "font-d2coding"
cask "wezterm"
Expand All @@ -40,5 +45,6 @@ cask "google-chrome"
cask "discord"
cask "alfred"
cask "bettertouchtool"

mas "KakaoTalk ", id: 869223134
mas "Gifski ", id: 1351639930

0 comments on commit 2e265f8

Please sign in to comment.