From 399cd847d18c21e29e389428b4ebd25fd1ee4a9a Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Fri, 16 May 2025 12:59:30 -0400 Subject: [PATCH] Moved to hyprpolkitagent and hyprshot --- .../usr/share/hypr-hydro-os/hyprland.conf | 1 - .../hyprland.conf.d/autostart.conf | 28 ------------------- .../hyprland.conf.d/keybinds.conf | 2 +- recipes/recipe.yml | 3 ++ 4 files changed, 4 insertions(+), 30 deletions(-) delete mode 100644 files/system/usr/share/hypr-hydro-os/hyprland.conf.d/autostart.conf diff --git a/files/system/usr/share/hypr-hydro-os/hyprland.conf b/files/system/usr/share/hypr-hydro-os/hyprland.conf index cc5602d..ff01266 100644 --- a/files/system/usr/share/hypr-hydro-os/hyprland.conf +++ b/files/system/usr/share/hypr-hydro-os/hyprland.conf @@ -7,7 +7,6 @@ monitor=,preferred,auto,auto source = /usr/share/hypr-hydro-os/hyprland.conf.d/env_vars.conf source = /usr/share/hypr-hydro-os/hyprland.conf.d/game_workspace.conf source = /usr/share/hypr-hydro-os/hyprland.conf.d/discord_workspace.conf -source = /usr/share/hypr-hydro-os/hyprland.conf.d/autostart.conf source = /usr/share/hypr-hydro-os/hyprland.conf.d/terminal.conf source = /usr/share/hypr-hydro-os/hyprland.conf.d/keybinds.conf source = /usr/share/hypr-hydro-os/hyprland.conf.d/browser.conf diff --git a/files/system/usr/share/hypr-hydro-os/hyprland.conf.d/autostart.conf b/files/system/usr/share/hypr-hydro-os/hyprland.conf.d/autostart.conf deleted file mode 100644 index f712a44..0000000 --- a/files/system/usr/share/hypr-hydro-os/hyprland.conf.d/autostart.conf +++ /dev/null @@ -1,28 +0,0 @@ -# autostart.conf - -$polkit = /usr/libexec/kf6/polkit-kde-authentication-agent-1 -#$kwalletInit = exec --no-startup-id /usr/lib/pam_kwallet_init - -# hyprpaper -# exec-once = hyprpaper - -## services -# polkit -exec-once = $polkit - -# notification system -# exec-once = /usr/bin/swaync - -# unlock kwallet -# exec-once = /usr/share/hyprland/scripts/load-kwallet.sh - -# load kwallet dependent apps -# exec-once = /usr/share/hyprland/scripts/load-kwallet-apps.sh - -# dbus stuff -exec-once = /usr/bin/dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP - -# nextcloud -# exec-once = sleep 1 && flatpak run --branch=stable --arch=x86_64 --command=nextcloud --file-forwarding com.nextcloud.desktopclient.nextcloud - -# exec-once = akregator --hide-mainwindow diff --git a/files/system/usr/share/hypr-hydro-os/hyprland.conf.d/keybinds.conf b/files/system/usr/share/hypr-hydro-os/hyprland.conf.d/keybinds.conf index d5e1fd2..e47051a 100644 --- a/files/system/usr/share/hypr-hydro-os/hyprland.conf.d/keybinds.conf +++ b/files/system/usr/share/hypr-hydro-os/hyprland.conf.d/keybinds.conf @@ -4,7 +4,7 @@ $fileManager = uwsm app -- ${dolphin} $menu = rofi -show drun -run-command "uwsm app -- {cmd}" #$menu = ags request -i launcher show -$screenshot = uwsm app -- ${grim -g "$(slurp -d)" - | wl-copy} +$screenshot = hyprshot -m region --clipboard-only $powermenu = /usr/share/hypr-hydro-os/scripts/local-lua /usr/share/hypr-hydro-os/scripts/powermenu.lua # See https://wiki.hyprland.org/Configuring/Keywords/ for more diff --git a/recipes/recipe.yml b/recipes/recipe.yml index c696c12..8a82169 100644 --- a/recipes/recipe.yml +++ b/recipes/recipe.yml @@ -26,6 +26,8 @@ modules: - waybar - neovim - SwayNotificationCenter + - hyprpolkitagent + - hyprshot - type: default-flatpaks notify: true # Send notification after install/uninstall is finished (true/false) @@ -40,6 +42,7 @@ modules: user: enabled: - waybar.service + - hyprpolkitagent.service - type: signing # this sets up the proper policy & signing files for signed images to work fully