better-manage-global-menu #4
|
@ -37,7 +37,7 @@ proc enableTopBarIntegration(): bool =
|
||||||
sendNotification(appID, "Layout Switcher", "Authentication failed!")
|
sendNotification(appID, "Layout Switcher", "Authentication failed!")
|
||||||
return false
|
return false
|
||||||
else:
|
else:
|
||||||
sendNotification(appID, "Failed installing global menu!", "Make sure that you are not currently installing any apps or updating the system.\nEnabling internet connection might solve the issue.")
|
sendNotification(appID, "Layout Switcher", "Failed installing global menu!")
|
||||||
return false
|
return false
|
||||||
# Hide window borders when maximized
|
# Hide window borders when maximized
|
||||||
discard runCommand("/usr/bin/xfconf-query",
|
discard runCommand("/usr/bin/xfconf-query",
|
||||||
|
@ -62,7 +62,7 @@ proc disableTopBarIntegration(): bool =
|
||||||
of 127:
|
of 127:
|
||||||
sendNotification(appID, "Layout Switcher", "Authentication failed!")
|
sendNotification(appID, "Layout Switcher", "Authentication failed!")
|
||||||
else:
|
else:
|
||||||
sendNotification(appID, "Failed removing global menu!", "Make sure that you are not currently installing any apps or updating the system.")
|
sendNotification(appID, "Layout Switcher", "Failed removing global menu!")
|
||||||
return false
|
return false
|
||||||
# Hide window borders when maximized
|
# Hide window borders when maximized
|
||||||
discard runCommand("/usr/bin/xfconf-query",
|
discard runCommand("/usr/bin/xfconf-query",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user