diff options
| -rw-r--r-- | kshrc | 6 | ||||
| -rwxr-xr-x | x/kbd_rate | 3 | ||||
| -rwxr-xr-x | x/mouse-props | 2 |
3 files changed, 10 insertions, 1 deletions
@@ -396,6 +396,12 @@ dpwenv() { rm -f "$_f" } +# With some minor tweaks, this should work for chromium based browsers too +braveListProfiles() { + cat ~/.config/BraveSoftware/Brave-Browser/Local\ State \ + | jq -r '.profile | .info_cache | to_entries | .[] | "\(.key)\t\(.value.name)"' +} + # gensubids is useful for generating /etc/subuid and /etc/subgid # if you have say a 3rd user you want to add gensubids() { diff --git a/x/kbd_rate b/x/kbd_rate new file mode 100755 index 0000000..17c0517 --- /dev/null +++ b/x/kbd_rate @@ -0,0 +1,3 @@ +#!/bin/sh +set -ex +xset r rate 300 50 diff --git a/x/mouse-props b/x/mouse-props index a2c0d5f..504f197 100755 --- a/x/mouse-props +++ b/x/mouse-props @@ -1,6 +1,6 @@ #!/bin/sh -mice="G305|Viper|Naga Pro|Orochi V2|Viper V2" +mice="G305|Viper|Naga Pro|Orochi V2|Viper V2|Hydrogen" listMice() { xinput --list \ |
