silly shit
This commit is contained in:
parent
e9b8d4e16f
commit
28998a0087
|
|
@ -4,7 +4,7 @@ include(FindPackageHandleStandardArgs)
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
option(STEAM "Build for Steam" OFF)
|
option(STEAM "Build for Steam" OFF)
|
||||||
option(DEBUG "Debug mode" ON)
|
option(DEBUG "Debug mode" OFF)
|
||||||
option(NATIVE "Use native instructions(for local use only)" OFF)
|
option(NATIVE "Use native instructions(for local use only)" OFF)
|
||||||
#x86, arm64, ia-64
|
#x86, arm64, ia-64
|
||||||
option(CPU_ARCH "Enter here your target arch" "x86")
|
option(CPU_ARCH "Enter here your target arch" "x86")
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
| Windows | 100% | Играбельно |
|
| Windows | 100% | Играбельно |
|
||||||
| Linux | 91% | В работе, но уже играбельно<br>TODO:<br> \* Fix Wallpaper manager
|
| Linux | 91% | В работе, но уже играбельно<br>TODO:<br> \* Fix Wallpaper manager
|
||||||
| *BSD | 15% | не в работе |
|
| *BSD | 15% | не в работе |
|
||||||
| GNU/Hurd | 90% | не в работе |
|
| GNU/Hurd | 0% | не в работеm не хватает библеотек |
|
||||||
| Solaris/OpenSolaris | 1% | не в работе |
|
| Solaris/OpenSolaris | 1% | не в работе |
|
||||||
| RedoxOS | 0% | Не хватает библеотек |
|
| RedoxOS | 0% | Не хватает библеотек |
|
||||||
| Android | 4% | В работе |
|
| Android | 4% | В работе |
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
| GNOME | 10% |
|
| GNOME | 10% |
|
||||||
| KDE | 10% |
|
| KDE | 10% |
|
||||||
| LXQT | 0% |
|
| LXQT | 0% |
|
||||||
| MATE | 10% |
|
| MATE | 100% |
|
||||||
| Cinnamon | 10% |
|
| Cinnamon | 10% |
|
||||||
| Budgie | 0% |
|
| Budgie | 0% |
|
||||||
| Deepin | 10% |
|
| Deepin | 10% |
|
||||||
|
|
|
||||||
|
|
@ -344,11 +344,15 @@ end:
|
||||||
GValue colorValue = G_VALUE_INIT;
|
GValue colorValue = G_VALUE_INIT;
|
||||||
GPtrArray *colorArr = g_ptr_array_sized_new(4);
|
GPtrArray *colorArr = g_ptr_array_sized_new(4);
|
||||||
GType colorArrType = g_type_from_name("GPtrArray_GValue_");
|
GType colorArrType = g_type_from_name("GPtrArray_GValue_");
|
||||||
if (!colorArrType) {
|
//TODO:fix later
|
||||||
|
//if (!colorArrType) {
|
||||||
std::stringstream colorCommand;
|
std::stringstream colorCommand;
|
||||||
colorCommand << "xfconf-query -c xfce4-desktop -n -p " << optionColor
|
colorCommand << "xfconf-query -c xfce4-desktop -n -p " << optionColor
|
||||||
<< " -t uint -t uint -t uint -t uint -s " << ub
|
<< " -t uint -t uint -t uint -t uint -s " << ub
|
||||||
<< " -s " << ug << " -s " << ub << " -s " << alpha;
|
<< " -s " << ug << " -s " << ub << " -s " << alpha;
|
||||||
|
Debug() << "xfconf-query -c xfce4-desktop -n -p " << optionColor
|
||||||
|
<< " -t uint -t uint -t uint -t uint -s " << ub
|
||||||
|
<< " -s " << ug << " -s " << ub << " -s " << alpha;
|
||||||
int colorCommandRes = system(colorCommand.str().c_str());
|
int colorCommandRes = system(colorCommand.str().c_str());
|
||||||
defColorExists = xfconf_channel_get_property(bgchannel, optionColor.c_str(), &defColor);
|
defColorExists = xfconf_channel_get_property(bgchannel, optionColor.c_str(), &defColor);
|
||||||
colorArrType = g_type_from_name("GPtrArray_GValue_");
|
colorArrType = g_type_from_name("GPtrArray_GValue_");
|
||||||
|
|
@ -357,7 +361,7 @@ end:
|
||||||
Debug() << "[wallpaperSet] WALLPAPER ERROR: xfconf-query call returned" << colorCommandRes;
|
Debug() << "[wallpaperSet] WALLPAPER ERROR: xfconf-query call returned" << colorCommandRes;
|
||||||
return Qnil;
|
return Qnil;
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
g_value_init(&colorValue, colorArrType);
|
g_value_init(&colorValue, colorArrType);
|
||||||
GValue *vr = g_new0(GValue, 1);
|
GValue *vr = g_new0(GValue, 1);
|
||||||
GValue *vg = g_new0(GValue, 1);
|
GValue *vg = g_new0(GValue, 1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue