pika-gnome-layouts/data/scripts/dconf-accent.sh
Ward from fusion-voyager-3 687e2ec913 Add translations
2024-08-29 01:07:32 +03:00

12 lines
670 B
Bash
Executable File

#! /usr/bin/bash
# Enable extensions
gnome-extensions enable custom-accent-colors@demiskp
gnome-extensions enable user-theme@gnome-shell-extensions.gcampax.github.com
# Set accent color settings
dconf write /org/gnome/shell/extensions/custom-accent-colors/accent-color "'"$1"'"
dconf write /org/gnome/shell/extensions/custom-accent-colors/theme-flatpak true
dconf write /org/gnome/shell/extensions/custom-accent-colors/theme-gtk3 true
dconf write /org/gnome/shell/extensions/custom-accent-colors/theme-shell true
# Refresh Shell
dconf write /org/gnome/shell/extensions/user-theme/name "''"
dconf write /org/gnome/shell/extensions/user-theme/name "'Custom-Accent-Colors'"