Update layoutSwitcher.nim
This commit is contained in:
parent
65b882b0d6
commit
582743d1f8
|
@ -37,7 +37,7 @@ proc enableTopBarIntegration(): bool =
|
|||
sendNotification(appID, "Layout Switcher", "Authentication failed!")
|
||||
return false
|
||||
else:
|
||||
sendNotification(appID, "Layout Switcher", "Failed installing global menu!")
|
||||
sendNotification(appID, "Layout Switcher", "Failed to enable global menu!")
|
||||
return false
|
||||
# Hide window borders when maximized
|
||||
discard runCommand("/usr/bin/xfconf-query",
|
||||
|
@ -62,7 +62,7 @@ proc disableTopBarIntegration(): bool =
|
|||
of 127:
|
||||
sendNotification(appID, "Layout Switcher", "Authentication failed!")
|
||||
else:
|
||||
sendNotification(appID, "Layout Switcher", "Failed removing global menu!")
|
||||
sendNotification(appID, "Layout Switcher", "Failed to disable global menu!")
|
||||
return false
|
||||
# Hide window borders when maximized
|
||||
discard runCommand("/usr/bin/xfconf-query",
|
||||
|
|
Loading…
Reference in New Issue
Block a user