From 3d1a47acc71d163c3833a199b9b3ee3c11ecc4ef Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 25 Jan 2023 01:17:03 +0100 Subject: [PATCH] Remove portal restart script --- home/.config/hypr/hyprland.conf | 2 +- home/.local/bin/scripts/gui/hyprland/hypr-restart-portals | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100755 home/.local/bin/scripts/gui/hyprland/hypr-restart-portals diff --git a/home/.config/hypr/hyprland.conf b/home/.config/hypr/hyprland.conf index c18cd37..f7de3de 100644 --- a/home/.config/hypr/hyprland.conf +++ b/home/.config/hypr/hyprland.conf @@ -13,7 +13,7 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -exec-once = hypr-restart-portals +exec-once = systemctl --user start xdg-desktop-portal-hyprland exec-once = setbg exec-once = eww open bar0 diff --git a/home/.local/bin/scripts/gui/hyprland/hypr-restart-portals b/home/.local/bin/scripts/gui/hyprland/hypr-restart-portals deleted file mode 100755 index f58de91..0000000 --- a/home/.local/bin/scripts/gui/hyprland/hypr-restart-portals +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -sleep 4 -systemctl --user stop xdg-desktop-portal -systemctl --user stop xdg-desktop-portal-wlr -sleep 2 -systemctl --user start xdg-desktop-portal -systemctl --user start xdg-desktop-portal-wlr