-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
88 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import Gtk from "gi://Gtk"; | ||
import Gio from "gi://Gio"; | ||
import Adw from "gi://Adw"; | ||
|
||
import Window from "./window.js"; | ||
import Welcome from "./welcome.js"; | ||
import About from "./about.js"; | ||
import ShortcutsWindow from "./ShortcutsWindow.js"; | ||
|
||
export default function Application({ version }) { | ||
const application = new Gtk.Application({ | ||
const application = new Adw.Application({ | ||
application_id: "re.sonny.Junction", | ||
flags: Gio.ApplicationFlags.HANDLES_OPEN, | ||
}); | ||
|
||
Gtk.Settings.get_default()["gtk-application-prefer-dark-theme"] = true; | ||
Adw.StyleManager.get_default().set_color_scheme(Adw.ColorScheme.FORCE_DARK); | ||
|
||
// FIXME: Cannot deal with mailto:, xmpp:, ... URIs | ||
// GFile mess the URI if the scheme separator does not include "//" like about:blank or mailto:[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
window.main { | ||
.main { | ||
border-radius: 18px; | ||
background: none; | ||
background-color: rgba(20, 20, 20, 0.95); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters