update
This commit is contained in:
parent
a96e85fd71
commit
38c58c45b0
5 changed files with 24 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
false
|
||||
true
|
||||
|
|
@ -4,10 +4,17 @@
|
|||
profile: Some(Flat),
|
||||
speed: 0.0,
|
||||
)),
|
||||
click_method: Some(Clickfinger),
|
||||
scroll_config: Some((
|
||||
method: Some(TwoFinger),
|
||||
natural_scroll: Some(false),
|
||||
scroll_button: None,
|
||||
scroll_factor: None,
|
||||
)),
|
||||
tap_config: Some((
|
||||
enabled: true,
|
||||
button_map: Some(LeftRightMiddle),
|
||||
drag: true,
|
||||
drag_lock: false,
|
||||
)),
|
||||
)
|
||||
|
|
@ -1 +1 @@
|
|||
false
|
||||
true
|
||||
|
|
@ -16,8 +16,17 @@ new() {
|
|||
return
|
||||
fi
|
||||
|
||||
dir=$(find "$HOME/Documents/gitlab" -mindepth 2 -maxdepth 2 -type d | grep "$name$" | head -n 1)
|
||||
if [ -d "$name" ]; then
|
||||
dir="$name"
|
||||
else
|
||||
# If 'name' isn't a directory, assume it's a subfolder name and search within "Documents/gitlab"
|
||||
dir=$(find "$HOME/Documents/gitlab" -mindepth 2 -maxdepth 2 -type d | grep "$name$" | head -n 1)
|
||||
|
||||
if [ -z "$dir" ]; then
|
||||
echo "Error: Directory not found for '$name' in Documents/gitlab." >&2
|
||||
return 1 # Or exit, depending on your script's error handling
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$dir" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue