Skip to content

Commit

Permalink
chore: Use natural scrolling on framework laptops by default
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo authored May 3, 2024
1 parent 687cece commit ca1d2b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion system_files/shared/usr/libexec/ublue-user-setup
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ if [[ ":Framework:" =~ ":$VEN_ID:" ]]; then
echo 'Setting Framework logo menu'
dconf write /org/gnome/shell/extensions/Logo-menu/symbolic-icon true
dconf write /org/gnome/shell/extensions/Logo-menu/menu-button-icon-image 31
echo 'Setting touch scroll type'
dconf write /org/gnome/desktop/peripherals/mouse/natural-scroll true
touch "$UBLUE_CONFIG_DIR/framework-initialized"
fi
fi
Expand All @@ -58,4 +60,4 @@ pkexec /usr/libexec/ublue-privileged-user-setup

# Prevent future executions
echo "Writing state file"
echo $USER_SETUP_VER > "$USER_SETUP_VER_FILE"
echo $USER_SETUP_VER > "$USER_SETUP_VER_FILE"

0 comments on commit ca1d2b0

Please sign in to comment.