mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Reorder
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
echo "Add custom share portal picker"
|
echo "Add custom share portal picker"
|
||||||
omarchy-pkg-add hyprland-preview-share-picker
|
omarchy-pkg-add hyprland-preview-share-picker
|
||||||
|
|
||||||
|
mkdir -p ~/.config/hyprland-preview-share-picker
|
||||||
|
omarchy-refresh-config hyprland-preview-share-picker/config.yaml
|
||||||
|
|
||||||
if ! grep -q "custom_picker_binary" ~/.config/hypr/xdph.conf; then
|
if ! grep -q "custom_picker_binary" ~/.config/hypr/xdph.conf; then
|
||||||
sed -i '/screencopy {/a\ custom_picker_binary = hyprland-preview-share-picker' ~/.config/hypr/xdph.conf
|
sed -i '/screencopy {/a\ custom_picker_binary = hyprland-preview-share-picker' ~/.config/hypr/xdph.conf
|
||||||
|
fi
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
killall -e xdg-desktop-portal-hyprland
|
killall -e xdg-desktop-portal-hyprland
|
||||||
@@ -11,7 +15,3 @@ if ! grep -q "custom_picker_binary" ~/.config/hypr/xdph.conf; then
|
|||||||
/usr/lib/xdg-desktop-portal-hyprland &
|
/usr/lib/xdg-desktop-portal-hyprland &
|
||||||
sleep 2
|
sleep 2
|
||||||
/usr/lib/xdg-desktop-portal &
|
/usr/lib/xdg-desktop-portal &
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p ~/.config/hyprland-preview-share-picker
|
|
||||||
omarchy-refresh-config hyprland-preview-share-picker/config.yaml
|
|
||||||
|
|||||||
Reference in New Issue
Block a user