From c576cc29e1a1f6504144a891fb3c0d7fd66b98bd Mon Sep 17 00:00:00 2001 From: lelgenio Date: Wed, 22 Jun 2022 11:20:14 -0300 Subject: [PATCH] fixes for arch --- config.yaml | 7 ++++--- dotfiles/waybar/style.css | 2 +- root/config.yaml | 16 +++++++++++++++- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/config.yaml b/config.yaml index c4ea8dd..3ff1f6d 100644 --- a/config.yaml +++ b/config.yaml @@ -177,7 +177,7 @@ profiles: ############################################################### variables: # gtk_theme: "Mint-Y{{@@ '-Dark' if color.type == 'dark' else '' @@}}-{{@@ accent_color_name.capitalize() @@}}" - gtk_theme: "Orchis-{{@@ accent_color_name.lower() @@}}-{{@@ 'dark' if color.type == 'dark' else 'light' @@}}" + gtk_theme: "Orchis-{{@@ accent_color_name.capitalize() @@}}-{{@@ color.type.capitalize() @@}}" kvantum_theme: "Materia{{@@ color.type.capitalize() @@}}" # icon_theme: "Mint-Y-{{@@ 'Dark' if color.type == 'dark' else 'Darker' @@}}-{{@@ accent_color_name.capitalize() @@}}" icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}" @@ -316,8 +316,8 @@ actions: which sv 2> /dev/null && env SVDIR="{{@@ user_svdir @@}}" sv reload "{0}" || true - reload_systemd_sv: - systemctl --user daemon-reload + restart_systemd_sv: + systemctl --user restart "${0}" enable_systemd_sv: systemctl --user enable --now "{0}" & groups_install: _groups_install @@ -547,6 +547,7 @@ dotfiles: # Just a bunch of paths and action mappings dst: ~/ actions: - qt6ct + - restart_systemd_sv xsettingsd - reload_runit_sv xsettingsd - apply_gsetting_gnome gtk-theme '{{@@ gtk_theme @@}}' - apply_gsetting_gnome icon-theme '{{@@ icon_theme @@}}' diff --git a/dotfiles/waybar/style.css b/dotfiles/waybar/style.css index 323a8b9..02d949e 100644 --- a/dotfiles/waybar/style.css +++ b/dotfiles/waybar/style.css @@ -1,7 +1,7 @@ /* {{@@ header() @@}} */ /* {%@@ set bg_rgb = hex2rgb(color.bg) @@%} */ * { - font: {{@@ font.size.medium @@}}px "{{@@ font.interface @@}}", Font Awesome, Fira Code Nerd Font; + font: {{@@ font.size.medium @@}}px "{{@@ font.interface @@}}", Hack Nerd Font; border-radius:0; margin:0; padding: 0; diff --git a/root/config.yaml b/root/config.yaml index 080a135..93b5511 100644 --- a/root/config.yaml +++ b/root/config.yaml @@ -45,6 +45,7 @@ actions: mkinitcpio: mkinitcpio -P restart_runit_service: sv restart "{0}" enable_runit_services: ln -sf "{{@@ sys_services @@}}/{0}" "{{@@ sys_svdir @@}}/{0}" + enable_systemd_services: systemctl enable --now "{0}" link_timezone: ln -sf "/usr/share/zoneinfo/{{@@ timezone @@}}" "/etc/localtime" ############################################################### @@ -54,7 +55,7 @@ profiles: common: dotfiles: - bluez - - fstab + # - fstab - grub - grub_d - iwd @@ -100,6 +101,7 @@ profiles: - mkinitcpio - pacman-arch - systemd_services + - systemd_services_enable ############################################################### dotfiles: @@ -240,6 +242,18 @@ dotfiles: src: systemd dst: /etc/systemd/system/ + systemd_services_enable: + src: + dst: + actions: + - enable_systemd_services bluetooth + - enable_systemd_services cronie + - enable_systemd_services docker + # - enable_systemd_services dhcpcd + # - enable_systemd_services iwd + - enable_systemd_services ntpd + - enable_systemd_services tlp + timezone: src: dst: