- Fix nvim config - Add scripts - Add power setting - Add swayidle config - Add template system - Clean sway config
18 lines
696 B
Bash
18 lines
696 B
Bash
#! /bin/sh
|
|
|
|
# sway
|
|
~/.config/scripts/sway_set ~/.config/settings/colors.conf | tee ~/.config/sway/config.d/display/colors.conf
|
|
|
|
~/.config/scripts/sway_set ~/.config/settings/power.conf | tee ~/.config/swayidle/config.d/general/var.conf
|
|
|
|
# swayidle
|
|
.config/scripts/fill_template "$(cat .config/swayidle/template)" .config/settings/power.conf .config/swayidle/config
|
|
|
|
# swaylock
|
|
.config/scripts/fill_template "$(cat .config/swaylock/template)" .config/settings/colors.conf .config/swaylock/config
|
|
|
|
# alacritty
|
|
echo "[colors]
|
|
[colors.primary]
|
|
background = \"$(~/.config/scripts/get_color dark main)\"
|
|
foreground = \"$(~/.config/scripts/get_color light main)\"" | tee ~/.config/alacritty/colors.toml
|