Skip to content

Commit

Permalink
Improve sbar, tile, and kitty setup
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 29, 2024
1 parent de96061 commit 480653f
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
26 changes: 26 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ prep-term: prep-kitty
@echo "And possibly: gh auth refresh -s read:project"
which fzf || brew install fzf
which yazi || brew install yazi
which nnn || brew install nnn
which stylua || brew install stylua
which sd || brew install sd
which luarocks || brew install luarocks
Expand Down Expand Up @@ -188,6 +189,31 @@ prep-py:
uv python install 3.11
uv venv --python 3.11

prep-sbar:
#!/usr/bin/env bash
curl -L https://raw.githubusercontent.com/FelixKratz/dotfiles/master/install_sketchybar.sh | sh
mkdir -p ~/.config/sketchybar/plugins
cp /opt/homebrew/opt/sketchybar/share/sketchybar/examples/sketchybarrc ~/.config/sketchybar/sketchybarrc
cp -r /opt/homebrew/opt/sketchybar/share/sketchybar/examples/plugins/ ~/.config/sketchybar/plugins/
chmod +x ~/.config/sketchybar/plugins/*
brew services restart felixkratz/formulae/sketchybar
# Inspired by https://github.com/FelixKratz/dotfiles
dotfiletmpdir := "/tmp/dotfiles-" + choose('8', HEX)

config-sbar:
#!/usr/bin/env bash
rm -rf ~/.config/sketchybar
git clone https://github.com/FelixKratz/dotfiles {{dotfiletmpdir}}
cp -r {{dotfiletmpdir}}/.config/sketchybar ~/.config/
rm -rf {{dotfiletmpdir}}
brew services restart felixkratz/formulae/sketchybar
sbar:
brew services restart felixkratz/formulae/sketchybar

prep-tile:
brew install --cask amethyst

# act:
# ./act.sh
13 changes: 13 additions & 0 deletions kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,17 @@ font_size 18.0

placement_strategy center

macos_quit_when_last_window_closed yes

map cmd+n new_os_window_with_cwd

# BEGIN_KITTY_THEME
# GitHub Dark
include current-theme.conf
# END_KITTY_THEME

# draw_minimal_borders yes
macos_titlebar_color dark

startup_session kitty_session.conf

1 change: 1 addition & 0 deletions kitty_session.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ layout tall
cd ~/projects/forest
# Create a window and run the specified command in it
launch zsh

3 changes: 3 additions & 0 deletions uts-plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,9 @@ local plugins = {
config = function()
vim.g.mkdp_auto_start = 1
end,
keys = {
{ "<leader>mm", "<cmd>MarkdownPreviewToggle<cr>", desc = "Toggle Markdown Preview" },
},
},

-- {
Expand Down

0 comments on commit 480653f

Please sign in to comment.