This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Invoke-Executable { | |
| [CmdletBinding()] | |
| Param( | |
| [Parameter(Mandatory, Position=0)] | |
| [string]$Command, | |
| [Parameter(Position=1, ValueFromRemainingArguments)] | |
| [string[]]$Arguments, | |
| [int[]]$ExitCode = 0 | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env pwsh | |
| <# | |
| .SYNOPSIS | |
| Script to adjust Xinput mouse settings. Designed for using around event-based triggers, such as xbindkeys. | |
| .DESCRIPTION | |
| Changes certain Xinput mouse settings. Currently only supports adjusting the mouse speed. Leans on the `xinput` | |
| command to read and apply Xinput configurations. A high-level explanation of which settings are changed for | |
| each operation can be found further on in the description. | |
OlderNewer