Skip to content

Commit

Permalink
Fix an issue with the show desktop action (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Nov 17, 2022
1 parent cafbd4f commit 9a04bcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elevenclock/__init__.py
Expand Up @@ -1516,7 +1516,7 @@ def doClickAction(self, actions):
report(e)

def showDesktop(self):
keyboard.press_and_release("win+d")
keyboard.press_and_release("Win+в") # The latin d letter might interfiere with the volume control, so it has been switched to the cyrillic one (it just happens to work on latin-based keyboard layouts)

def focusOutEvent(self, event: QFocusEvent) -> None:
self.refresh.emit()
Expand Down
2 changes: 1 addition & 1 deletion elevenclock/settings.py
Expand Up @@ -239,7 +239,7 @@ def ww():
_("Copy date/time"): "copy_datetime",
_("Disabled"): "f20",
_("Open quick settings"): "Win+A",
_("Show desktop"): "Win+D",
_("Show desktop"): "Win+в",
_("Open run dialog"): "Win+R",
_("Open task manager"): "Ctrl+Shift+Esc",
_("Open start menu"): "Win",
Expand Down

0 comments on commit 9a04bcc

Please sign in to comment.