summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--artix/Makefile18
-rw-r--r--artix/template/alacritty/alacritty.toml2
-rw-r--r--artix/template/dunst/dunstrc2
-rw-r--r--artix/template/waybar/style.css2
4 files changed, 11 insertions, 13 deletions
diff --git a/artix/Makefile b/artix/Makefile
index 9164d82..1a8d68b 100644
--- a/artix/Makefile
+++ b/artix/Makefile
@@ -1,21 +1,19 @@
.PHONY = all config stow unstow artix lsp pac
COLORSCHEME ?= slate
+FONT ?= monospace
-all:
- @echo COMMANDS:
- @echo
- @echo make stow
- @echo make unstow
- @echo COLORSCHEME=somesupportedcolorscheme make config
+all: config
config: unstow
set -a; \
+ export FONT="$(FONT)"; \
. colorscheme/$(COLORSCHEME).env; \
set +a; \
envsubst < template/alacritty/alacritty.toml > home/.config/alacritty/alacritty.toml; \
envsubst < template/dunst/dunstrc > home/.config/dunst/dunstrc; \
envsubst < template/waybar/style.css > home/.config/waybar/style.css
+ make stow
stow:
mkdir -p $$HOME/.local/bin/ $$HOME/.local/share/ $$HOME/.config/
@@ -25,14 +23,14 @@ unstow:
stow -v -t $$HOME -D home
artix:
- pacman -S --needed hyprland hyprpicker alacritty waybar dunst grim wl-clipboard slurp xdg-desktop-portal-hyprland xdg-user-dirs zsh zsh-autosuggestions zsh-syntax-highlighting brightnessctl firefox zathura-pdf-poppler thunderbird keepassxc mpv yt-dlp nsxiv pavucontrol time tree openssh man-db man-pages pacman-contrib stow fzf syncthing ufw-openrc chrony-openrc rofi hyprpolkitagent
+ pacman -S --needed ttf-martian-mono-nerd hyprland hyprpicker alacritty waybar dunst grim wl-clipboard slurp xdg-desktop-portal-hyprland xdg-user-dirs zsh zsh-autosuggestions zsh-syntax-highlighting brightnessctl firefox zathura-pdf-poppler thunderbird keepassxc mpv yt-dlp nsxiv pavucontrol time tree openssh man-db man-pages pacman-contrib stow fzf syncthing ufw-dinit chrony-dinit rofi hyprpolkitagent
@echo " Change your shell to zsh (chsh -s /bin/zsh)"
@echo " Enable ufw"
@echo " Enable chrony"
-lsp:
- paru -S --needed lua-language-server jdtls vscode-langservers-extracted clang tinymist marksman lemminx pyright rustup typescript typescript-language-server
-
pac:
paccache -r
pacman -Qdtq | pacman -Rns -
+
+# lua-language-server jdtls vscode-langservers-extracted clang tinymist marksman lemminx pyright rustup typescript typescript-language-server
+
diff --git a/artix/template/alacritty/alacritty.toml b/artix/template/alacritty/alacritty.toml
index af10885..0b0f612 100644
--- a/artix/template/alacritty/alacritty.toml
+++ b/artix/template/alacritty/alacritty.toml
@@ -3,7 +3,7 @@ padding = { x = 10, y = 10 }
opacity = 0.73
[font]
-normal = { family = "monospace", style = "Regular" }
+normal = { family = "$FONT", style = "Regular" }
size = 17
[colors.primary]
diff --git a/artix/template/dunst/dunstrc b/artix/template/dunst/dunstrc
index 72383c5..226017c 100644
--- a/artix/template/dunst/dunstrc
+++ b/artix/template/dunst/dunstrc
@@ -8,7 +8,7 @@
enable_recursive_icon_lookup = true
padding = 5
horizontal_padding = 5
- font = 0xProto Nerd font 15
+ font = $FONT 15
corner_radius = 0
separator_height = 5
[urgency_low]
diff --git a/artix/template/waybar/style.css b/artix/template/waybar/style.css
index fca6b96..c093460 100644
--- a/artix/template/waybar/style.css
+++ b/artix/template/waybar/style.css
@@ -1,5 +1,5 @@
* {
- font-family: "monospace";
+ font-family: "$FONT";
font-weight: bold;
}