diff options
| author | Blista Kanjo | 2024-02-13 17:36:27 -0500 |
|---|---|---|
| committer | Blista Kanjo | 2024-02-13 17:36:27 -0500 |
| commit | ed9b04d780a59cc508e0eeea9b23d78d854bc827 (patch) | |
| tree | 41fa1f53deeeaea30844d338b4998f7705904377 /.local/bin | |
| parent | 029688904768313a669868dfdde217f87726a1fb (diff) | |
refactor: more appropriate 1-liner for `awesome-xinputD`
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/awesome-xinputD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/awesome-xinputD b/.local/bin/awesome-xinputD index aab144b..a36fa5b 100755 --- a/.local/bin/awesome-xinputD +++ b/.local/bin/awesome-xinputD @@ -4,7 +4,7 @@ apply_settings() { sleep 2 xinput set-prop pointer:"Logitech USB Trackball" "libinput Accel Speed" 1.000000 xinput set-prop pointer:"SteelSeries SteelSeries Rival 310 eSports Mouse" "libinput Accel Speed" 0.300000 - if [ -f ~/.Xmodmap ]; then xmodmap ~/.Xmodmap; fi + [ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap } apply_settings |
