Skip to content

Commit 1f8003e

Browse files
author
mirkobrombin
committed
enable dark theme by default
1 parent 6fbeab0 commit 1f8003e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

easyterm/easyterm.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def __init__(
103103
command:list=[],
104104
env:list=[],
105105
actions:list=[],
106-
dark_theme:bool=False,
106+
dark_theme:bool=True,
107107
palette:list=[],
108108
*args, **kwds
109109
):
@@ -173,7 +173,7 @@ def __init__(
173173
command:list=[],
174174
env:list=[],
175175
actions:list=[],
176-
dark_theme:bool=False,
176+
dark_theme:bool=True,
177177
palette:list=[],
178178
*args, **kwds
179179
):
@@ -238,11 +238,11 @@ def __register_arguments(self):
238238
None
239239
)
240240
self.add_main_option(
241-
"dark-theme",
241+
"light-theme",
242242
ord("d"),
243243
GLib.OptionFlags.NONE,
244244
GLib.OptionArg.NONE,
245-
"Set the dark theme",
245+
"Set the light theme",
246246
None
247247
)
248248
self.add_main_option(
@@ -260,7 +260,7 @@ def do_command_line(self, command_line):
260260
command = []
261261
env = []
262262
actions = []
263-
dark_theme = False
263+
dark_theme = True
264264
palette = []
265265

266266
options = command_line.get_options_dict()
@@ -277,8 +277,8 @@ def do_command_line(self, command_line):
277277
if options.contains("actions"):
278278
actions = options.lookup_value("actions").get_string().split(" ")
279279

280-
if options.lookup_value("dark-theme"):
281-
dark_theme = True
280+
if options.lookup_value("light-theme"):
281+
dark_theme = False
282282

283283
if options.contains("palette"):
284284
palette = options.lookup_value("palette").get_string().split(" ")

0 commit comments

Comments
 (0)