Compare commits

..

No commits in common. "8c36bcaf79061a772fc741d21c6ab0dcfbd8fbf4" and "b474ba1e9130507d9d2941d619d4a460d86cdccb" have entirely different histories.

7 changed files with 12 additions and 34 deletions

View file

@ -2,7 +2,7 @@
exec_always --no-startup-id pidof -s picom || picom
# Run flashfocus
exec_always --no-startup-id $flashfocus_bin --config ~/.config/flashfocus/flashfocus.yml
exec_always --no-startup-id flashfocus --config ~/.config/flashfocus/flashfocus.yml
bindsym Alt+section exec --no-startup-id flash_window
# Set wallpaper

View file

@ -13,5 +13,3 @@ set $calc_cmd kitty --title calculator bc -l
set $browser firefox
set $terminal kitty
set $flashfocus_bin /opt/dotfiles/pyenv/bin/flashfocus

View file

@ -1,4 +1,4 @@
font_size 10.0
font_size 12.0
hide_window_decorations yes
window_padding_width 5

View file

@ -3,7 +3,6 @@
# shellcheck disable=SC2139
# Verbosity and settings that you pretty much just always are going to want.
alias \
ls="ls --color=auto" \
bc="bc -ql" \
cp="cp -iv" \
df='df -h' \

View file

@ -9,17 +9,11 @@ export PAGER=less
export TERMINAL=kitty
export VISUAL=code
# Misc vars
export CHROME_EXECUTABLE=chromium # For Flutter
# Clean home:
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export ANDROID_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/Android/Sdk"
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export KREW_ROOT="${XDG_DATA_HOME:-$HOME/.local/share}/krew"
export FLUTTER_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/flutter"
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history"
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
@ -94,10 +88,10 @@ append_path_with_entries() {
}
prepend_paths=(
"$HOME/bin"
"$HOME/.local/bin"
"$HOME/.cargo/bin"
"$FLUTTER_HOME/bin"
"$KREW_ROOT/bin"
"${KREW_ROOT:-$HOME/.krew}/bin"
)
append_paths=()

View file

@ -16,6 +16,7 @@ set-window-option -g automatic-rename on
set-option -g set-titles on
# True Colors
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
set -g status-keys vi

View file

@ -11,8 +11,6 @@ script_dir="$(
cd -- "$(dirname "$0")" >/dev/null 2>&1 || exit 1
pwd -P
)"
opt_dir=/opt/dotfiles
python_venv=$opt_dir/pyenv
#
# Argument parsing and help
@ -81,18 +79,8 @@ function construct_target_list() {
}
function setup_pip_packages() {
echo "Installing Python packages into virtualenv $python_venv"
! [ -d "$opt_dir" ] && sudo mkdir "$opt_dir"
sudo python -m venv "$python_venv"
# shellcheck disable=SC1091
source "$python_venv/bin/activate"
# shellcheck disable=SC2046
sudo pip3 install $(get_packages $(construct_target_list pip)) --no-input || return 1
deactivate
}
function install_sddm_aerial_theme() {
@ -197,16 +185,14 @@ function setup_brew_formulas() {
}
function setup_krew() {
set -e
cd "$(mktemp -d)"
OS="$(uname | tr '[:upper:]' '[:lower:]')"
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')"
KREW="krew-${OS}_${ARCH}"
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz"
tar zxvf "${KREW}.tar.gz"
./"${KREW}" install krew
cd "$(mktemp -d)" &&
OS="$(uname | tr '[:upper:]' '[:lower:]')" &&
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
KREW="krew-${OS}_${ARCH}" &&
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" &&
tar zxvf "${KREW}.tar.gz" &&
./"${KREW}" install krew
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
set +e
}
function setup_krew_plugins() {