Skip to content

Commit

Permalink
Fix path in konsole.py
Browse files Browse the repository at this point in the history
https://github.com/oskarsh/Yin-Yang/blob/508b167fc41761b5165d2c5f4b1a71fc04e29235/yin_yang/plugins/_plugin.py#L284C1-L284C136 requires that `path` start with `'/'` and not end with `'/'`, while the path in `konsole.py` is in the opposite format.

Tested locally with Konsole
  • Loading branch information
soumya92 authored Dec 23, 2024
1 parent 508b167 commit 73a4bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yin_yang/plugins/konsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ def create_profiles(self):

def set_profile(self, service: str, profile: str, set_default_profile: bool = False):
if set_default_profile:
path = 'Sessions/'
path = '/Sessions'
interface = 'org.kde.konsole.Session'
method = 'setProfile'
else:
path = 'Windows/'
path = '/Windows'
interface = 'org.kde.konsole.Window'
method = 'setDefaultProfile'

Expand Down

0 comments on commit 73a4bc7

Please sign in to comment.