Skip to content

Commit

Permalink
Fix default profile setting
Browse files Browse the repository at this point in the history
This fixes the wrong profile being used when opening a new window
  • Loading branch information
l0drex committed Apr 18, 2023
1 parent 1208372 commit 90426b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/konsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from configparser import ConfigParser
from itertools import chain
from pathlib import Path
from shutil import copy2, copyfile
from shutil import copyfile

import psutil
from PySide6.QtDBus import QDBusConnection, QDBusMessage
Expand Down Expand Up @@ -59,7 +59,7 @@ def set_mode(self, dark: bool) -> bool:
profile = 'Dark' if dark else 'Light'

# update default profile, if application is started afterward
self.default_profile = profile
self.default_profile = profile + '.profile'

# Set Konsole profile for all sessions

Expand Down

0 comments on commit 90426b6

Please sign in to comment.