Compare commits

...

7 Commits

10 changed files with 118 additions and 9 deletions

View File

@ -10,7 +10,7 @@ packages:
- "plex"
- "spotify"
- "visual-studio-code"
- "iterm2"
- "ghostty"
- "vlc"
brews:
- "git"
@ -25,6 +25,31 @@ packages:
- "fnm"
- "gdu"
- "hyfetch"
arch:
pacman:
- "alacritty"
- "bat"
- "bitwarden"
- "base-devel"
- "eza"
- "firefox"
- "git"
- "ghostty"
- "httpie"
- "hyfetch"
- "lazygit"
- "neovim"
- "opendoas"
- "tailscale"
- "vi"
- "vim"
aur:
- "beekeeper-studio"
- "discord-canary"
- "gitea-tea-git"
- "localsend-bin"
- "spotify"
- "visual-studio-code-bin"
vscode:
- "aaron-bond.better-comments"
- "bbenoist.nix"

View File

@ -0,0 +1,22 @@
{{ if (eq .chezmoi.os "linux") -}}
#!/bin/bash
_install_pacman_packages() {
pacman -S --needed {{ .packages.arch.pacman | join " " }}
}
_install_yay() {
TMPDIR=$(mktemp -d)
git clone https://aur.archlinux.org/yay.git $TMPDIR
cd $TMPDIR/yay
makepkg -si
yay -Y --gendb
}
_install_pacman_packages() {
pacman -S --needed {{ .packages.arch.aur | join " " }}
}
{{ end -}}

View File

@ -49,7 +49,7 @@ sudo nvram StartupMute=%00 # Disable startup BONGGGGGGGGGGG
mkdir -p $HOME/walls
url="https://i.badstagram.gay/u/g5uhTJ.png"
url="https://i.badstagram.gay/u/M3SabQ.jpg"
wallPath="$HOME/walls/$(basename $url)"
wget $url -O $wallPath

View File

@ -0,0 +1,20 @@
theme = Catppuccin Macchiato
font-family = Hack Nerd Font Regular
font-family-bold = Hack Nerd Font Regular
font-family-italic = Hack Nerd Font Italic
font-family-bold-italic = Hack Nerd Font Bold Italic
font-size = 14
env = TERM=xterm-256color
keybind = ctrl+N=new_window
keybind = ctrl+shift+V=paste_from_clipboard
keybind = alt+W=new_split:up
keybind = alt+A=new_split:right
keybind = alt+S=new_split:down
keybind = alt+D=new_split:left
keybind = ctrl+alt+W=goto_split:up
keybind = ctrl+alt+A=goto_split:right
keybind = ctrl+alt+S=goto_split:down
keybind = ctrl+alt+D=goto_split:left

View File

@ -13,10 +13,10 @@ bar=(
padding_right=0
padding_left=3
corner_radius="$CORNER_RADIUS"
y_offset=1
y_offset=0
margin=5
blur_radius=20
notch_width=200
notch_width=195
)
defaults=(

View File

@ -0,0 +1,33 @@
#!/usr/bin/env bash
COLOR="$PINK"
props=(
update_freq=60
icon.color="$COLOR"
icon.padding_left=10
label.padding_right=10
label.color="$COLOR"
background.height=26
background.corner_radius="$CORNER_RADIUS"
background.padding_right=5
background.border_width="$BORDER_WIDTH"
background.border_color="$COLOR"
background.color="$BAR_COLOR"
background.drawing=on
script="$PLUGIN_DIR/network.sh"
)
sketchybar --add item network left \
--set network \
"${props[@]}"
sketchybar --add item separator left \
--set separator icon=\
icon.font="$FONT:Regular:16.0" \
background.padding_left=15 \
background.padding_right=15 \
label.drawing=off \
associated_display=active \
icon.color="$YELLOW"

View File

@ -5,8 +5,8 @@ MUSIC_EVENT="com.spotify.client.PlaybackStateChanged"
COLOR="$GREEN"
props=(
scroll_texts=on
icon=󰎆
scroll_texts="on"
icon="󰎆"
icon.color="$COLOR"
icon.padding_left=10
background.color="$BAR_COLOR"
@ -26,4 +26,4 @@ sketchybar --add event music_change $MUSIC_EVENT \
--add item music q \
--subscribe music music_change \
--set music ${bracket_defaults[@]} \
"${props[@]}"
"${props[@]}"

View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
USERNAME=$(networksetup -listpreferredwirelessnetworks en0 | sed -n '2p' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
sketchybar --set "$NAME" icon="" label="$USERNAME"

View File

@ -1,9 +1,8 @@
#!/usr/bin/env bash
#!/usr/bin/env bash
update() {
PLAYING=1
if [ "$(echo "$INFO" | jq -r '.["Player State"]')" = "Playing" ]; then
PLAYING=0
TRACK="$(echo "$INFO" | jq -r .Name | cut -c1-40)"
@ -22,6 +21,11 @@ update() {
else
args+=(--set music icon=􀊆)
fi
if [[ $INFO == "" ]]; then
args+=(--set music drawing=off)
fi
sketchybar -m "${args[@]}"
}