Use Gnome 47 colors
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 2m15s
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 2m15s
This commit is contained in:
parent
7d2e1fcb72
commit
6d114ec55f
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
7
|
8
|
@ -1,12 +1,15 @@
|
|||||||
#! /usr/bin/bash
|
#! /usr/bin/bash
|
||||||
|
|
||||||
# Enable extensions
|
# Enable extensions
|
||||||
gnome-extensions enable custom-accent-colors@demiskp
|
#gnome-extensions enable custom-accent-colors@demiskp
|
||||||
gnome-extensions enable user-theme@gnome-shell-extensions.gcampax.github.com
|
#gnome-extensions enable user-theme@gnome-shell-extensions.gcampax.github.com
|
||||||
# Set accent color settings
|
# 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/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-flatpak true
|
||||||
dconf write /org/gnome/shell/extensions/custom-accent-colors/theme-gtk3 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
|
#dconf write /org/gnome/shell/extensions/custom-accent-colors/theme-shell true
|
||||||
# Refresh Shell
|
# Refresh Shell
|
||||||
dconf write /org/gnome/shell/extensions/user-theme/name "''"
|
#dconf write /org/gnome/shell/extensions/user-theme/name "''"
|
||||||
dconf write /org/gnome/shell/extensions/user-theme/name "'Custom-Accent-Colors'"
|
#dconf write /org/gnome/shell/extensions/user-theme/name "'Custom-Accent-Colors'"
|
||||||
|
|
||||||
|
dconf write /org/gnome/desktop/interface/accent-color "'"$1"'"
|
@ -20,5 +20,7 @@
|
|||||||
"red_tooltip_text": "Red",
|
"red_tooltip_text": "Red",
|
||||||
"pink_tooltip_text": "Pink",
|
"pink_tooltip_text": "Pink",
|
||||||
"purple_tooltip_text": "Purple",
|
"purple_tooltip_text": "Purple",
|
||||||
|
"teal_tooltip_text": "Teal",
|
||||||
|
"slate_tooltip_text": "Slate/Gray",
|
||||||
"brown_tooltip_text": "Brown"
|
"brown_tooltip_text": "Brown"
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 9.0 KiB |
9
resources/accent-color-icons/slate.svg
Normal file
9
resources/accent-color-icons/slate.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 14 KiB |
19
resources/accent-color-icons/teal.svg
Normal file
19
resources/accent-color-icons/teal.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 14 KiB |
@ -2,13 +2,14 @@
|
|||||||
<gresources>
|
<gresources>
|
||||||
<gresource prefix="/com/github/pikaos-linux/pikagnomelayouts/">
|
<gresource prefix="/com/github/pikaos-linux/pikagnomelayouts/">
|
||||||
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/blue.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/blue.svg</file>
|
||||||
|
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/teal.svg</file>
|
||||||
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/green.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/green.svg</file>
|
||||||
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/orange.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/orange.svg</file>
|
||||||
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/pink.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/pink.svg</file>
|
||||||
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/purple.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/purple.svg</file>
|
||||||
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/red.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/red.svg</file>
|
||||||
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/brown.svg</file>
|
|
||||||
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/yellow.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/yellow.svg</file>
|
||||||
|
<file compressed="true" preprocess="xml-stripblanks">accent-color-icons/slate.svg</file>
|
||||||
<file compressed="true" preprocess="xml-stripblanks">previews/gnome.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">previews/gnome.svg</file>
|
||||||
<file compressed="true" preprocess="xml-stripblanks">previews/gnome2.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">previews/gnome2.svg</file>
|
||||||
<file compressed="true" preprocess="xml-stripblanks">previews/pineapple.svg</file>
|
<file compressed="true" preprocess="xml-stripblanks">previews/pineapple.svg</file>
|
||||||
|
@ -43,16 +43,7 @@ pub fn content(
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
let accent_colors = [
|
let accent_colors = ["blue", "teal", "green", "yellow", "orange", "red", "pink", "purple", "slate"];
|
||||||
"blue",
|
|
||||||
"green",
|
|
||||||
"yellow",
|
|
||||||
"orange",
|
|
||||||
"red",
|
|
||||||
"pink",
|
|
||||||
"purple",
|
|
||||||
"brown"
|
|
||||||
];
|
|
||||||
|
|
||||||
let null_checkbutton = gtk::CheckButton::builder()
|
let null_checkbutton = gtk::CheckButton::builder()
|
||||||
.build();
|
.build();
|
||||||
@ -153,8 +144,8 @@ pub fn content(
|
|||||||
color_button.connect_clicked(move |_|
|
color_button.connect_clicked(move |_|
|
||||||
{
|
{
|
||||||
let color_double = match color {
|
let color_double = match color {
|
||||||
"blue" => ("default","blue"),
|
|
||||||
"purple" => ("purple","violet"),
|
"purple" => ("purple","violet"),
|
||||||
|
"slate" => ("slate", "grey"),
|
||||||
_ => (color,color)
|
_ => (color,color)
|
||||||
};
|
};
|
||||||
let _ = std::process::Command::new("/usr/lib/pika/gnome-layouts/dconf-accent.sh")
|
let _ = std::process::Command::new("/usr/lib/pika/gnome-layouts/dconf-accent.sh")
|
||||||
|
Loading…
Reference in New Issue
Block a user