Skip to content

Commit 565932a

Browse files
committed
fix
1 parent 2ad05bc commit 565932a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

flatpak_schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"--socket=wayland",
1313
"--talk-name=com.system76.CosmicSettingsDaemon",
1414
"--device=all",
15-
"--filesystem=xdg-config/cosmic/com.system76.CosmicTheme.Mode:ro",
16-
"--filesystem=xdg-config/cosmic:ro"
15+
"--filesystem=xdg-config/cosmic/com.system76.CosmicTheme.Mode:rw",
16+
"--filesystem=xdg-config/cosmic:rw"
1717
],
1818
"build-options": {
1919
"append-path": "/usr/lib/sdk/rust-stable/bin",
@@ -26,8 +26,8 @@
2626
"name": "cosmic-ext-applet-external-monitor-brightness",
2727
"buildsystem": "simple",
2828
"build-commands": [
29-
"just build-debug --verbose --offline",
30-
"just debug=1 prefix=/app install"
29+
"just build-release --verbose --offline",
30+
"just prefix=/app install"
3131
],
3232
"sources": [
3333
{

src/app.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,6 @@ impl cosmic::Application for AppState {
320320
Ok(())
321321
}
322322

323-
let output = std::process::Command::new("env").output().unwrap().stdout;
324-
let output = String::from_utf8(output).unwrap();
325-
println!("{output}");
326-
327323
self.theme_mode_config.is_dark = dark;
328324

329325
if let Err(e) = set_theme_mode2(&self.theme_mode_config) {

0 commit comments

Comments
 (0)