Compare commits

...

15 Commits

Author SHA1 Message Date
Eudaimon b6c57cdd45 Fixed uneven border-radius for tooltips. Investigating GTK4 poor perfomence (due to some box-shadows) 2022-02-06 16:29:30 +01:00
Eudaimon a160defeca Fixed small glitch on xfwm4 inactive top-right xpm 2022-02-05 19:02:36 +01:00
Eudaimon 2f60e1abd7 Improved pho-earth-by-night 2022-02-05 18:42:26 +01:00
Eudaimon 993075d29d removed text shadows from title bars in xfwm4 theme 2022-02-05 18:01:39 +01:00
Eudaimon 8f2d45d8f1 Improved earth and earth-by-night color schemes 2022-02-05 17:57:52 +01:00
Eudaimon 9857df4922 Updated qtcurve theme in kde directory 2022-02-05 16:46:02 +01:00
Eudaimon ea02fa2b88 Added two basic color schemes for Plasma in kde directory 2022-02-05 16:44:14 +01:00
Eudaimon 307bcd11b7 Merge branch 'plasma-rework'
Merging plasma-rework with master because it's ready for production (hopefully!)
2022-02-05 16:40:37 +01:00
Eudaimon a20194c30d New Plasma functionality for GTK4 should be working now. By default, Plasma scheme is set to NOT honoring. 2022-02-05 16:28:42 +01:00
Eudaimon f44b62556d Changed some theme's borders 2022-01-16 18:21:20 +01:00
Eudaimon 4d07dae991 WIP. Reworked Plasma dependency to allow GTK4 to work. 2022-01-16 18:06:55 +01:00
Eudaimon 04081c3938 Updated previews 2022-01-01 17:00:08 +01:00
Eudaimon b408463642 Added 3 more preset themes. Fixed two small issues in common.css (related to two warnings) 2022-01-01 16:31:49 +01:00
eudaimon 7d3265bbed Merge pull request 'Rhapsody color scheme added' (#1) from devyl/pho-earth-adaptive:devyl-patch-1 into master
Reviewed-on: eudaimon/pho-earth-adaptive#1
2022-01-01 14:35:57 +00:00
devyl 03516b54c7 Rhapsody color scheme added 2021-12-24 13:53:13 +00:00
26 changed files with 1147 additions and 773 deletions

View File

@ -27,7 +27,9 @@ Enjoy!
Current style:
![big preview with current style](previews/GTK3WF-4-NewStyle-2021-11-22.png)
![big preview with current style](previews/GTK3WF-05-NewStyle-pho-earth.png)
![big preview with current style, dark version](previews/GTK3WF-05-NewStyle-Earth-by-night.png)
![big preview with current style, oxygen color scheme](previews/GTK3WF-05-NewStyle-Oxygen.png)
Old previews, but with different Plasma color schemes:
@ -35,4 +37,4 @@ Old previews, but with different Plasma color schemes:
![old preview](previews/GTK3WF-2-OpenSuse-darkened.png)
![old preview](previews/GTK3WF-3-Earthen2.png)
![old preview](previews/mosaic-GTK3WF-3-KvCyan.png)
![old preview](previews/GTK3WF-3-Earthen2.png)
![old preview](previews/mosaic-GTK3WF-2-Grass.png)

View File

@ -15,7 +15,7 @@
@define-color button_pushed_fg @button_fg;
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5);
@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 0.5);
@define-color border_color shade(@window_bg, 0.9);
@define-color warning_color #f57900;

View File

@ -8,7 +8,7 @@
@define-color button_pushed_fg mix(@button_fg, @selected_fg, 0.5);
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5);
@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 0.5);
@define-color border_color shade(@window_bg, 0.6);
@define-color disabled_fg #a14242;
@define-color disabled_bg #482B2B;

View File

@ -0,0 +1,34 @@
@define-color window_fg #232323;
@define-color window_bg #acacac;
@define-color text_widget_fg #232323;
@define-color text_widget_bg #9f9f9f;
@define-color disabled_fg mix(@window_fg, @window_bg, 0.5);
@define-color disabled_bg mix(@window_bg, @text_widget_bg, 0.5);
@define-color selected_fg #b6ff65;
@define-color selected_bg #2d630f;
@define-color button_fg #000000;
@define-color button_bg #b8b8b8;
@define-color button_pushed_fg @button_fg;
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5);
@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 1);
@define-color warning_color #f57900;
@define-color error_color #990000;
@define-color success_color #73d216;
@define-color titlebar_active_fg @selected_fg;
@define-color titlebar_active_bg @selected_bg;
@define-color titlebar_backdrop_fg @window_fg;
@define-color titlebar_backdrop_bg @window_bg;
@define-color hint_fg #6A4516;
@define-color hint_bg #E8D03B;

