pika-gnome-layouts/usr/lib/pika/gnome-layouts/dconf-accent.sh

13 lines
669 B
Bash
Raw Normal View History

2022-12-23 11:49:39 +01:00
#! /usr/bin/bash
2022-12-23 14:09:20 +01:00
# Enable extensions
2022-12-23 11:49:39 +01:00
gnome-extensions enable custom-accent-colors@demiskp
2022-12-23 14:09:20 +01:00
gnome-extensions enable user-theme@gnome-shell-extensions.gcampax.github.com
2022-12-23 11:49:39 +01:00
# 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 "'CustomAccentColors'"