Fix darkmode themeing

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-03-27 00:38:54 +03:00 committed by GitHub
parent ceba70ef93
commit 9da69a2c3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 1 deletions

View File

@ -1,3 +1,9 @@
pika-settings (3.0-99pika5) kinetic; urgency=low
* Fix darkmode themeing
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
pika-settings (3.0-99pika4) kinetic; urgency=low pika-settings (3.0-99pika4) kinetic; urgency=low
* Fix arcmenu * Fix arcmenu

View File

@ -0,0 +1,25 @@
#! /bin/bash
### This file is used to define kvantum and gtk4/libadwaita Themes for GNOME
## Set kvantum Themes
# Set the kvantum theme gnome uses when in dark mode
# Example: KVANTUM_THEME_DARK=Orchis-dark
KVANTUM_THEME_DARK=Orchis-dark
# Set the kvantum theme gnome uses when in light mode
# Example: KVANTUM_THEME_LIGHT=Orchis
KVANTUM_THEME_LIGHT=Orchis
## Set GTK4/libadwaita Themes (Use PATHs)
# Set the GTK4/libadwaita theme gnome uses when in dark mode
# Example: GTK_THEME_PATH_DARK=/usr/share/Orchis-Dark
GTK_THEME_PATH_DARK=/usr/share/themes/"$(dconf read /org/gnome/desktop/interface/gtk-theme | sed "s+'++" | sed "s+'++" | sed "s+-Dark++" | sed "s+-Light++")"-Dark
# Set the GTK4/libadwaita theme gnome uses when in lightmode
# Example: GTK_THEME_PATH_LIGHT=/usr/share/Orchis-Light
GTK_THEME_PATH_LIGHT=/usr/share/themes/"$(dconf read /org/gnome/desktop/interface/gtk-theme | sed "s+'++" | sed "s+'++" | sed "s+-Dark++" | sed "s+-Light++")"-Light

View File

@ -1,3 +1,4 @@
#! /bin/bash
### This file is used to define kvantum and gtk4/libadwaita Themes for GNOME ### This file is used to define kvantum and gtk4/libadwaita Themes for GNOME
## Set kvantum Themes ## Set kvantum Themes

View File

@ -57,7 +57,7 @@ night = 'Orchis-Yellow-Dark'
[org.gnome.shell.extensions.nightthemeswitcher.commands] [org.gnome.shell.extensions.nightthemeswitcher.commands]
enabled = true enabled = true
sunrise = '/usr/lib/pika/gnome-layouts/libadwaita.sh' sunrise = '/usr/lib/pika/gnome-layouts/libadwaita.sh'
sunset = '/usr/lib/pika/gnome-layouts/libadwaita.sh' sunset = '/usr/lib/pika/gnome-layouts/libadwaita.sh dark'
[org.gnome.shell.extensions.arcmenu] [org.gnome.shell.extensions.arcmenu]
custom-menu-button-icon = '/usr/share/pixmaps/pika-mono-logo.png' custom-menu-button-icon = '/usr/share/pixmaps/pika-mono-logo.png'