pika-gnome-layouts/data/scripts/dconf-accent.sh

12 lines
670 B
Bash
Raw Normal View History

2024-08-28 17:52:15 +02:00
#! /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 "''"
2024-08-29 00:07:32 +02:00
dconf write /org/gnome/shell/extensions/user-theme/name "'Custom-Accent-Colors'"