Compare commits
7 Commits
linux/pack
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 3ceff2f790 | |||
|
|
7b18b704b0 | ||
| 9d65b58959 | |||
| a72854d3cd | |||
| 6ce0ee8eea | |||
| e4da40aac9 | |||
| 5d3b030cd4 |
@ -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"
|
||||
|
||||
22
.chezmoiscripts/run_onchange_arch-install-packages.sh.tmpl
Normal file
22
.chezmoiscripts/run_onchange_arch-install-packages.sh.tmpl
Normal 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 -}}
|
||||
@ -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
|
||||
|
||||
|
||||
20
private_dot_config/ghostty/config
Normal file
20
private_dot_config/ghostty/config
Normal 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
|
||||
@ -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=(
|
||||
|
||||
33
private_dot_config/sketchybar/items/network.sh
Normal file
33
private_dot_config/sketchybar/items/network.sh
Normal 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"
|
||||
@ -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[@]}"
|
||||
|
||||
@ -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"
|
||||
@ -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[@]}"
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user