34
color_themes/kvCyan.css Normal file
View File

@ -0,0 +1,34 @@
@define-color window_fg #ffffff;
@define-color window_bg #375666;
@define-color text_widget_fg #ffffff;
@define-color text_widget_bg #242431;
@define-color disabled_fg mix(@window_fg, @window_bg, 0.5);
@define-color disabled_bg mix(@window_bg, @text_widget_bg, 0.5);
@define-color selected_fg #ffffff;
@define-color selected_bg #007698;
@define-color button_fg #ffffff;
@define-color button_bg #304b59;
@define-color button_pushed_fg @button_fg;
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5);
@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 0.5);
@define-color warning_color #f57900;
@define-color error_color #990000;
@define-color success_color #73d216;
@define-color titlebar_active_fg @selected_fg;
@define-color titlebar_active_bg @selected_bg;
@define-color titlebar_backdrop_fg @window_fg;
@define-color titlebar_backdrop_bg @window_bg;
@define-color hint_fg #93FFF8;
@define-color hint_bg #345289;

38
color_themes/quake.css Normal file
View File

@ -0,0 +1,38 @@
/*
* Inspired by Quake World oomox/themix preset
* */
@define-color window_fg #eeeeec;
@define-color window_bg #3b3b3b;
@define-color text_widget_fg #eeeeec;
@define-color text_widget_bg #65543f;
@define-color disabled_fg mix(@window_fg, @window_bg, 0.5);
@define-color disabled_bg mix(@window_bg, @text_widget_bg, 0.5);
@define-color selected_fg #ffffff;
@define-color selected_bg #5e0b0b;
@define-color button_fg #f6cb33;
@define-color button_bg #333333;
@define-color button_pushed_fg @button_fg;
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5);
@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 0.5);
@define-color warning_color #f57900;
@define-color error_color #990000;
@define-color success_color #73d216;
@define-color titlebar_active_fg #f6cb33;
@define-color titlebar_active_bg @selected_bg;
@define-color titlebar_backdrop_fg #eeeeec;
@define-color titlebar_backdrop_bg #333333;
@define-color hint_fg #FFA800;
@define-color hint_bg #5E2B0B;

33
color_themes/rhapsody.css Normal file
View File

@ -0,0 +1,33 @@
/*
* Rhapsody, a color scheme with macOS (dark) and Mac OS X Server 1.x (Rhapsody) in mind
*/
@define-color window_fg #cccccc;
@define-color window_bg #4d4d50;
@define-color text_widget_fg #eeeeee;
@define-color text_widget_bg #4d4d50;
@define-color button_fg @text_widget_fg;
@define-color button_bg #6b6c6e;
@define-color button_pushed_fg @button_fg;
@define-color button_pushed_bg #2c2c2a;
@define-color border_color black;
@define-color disabled_fg #818284;
@define-color disabled_bg #6b6c6e;
@define-color selected_fg #ffffff;
@define-color selected_bg #514f7f;
@define-color warning_color #f57900;
@define-color error_color #990000;
@define-color success_color #73d216;
@define-color titlebar_active_fg #cccccc;
@define-color titlebar_active_bg #2e2e2c;
@define-color titlebar_backdrop_fg @window_fg;
@define-color titlebar_backdrop_bg @window_bg;
@define-color hint_fg #000000;
@define-color hint_bg #5696c1;

View File

@ -210,10 +210,10 @@ decoration {
.ssd decoration {
box-shadow: 0 4px 8px -4px alpha(black, 0.23); }
.csd.popup decoration {
border-radius: 0;
/*border-radius: 0;*/
box-shadow: 0px 0px 12px 0px alpha(black, 0.1), 0px 0px 4px 0px alpha(black, 0.4), 0px 0px 0px 1px alpha(black, 0.1); }
tooltip.csd decoration {
border-radius: 5px;
/*border-radius: 5px;*/
box-shadow: 0 4px 8px -4px alpha(black, 0.23); }
messagedialog.csd decoration {
border-radius: 5px;
@ -228,9 +228,9 @@ decoration {
.solid-csd decoration:backdrop {
box-shadow: inset 0 0 0 3px @theme_bg_color_breeze, inset 0 1px @wm_highlight; }
.background.csd {
/*.background.csd {
border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px; }
border-bottom-right-radius: 1px; }*/
button.titlebutton {
/*text-shadow: 0 1px alpha(white, 0.769231);

View File

@ -259,9 +259,9 @@ window.tiled-bottom {
box-shadow: inset 0 0 0 3px @theme_bg_color_breeze, inset 0 1px @wm_highlight; }
*/
.background.csd {
/*.background.csd {
border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px; }
border-bottom-right-radius: 1px; }*/
button.titlebutton {
/*text-shadow: 0 1px alpha(white, 0.769231);

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
@define-color window_fg @theme_fg_color_breeze;
@define-color window_bg @theme_bg_color_breeze;
@define-color text_widget_fg @theme_text_color_breeze;
@define-color text_widget_bg @theme_base_color_breeze;
@define-color disabled_fg @insensitive_fg_color_breeze;
@define-color disabled_bg @insensitive_bg_color_breeze;
@define-color selected_fg @theme_selected_fg_color_breeze;
@define-color selected_bg @theme_selected_bg_color_breeze;
@define-color button_fg @theme_button_foreground_normal_breeze;
@define-color button_bg @theme_button_background_normal_breeze;
@define-color button_pushed_fg @button_fg; /*could need to be @selected_fg on some themes. Plasma does not have a setting for toggled buttons*/
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5); /*Plasma does not have a setting for toggled buttons*/
@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 0.5); /* to honor Plasma's that would be @borders_breeze, instead of shade(...) */
@define-color warning_color @warning_color_breeze;
@define-color error_color @error_color_breeze;
@define-color success_color @success_color_breeze;
@define-color titlebar_active_fg @theme_titlebar_foreground_breeze;
@define-color titlebar_active_bg @theme_titlebar_background_breeze;
@define-color titlebar_backdrop_fg @theme_titlebar_foreground_backdrop_breeze;
@define-color titlebar_backdrop_bg @theme_titlebar_background_backdrop_breeze;
@define-color hint_fg @tooltip_text_breeze;
@define-color hint_bg @tooltip_background_breeze;

1
imports/import.css vendored Symbolic link
View File

@ -0,0 +1 @@
import_ignore_plasma.css

View File

@ -0,0 +1,41 @@
/* This imports current selected theme's colors and then overwrites it with Plasma's colors */
@import "plasma_colors.css"; /*unfortunately if it does not exist, this theme will be broken!*/
@import "../theme_colors.css";
@define-color window_fg @theme_fg_color_breeze;
@define-color window_bg @theme_bg_color_breeze;
@define-color text_widget_fg @theme_text_color_breeze;
@define-color text_widget_bg @theme_base_color_breeze;
@define-color disabled_fg @insensitive_fg_color_breeze;
@define-color disabled_bg @insensitive_bg_color_breeze;
@define-color selected_fg @theme_selected_fg_color_breeze;
@define-color selected_bg @theme_selected_bg_color_breeze;
@define-color button_fg @theme_button_foreground_normal_breeze;
@define-color button_bg @theme_button_background_normal_breeze;
@define-color button_pushed_fg @button_fg; /*could need to be @selected_fg on some themes. Plasma does not have a setting for toggled buttons*/
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5); /*Plasma does not have a setting for toggled buttons*/
@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 0.5); /* to honor Plasma's that would be @borders_breeze, instead of shade(...) */
@define-color warning_color @warning_color_breeze;
@define-color error_color @error_color_breeze;
@define-color success_color @success_color_breeze;
@define-color titlebar_active_fg @theme_titlebar_foreground_breeze;
@define-color titlebar_active_bg @theme_titlebar_background_breeze;
@define-color titlebar_backdrop_fg @theme_titlebar_foreground_backdrop_breeze;
@define-color titlebar_backdrop_bg @theme_titlebar_background_backdrop_breeze;
@define-color hint_fg @tooltip_text_breeze;
@define-color hint_bg @tooltip_background_breeze;

View File

@ -0,0 +1,3 @@
/* This imports current selected theme's colors but DOES NOT import Plasma's colors */
@import "../theme_colors.css";

View File

@ -0,0 +1,35 @@
@define-color theme_fg_color_breeze @window_fg;
@define-color theme_bg_color_breeze @window_bg;
@define-color theme_text_color_breeze @text_widget_fg;
@define-color theme_base_color_breeze @text_widget_bg;
@define-color insensitive_fg_color_breeze @disabled_fg;
@define-color insensitive_bg_color_breeze @disabled_bg;
@define-color theme_selected_fg_color_breeze @selected_fg;
@define-color theme_selected_bg_color_breeze @selected_bg;
@define-color theme_button_foreground_normal_breeze @button_fg;
@define-color theme_button_background_normal_breeze @button_bg;
/*Plasma does not have a setting for toggled buttons*/
/* @define-color button_pushed_fg @button_fg;
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5);*/
@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 0.5);
@define-color warning_color_breeze @warning_color;
@define-color error_color_breeze @error_color;
@define-color success_color_breeze @success_color;
@define-color theme_titlebar_foreground_breeze @titlebar_active_fg;
@define-color theme_titlebar_background_breeze @titlebar_active_bg;
@define-color theme_titlebar_foreground_backdrop_breeze @titlebar_backdrop_fg;
@define-color theme_titlebar_background_backdrop_breeze @titlebar_backdrop_bg;
@define-color tooltip_text_breeze @hint_fg;
@define-color tooltip_background_breeze @hint_bg;

1
imports/plasma_colors.css Symbolic link
View File

@ -0,0 +1 @@
/home/nestor/.config/gtk-3.0/colors.css

0
imports/plasma_inactive Normal file
View File

102
kde/PhoEarth.colors Normal file
View File

@ -0,0 +1,102 @@
[ColorEffects:Disabled]
Color=197,0,0
ColorAmount=0.17500000000000002
ColorEffect=3
ContrastAmount=0.25
ContrastEffect=1
IntensityAmount=0.25
IntensityEffect=0
[ColorEffects:Inactive]
ChangeSelectionColor=true
Color=213,198,176
ColorAmount=0.1
ColorEffect=2
ContrastAmount=0.2
ContrastEffect=1
Enable=false
IntensityAmount=-0.05
IntensityEffect=0
[Colors:Button]
BackgroundAlternate=246,240,227
BackgroundNormal=165,177,149
DecorationFocus=128,112,96
DecorationHover=102,153,0
ForegroundActive=32,95,86
ForegroundInactive=116,105,90
ForegroundLink=0,87,174
ForegroundNegative=232,87,82
ForegroundNeutral=133,98,0
ForegroundNormal=0,0,0
ForegroundPositive=93,102,110
ForegroundVisited=100,74,155
[Colors:Selection]
BackgroundAlternate=69,90,0
BackgroundNormal=47,90,0
DecorationFocus=143,214,0
DecorationHover=143,214,0
ForegroundActive=14,211,0
ForegroundInactive=187,187,187
ForegroundLink=101,183,255
ForegroundNegative=232,87,82
ForegroundNeutral=227,170,0
ForegroundNormal=174,255,0
ForegroundPositive=34,255,0
ForegroundVisited=167,137,255
[Colors:Tooltip]
BackgroundAlternate=250,248,241
BackgroundNormal=253,252,251
DecorationFocus=128,112,96
DecorationHover=102,153,0
ForegroundActive=32,95,86
ForegroundInactive=197,179,153
ForegroundLink=0,87,174
ForegroundNegative=232,87,82
ForegroundNeutral=227,170,0
ForegroundNormal=0,0,0
ForegroundPositive=93,102,110
ForegroundVisited=100,74,155
[Colors:View]
BackgroundAlternate=191,185,172
BackgroundNormal=210,203,189
DecorationFocus=128,112,96
DecorationHover=102,153,0
ForegroundActive=32,95,86
ForegroundInactive=125,125,125
ForegroundLink=0,87,174
ForegroundNegative=232,87,82
ForegroundNeutral=227,170,0
ForegroundNormal=0,0,0
ForegroundPositive=93,102,110
ForegroundVisited=100,74,155
[Colors:Window]
BackgroundAlternate=233,223,206
BackgroundNormal=178,171,159
DecorationFocus=128,112,96
DecorationHover=102,153,0
ForegroundActive=32,95,86
ForegroundInactive=106,96,82
ForegroundLink=0,87,174
ForegroundNegative=232,87,82
ForegroundNeutral=119,87,0
ForegroundNormal=0,0,0
ForegroundPositive=93,102,110
ForegroundVisited=100,74,155
[General]
Name=pho-earth
shadeSortColumn=true
[KDE]
contrast=7
[WM]
activeBackground=102,153,0
activeForeground=227,255,126
inactiveBackground=148,124,90
inactiveForeground=0,0,0

View File

@ -1,7 +1,7 @@
[ColorEffects:Disabled]
Color=56,56,56
ColorAmount=-0.8
ColorEffect=0
Color=56,34,30
ColorAmount=0.325
ColorEffect=3
ContrastAmount=0.65
ContrastEffect=1
IntensityAmount=0.25
@ -61,7 +61,7 @@ ForegroundPositive=120,183,83
ForegroundVisited=142,121,165
[Colors:View]
BackgroundAlternate=36,35,35
BackgroundAlternate=42,39,39
BackgroundNormal=47,44,44
DecorationFocus=105,160,38
DecorationHover=144,176,85
@ -75,7 +75,7 @@ ForegroundPositive=120,183,83
ForegroundVisited=142,121,165
[Colors:Window]
BackgroundAlternate=52,51,50
BackgroundAlternate=58,57,57
BackgroundNormal=63,62,62
DecorationFocus=105,160,38
DecorationHover=144,176,85
@ -90,7 +90,7 @@ ForegroundVisited=142,121,165
[General]
ColorScheme=Obsidian Coast Green
Name=Obsidian Coast Green - lighter
Name=Pho-Earth-by-night
shadeSortColumn=true
[KDE]

View File

@ -4,7 +4,7 @@ InnerBorder=0
OuterBorder=0
[Settings]
activeTabAppearance=soft
activeTabAppearance=harsh
animatedProgress=true
appearance=customgradient5
bgndAppearance=flat
@ -36,10 +36,11 @@ customAlphas=0
customMenuNormTextColor=#000000
customMenuSelTextColor=#000000
customMenuTextColor=false
customShades=1.46,1.07,0.85,0.78,0.99,0.35
customShades=1.81,1.07,0.75,0.35,1,0.4
customgradient1=3d,0,1.2,0.5,1,1,1
customgradient2=3d,0,0.9,0.5,1,1,1
customgradient5=3dfull,0,1.1,1,0.94
customgradient4=none,0,0.8,0.25,1.8,1,1.5
customgradient5=3dfull,0,1.15,1,0.85
customgradient6=none,0,0.3,0.3,0.6,1,0.5
customgradient7=none,0,0.5,0.3,0.9,1,0.95
darkerBorders=false
@ -70,7 +71,7 @@ handles=1dot
hideShortcutUnderline=true
highlightFactor=20
highlightScrollViews=true
highlightTab=true
highlightTab=false
inactiveTitlebarAppearance=customgradient1
invertBotTab=true
lighterPopupMenuBgnd=2
@ -94,8 +95,8 @@ menubarMouseOver=true
menuitemAppearance=raised
noBgndGradientApps=
noBgndImageApps=
noBgndOpacityApps=totem,vmware,smplayer,sonata,vmplayer
noMenuBgndOpacityApps=totem,vmware,sonata,vmplayer,gtk
noBgndOpacityApps=sonata,vmware,vmplayer,totem,smplayer
noMenuBgndOpacityApps=sonata,vmware,gtk,vmplayer,totem
noMenuStripeApps=soffice.bin,gtk
nonnativeMenubarApps=
onlyTicksInMenu=false
@ -110,9 +111,9 @@ round=extra
roundAllTabs=true
roundMbTopOnly=true
sbarBgndAppearance=flat
scrollbarType=kde
scrollbarType=windows
selectionAppearance=flat
shadeCheckRadio=origselected
shadeCheckRadio=none
shadeMenubarOnlyWhenActive=false
shadeMenubars=none
shadePopupMenu=false
@ -121,8 +122,8 @@ shading=hsl
shadowSize=30
sliderAppearance=customgradient5
sliderFill=true
sliderStyle=r-round
sliderThumbs=1dot
sliderStyle=circular
sliderThumbs=dots
sliderWidth=15
smallRadio=false
sortedLv=selected
@ -135,13 +136,13 @@ stdBtnSizes=false
stdSidebarButtons=false
stripedProgress=plain
stripedSbar=false
sunkenAppearance=customgradient6
tabAppearance=soft
sunkenAppearance=customgradient4
tabAppearance=harsh
tabBgnd=0
tabMouseOver=glow
tbarBtnAppearance=none
tbarBtnEffect=none
tbarBtns=joined
tbarBtns=standard
thin=0
thinSbarGroove=true
titlebarAlignment=center-full
@ -151,7 +152,7 @@ titlebarButtonColors=#000000,#000000,#000000,#000000,#000000,#000000,#000000,#00
titlebarButtons=5
titlebarEffect=shadow
titlebarIcon=title
toolbarAppearance=customgradient7
toolbarAppearance=flat
toolbarBorders=none
toolbarSeparators=sunken
toolbarTabs=false
@ -165,4 +166,4 @@ vArrows=true
version=1.9.0
windowBorder=36
windowDrag=0
xCheck=true
xCheck=false

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

84
toggle_plasma.sh Executable file
View File

@ -0,0 +1,84 @@
#! /bin/bash
THEMES_DIR=color_themes
CSS_LINK_NAME=theme_colors.css
IMPORTS_DIR=imports
IMPORT_FILE=import.css
IMPORT_FILE_HONOR_PLASMA=import_honor_plasma.css
IMPORT_FILE_IGNORE_PLASMA=import_ignore_plasma.css
PLASMA_ACTIVE=plasma_active
PLASMA_INACTIVE=plasma_inactive
PLASMA_SOURCE_CSS_FILE=~/.config/gtk-3.0/colors.css
LINK_TO_PLASMA_SOURCE_FILE=plasma_colors.css
maxParams=1
usage() {
echo -e "Usage: $(basename "$0") [--current-status] \n" >&2
echo -e "Toggles honoring Plasma's color theme on or off. If there is no color theme for GTK generated by Plasma, it won't be toggled on" >&2
echo -e "\nOption --current-status tells if the theme is currently honoring Plasma color scheme or not" >&2
}
if [ $# -gt $maxParams ]
then
echo -e "\nError: Incorrect usage." >&2
usage
exit 1
fi
if [ $# -eq 1 ]
then
if [ $1 = "--current-status" ]
then
[ -e $IMPORTS_DIR/PLASMA_ACTIVE ] && echo -e "The theme is honoring Plasma's color scheme\n" || echo -e "\nThe theme is NOT honoring Plasma's color scheme\n"
exit 0
else
echo -e "\nError: Incorrect usage." >&2
usage
exit 1
fi
fi
# Making sure we are in the script's directory, otherwise it's not going to work
SCRIPT_PATH=`realpath "$0"`
SCRIPT_DIR=`dirname "$SCRIPT_PATH"`
cd $SCRIPT_DIR
cd $IMPORTS_DIR
#if we are honoring Plasma colors...
if [ -e $PLASMA_ACTIVE ]
then
# deactivate it
[ -h $IMPORT_FILE ] && rm $IMPORT_FILE
ln -s $IMPORT_FILE_IGNORE_PLASMA $IMPORT_FILE
rm $PLASMA_ACTIVE
touch $PLASMA_INACTIVE
echo -e "\n Plasma theme honoring toggled OFF (that is: GTK theme will not follow current Plasma color scheme)\n"
else
#before activating Plasma, check if plasma colors.css file exists!
if [ ! -e $PLASMA_SOURCE_CSS_FILE ]
then
echo -e "Could not find Plasma color theme for GTK ($PLASMA_SOURCE_CSS_FILE), so GTK theme will continue not attempting to follow Plasma color scheme. Not doing anything, therefore..."
cd cd $SCRIPT_DIR
exit 2
fi
[ -h $IMPORT_FILE ] && rm $IMPORT_FILE
ln -s $IMPORT_FILE_HONOR_PLASMA $IMPORT_FILE
[ -h $LINK_TO_PLASMA_SOURCE_FILE ] && rm $LINK_TO_PLASMA_SOURCE_FILE
ln -s $PLASMA_SOURCE_CSS_FILE $LINK_TO_PLASMA_SOURCE_FILE
[ -e $PLASMA_INACTIVE ] && rm $PLASMA_INACTIVE
touch $PLASMA_ACTIVE
echo -e "\n Plasma theme honoring toggled ON (that is: GTK theme will follow current Plasma color scheme)\n"
fi
cd $SCRIPT_DIR

View File

@ -14,7 +14,7 @@ shadow_delta_x=20
shadow_delta_y=0
shadow_opacity=50
title_horizontal_offset=1
title_shadow_active=under
title_shadow_inactive=under
title_shadow_active=false
title_shadow_inactive=false
title_vertical_offset_active=1
title_vertical_offset_inactive=1

View File

@ -1,6 +1,6 @@
/* XPM */
static char * top_left_inactive_xpm[] = {
"12 36 2 1",
"12 37 2 1",
" c None",
". c #C0C0FF s inactive_color_1",
" .....",