Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/onflapp/gs-desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 17, 2024
2 parents aa2b196 + 45039a3 commit ef136d7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Applications/Preferences/Modules/Keyboard/Keyboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ - (void)swapFNClicked:(id)sender
[defaults setInteger:[sender state] forKey:OSEKeyboardFNforFkeys];
}

[OSEKeyboard configureWithDefaults:defaults];
//[OSEKeyboard configureWithDefaults:defaults];
[[NSApp delegate]configureMouseAndKeyboard];
}

@end
Expand Down
3 changes: 2 additions & 1 deletion Applications/Preferences/Modules/Keyboard/ModifierKeys.m
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ - (IBAction)swapAction:(id)sender
[keydefaults setInteger:[sender state] forKey:OSEKeyboardAltCmdSwap];
}

[OSEKeyboard configureWithDefaults:keydefaults];
//[OSEKeyboard configureWithDefaults:keydefaults];
[[NSApp delegate]configureMouseAndKeyboard];
}

- (IBAction)popupsAction:(id)sender
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Environment loadModule:'SystemShell'.

Shell executeCommand:'touch' withArguments:#('~/.Xmodmap').

NSWorkspace sharedWorkspace openFile:('~/.Xmodmap' stringByExpandingTildeInPath).
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
Default = {
Name = "Edit User's Xmodmap";
};
}

0 comments on commit ef136d7

Please sign in to comment.