diff --git a/config/hyprland-preview-share-picker/config.yaml b/config/hyprland-preview-share-picker/config.yaml index 6b939570..740fc7ae 100644 --- a/config/hyprland-preview-share-picker/config.yaml +++ b/config/hyprland-preview-share-picker/config.yaml @@ -3,7 +3,7 @@ # relative paths are resolved relative to the location of the config file stylesheets: ["../omarchy/current/theme/hyprland-preview-share-picker.css"] # default page selected when the picker is opened -default_page: windows +default_page: outputs window: # height of the application window diff --git a/migrations/1772981555.sh b/migrations/1772981555.sh new file mode 100644 index 00000000..d843150f --- /dev/null +++ b/migrations/1772981555.sh @@ -0,0 +1,7 @@ +echo "Update hyprland-preview-share-picker config to default to outputs page" + +CONFIG_FILE=~/.config/hyprland-preview-share-picker/config.yaml + +if [[ -f $CONFIG_FILE ]]; then + sed -i 's/^default_page: windows$/default_page: outputs/' "$CONFIG_FILE" +fi