c6f96bcac8
- Add cliphist clipboard manager with wofi picker (Mod+Shift+C) - Add wl-paste watch for clipboard history - Add swayidle idle timeouts: blank at 5min, lock at 10min - Add blueman-applet autostart (bluetooth tray) - Add wlsunset night light for Vancouver (49.2N, 123.1W) - Add clipboard-picker script and symlink in install.sh - Waybar: add battery charging format, warning/critical states, tray config - Waybar CSS: add warning (yellow) and critical (red) battery colors
30 lines
934 B
Bash
Executable File
30 lines
934 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "==> Installing packages"
|
|
sudo pacman -S --needed - < packages.txt
|
|
|
|
echo "==> Creating config directories"
|
|
mkdir -p ~/.config/{niri,waybar,wofi,mako,alacritty}
|
|
|
|
echo "==> Linking configs"
|
|
|
|
ln -sf "$(pwd)/niri/config.kdl" ~/.config/niri/config.kdl
|
|
ln -sf "$(pwd)/waybar/config.jsonc" ~/.config/waybar/config.jsonc
|
|
ln -sf "$(pwd)/waybar/style.css" ~/.config/waybar/style.css
|
|
ln -sf "$(pwd)/wofi/config" ~/.config/wofi/config
|
|
ln -sf "$(pwd)/wofi/style.css" ~/.config/wofi/style.css
|
|
ln -sf "$(pwd)/mako/config" ~/.config/mako/config
|
|
ln -sf "$(pwd)/alacritty/alacritty.toml" ~/.config/alacritty/alacritty.toml
|
|
|
|
echo "==> Installing scripts"
|
|
mkdir -p ~/.local/bin
|
|
ln -sf "$(pwd)/scripts/powermenu.sh" ~/.local/bin/powermenu
|
|
ln -sf "$(pwd)/scripts/clipboard.sh" ~/.local/bin/clipboard-picker
|
|
|
|
echo "==> Enabling systemd user services"
|
|
mkdir -p ~/.config/systemd/user
|
|
|
|
echo "==> Done. Start Niri with: niri-session"
|