fixes for arch

This commit is contained in:
lelgenio 2022-06-22 11:20:14 -03:00
parent e3bdbbd3dc
commit c576cc29e1
3 changed files with 20 additions and 5 deletions

View File

@ -177,7 +177,7 @@ profiles:
############################################################### ###############################################################
variables: variables:
# gtk_theme: "Mint-Y{{@@ '-Dark' if color.type == 'dark' else '' @@}}-{{@@ accent_color_name.capitalize() @@}}" # 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() @@}}" kvantum_theme: "Materia{{@@ color.type.capitalize() @@}}"
# icon_theme: "Mint-Y-{{@@ 'Dark' if color.type == 'dark' else 'Darker' @@}}-{{@@ accent_color_name.capitalize() @@}}" # icon_theme: "Mint-Y-{{@@ 'Dark' if color.type == 'dark' else 'Darker' @@}}-{{@@ accent_color_name.capitalize() @@}}"
icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}" icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}"
@ -316,8 +316,8 @@ actions:
which sv 2> /dev/null && which sv 2> /dev/null &&
env SVDIR="{{@@ user_svdir @@}}" sv reload "{0}" || env SVDIR="{{@@ user_svdir @@}}" sv reload "{0}" ||
true true
reload_systemd_sv: restart_systemd_sv:
systemctl --user daemon-reload systemctl --user restart "${0}"
enable_systemd_sv: enable_systemd_sv:
systemctl --user enable --now "{0}" & systemctl --user enable --now "{0}" &
groups_install: _groups_install groups_install: _groups_install
@ -547,6 +547,7 @@ dotfiles: # Just a bunch of paths and action mappings
dst: ~/ dst: ~/
actions: actions:
- qt6ct - qt6ct
- restart_systemd_sv xsettingsd
- reload_runit_sv xsettingsd - reload_runit_sv xsettingsd
- apply_gsetting_gnome gtk-theme '{{@@ gtk_theme @@}}' - apply_gsetting_gnome gtk-theme '{{@@ gtk_theme @@}}'
- apply_gsetting_gnome icon-theme '{{@@ icon_theme @@}}' - apply_gsetting_gnome icon-theme '{{@@ icon_theme @@}}'

View File

@ -1,7 +1,7 @@
/* {{@@ header() @@}} */ /* {{@@ header() @@}} */
/* {%@@ set bg_rgb = hex2rgb(color.bg) @@%} */ /* {%@@ 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; border-radius:0;
margin:0; margin:0;
padding: 0; padding: 0;

View File

@ -45,6 +45,7 @@ actions:
mkinitcpio: mkinitcpio -P mkinitcpio: mkinitcpio -P
restart_runit_service: sv restart "{0}" restart_runit_service: sv restart "{0}"
enable_runit_services: ln -sf "{{@@ sys_services @@}}/{0}" "{{@@ sys_svdir @@}}/{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" link_timezone: ln -sf "/usr/share/zoneinfo/{{@@ timezone @@}}" "/etc/localtime"
############################################################### ###############################################################
@ -54,7 +55,7 @@ profiles:
common: common:
dotfiles: dotfiles:
- bluez - bluez
- fstab # - fstab
- grub - grub
- grub_d - grub_d
- iwd - iwd
@ -100,6 +101,7 @@ profiles:
- mkinitcpio - mkinitcpio
- pacman-arch - pacman-arch
- systemd_services - systemd_services
- systemd_services_enable
############################################################### ###############################################################
dotfiles: dotfiles:
@ -240,6 +242,18 @@ dotfiles:
src: systemd src: systemd
dst: /etc/systemd/system/ 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: timezone:
src: src:
dst: dst: