diff --git a/.config/cosmic/com.system76.CosmicComp/v1/focus_follows_cursor b/.config/cosmic/com.system76.CosmicComp/v1/focus_follows_cursor index 02e4a84..f32a580 100644 --- a/.config/cosmic/com.system76.CosmicComp/v1/focus_follows_cursor +++ b/.config/cosmic/com.system76.CosmicComp/v1/focus_follows_cursor @@ -1 +1 @@ -false \ No newline at end of file +true \ No newline at end of file diff --git a/.config/cosmic/com.system76.CosmicComp/v1/input_touchpad b/.config/cosmic/com.system76.CosmicComp/v1/input_touchpad index 6f0126b..ed0baef 100644 --- a/.config/cosmic/com.system76.CosmicComp/v1/input_touchpad +++ b/.config/cosmic/com.system76.CosmicComp/v1/input_touchpad @@ -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, + )), ) \ No newline at end of file diff --git a/.config/cosmic/com.system76.CosmicTk/v1/show_maximize b/.config/cosmic/com.system76.CosmicTk/v1/show_maximize index 02e4a84..f32a580 100644 --- a/.config/cosmic/com.system76.CosmicTk/v1/show_maximize +++ b/.config/cosmic/com.system76.CosmicTk/v1/show_maximize @@ -1 +1 @@ -false \ No newline at end of file +true \ No newline at end of file diff --git a/.config/scripts/sessions.sh b/.config/scripts/sessions.sh index d17073e..08dccfd 100755 --- a/.config/scripts/sessions.sh +++ b/.config/scripts/sessions.sh @@ -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 diff --git a/ansible/roles/packages/vars/Archlinux.yml b/ansible/roles/packages/vars/Archlinux.yml index 384a161..80a73e7 100644 --- a/ansible/roles/packages/vars/Archlinux.yml +++ b/ansible/roles/packages/vars/Archlinux.yml @@ -3,6 +3,8 @@ required_packages_brew: - zsh-history-substring-search - zsh-autosuggestions - istioctl + - oven-sh/bun/bun + - pkl required_packages_pacman: - sway @@ -109,6 +111,7 @@ required_packages_pacman: - python-adblock - linux-headers - traceroute + - task flatpak_remote: - { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" } @@ -147,6 +150,8 @@ go_apps: - github.com/air-verse/air@latest - golang.org/x/tools/gopls@latest - github.com/nats-io/natscli/nats@latest + - github.com/go-task/task/v3/cmd/task@latest + - github.com/a-h/templ/cmd/templ@latest yay: - nwg-look