add enable pika default extensions
This commit is contained in:
parent
0cef1b1b8c
commit
eb98515b18
@ -4,15 +4,15 @@
|
||||
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
|
||||
<policyconfig>
|
||||
|
||||
<action id="fkm.change.scx">
|
||||
<message>Authentication is required to change the SCX Scheduler</message>
|
||||
<icon_name>com.github.cosmicfusion.fedora-kernel-manager</icon_name>
|
||||
<action id="com.github.pikaos-linux.pikagnomelayouts.papirus">
|
||||
<message>Authentication is required to change papirus folders colors</message>
|
||||
<icon_name>desktop</icon_name>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/lib/fedora-kernel-manager/scripts/change_scx.sh</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/lib/pika/gnome-layouts/papirus-folders</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC
|
||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
|
||||
<policyconfig>
|
||||
|
||||
<action id="fkm.kernel.cachyos.init">
|
||||
<message>Authentication is required to initialize the Cachyos kernel repo</message>
|
||||
<icon_name>com.github.cosmicfusion.fedora-kernel-manager</icon_name>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/lib/fedora-kernel-manager/scripts/kernel-cachyos-init.sh</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC
|
||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
|
||||
<policyconfig>
|
||||
|
||||
<action id="fkm.modify.package">
|
||||
<message>Authentication is required to modify system packages</message>
|
||||
<icon_name>com.github.cosmicfusion.fedora-kernel-manager</icon_name>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/lib/fedora-kernel-manager/scripts/modify_package.sh</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
@ -0,0 +1,6 @@
|
||||
/* Allow passwordless auth for com.github.pikaos-linux.pikagnomelayouts.papirus
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "com.github.pikaos-linux.pikagnomelayouts.papirus") {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
@ -1,6 +0,0 @@
|
||||
/* Allow passwordless auth for fkm.kernel.cachyos.init
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "fkm.kernel.cachyos.init") {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
12
data/scripts/dconf-accent.sh
Executable file
12
data/scripts/dconf-accent.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#! /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 "'CustomAccentColors'"
|
7
data/scripts/enable-pika-default-gex.sh
Normal file
7
data/scripts/enable-pika-default-gex.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
gnome-extensions enable ubuntu-appindicators@ubuntu.com
|
||||
gnome-extensions enable legacyschemeautoswitcher@joshimukul29.gmail.com
|
||||
gnome-extensions enable user-theme@gnome-shell-extensions.gcampax.github.com
|
||||
gnome-extensions enable custom-accent-colors@demiskp
|
||||
gnome-extensions enable pop-shell@system76.com
|
Loading…
Reference in New Issue
Block a user