Commit fc14ffef authored by Paulo Queiroz's avatar Paulo Queiroz 📦
Browse files

0.11.1 - Bug fixes

- Set BLACKBOX_THEMES_DIR - fixes #82
- User themes folder is no longer hard-coded - #90
parent 2e68a11f
# Changelog
## 0.11.1 - 2022.07.13
Features:
- Black Box will set the BLACKBOX_THEMES_DIR env variable to the user's theme
folder - #82
Bug fixes:
- Fix opaque floating header bar
- User themes dir is no longer hard-coded and will be different for host vs
Flatpak - #90 thanks @nahuelwexd
## 0.11.0 - 2022.07.13
Features:
......
......@@ -84,6 +84,19 @@
</kudos>
<releases>
<release date="2022-07-13" version="0.11.1">
<description>
<p>Features:</p>
<ul>
<li>Black Box will set the BLACKBOX_THEMES_DIR env variable to the user's Black Box theme folder</li>
</ul>
<p>Bugs:</p>
<ul>
<li>Fix opaque floating header bar</li>
<li>User themes dir is no longer hard-coded and will be different for host install vs Flatpak</li>
</ul>
</description>
</release>
<release date="2022-07-13" version="0.11.0">
<description>
<p>Features:</p>
......
project('blackbox', ['c', 'vala'],
version: '0.11.0',
version: '0.11.1',
meson_version: '>= 0.50.0',
default_options: [ 'warning_level=2',
],
......
......@@ -55,7 +55,7 @@ tabbox background {
margin: 8px;
}
.floating-revealer headerbar {
window:not(.about) .floating-revealer > headerbar {
background: transparent;
}
......
......@@ -210,7 +210,7 @@ public class Terminal.ThemeProvider : Object {
var f = GLib.File.new_for_path (path);
try {
f.make_directory ();
f.make_directory_with_parents ();
}
catch (Error e) {
warning ("%s", e.message);
......
......@@ -37,13 +37,13 @@ namespace Terminal.Constants {
public string get_user_schemes_dir () {
return Path.build_path(
Path.DIR_SEPARATOR_S, Environment.get_home_dir (), ".var", "app", APP_ID, "schemes", null
Path.DIR_SEPARATOR_S, Environment.get_user_data_dir (), "blackbox", "schemes"
);
}
public string get_app_schemes_dir () {
return Path.build_path(
Path.DIR_SEPARATOR_S, DATADIR, "blackbox", "schemes", null
return Path.build_path (
Path.DIR_SEPARATOR_S, DATADIR, "blackbox", "schemes"
);
}
}
......@@ -277,7 +277,8 @@ public class Terminal.Terminal : Vte.Terminal {
envv += "G_MESSAGES_DEBUG=false";
envv += "TERM=xterm-256color";
envv += @"TERM_PROGRAM=$(APP_NAME)";
envv += "TERM_PROGRAM=%s".printf (APP_NAME);
envv += "BLACKBOX_THEMES_DIR=%s".printf (Constants.get_user_schemes_dir ());
foreach (unowned string env in envv) {
argv += @"--env=$(env)";
......@@ -287,7 +288,8 @@ public class Terminal.Terminal : Vte.Terminal {
envv = Environ.get ();
envv += "G_MESSAGES_DEBUG=false";
envv += "TERM=xterm-256color";
envv += @"TERM_PROGRAM=$(APP_NAME)";
envv += "TERM_PROGRAM=%s".printf (APP_NAME);
envv += "BLACKBOX_THEMES_DIR=%s".printf (Constants.get_user_schemes_dir ());
shell = Environ.get_variable (envv, "SHELL");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment