diff --git a/bin/omarchy-install-geforce-now b/bin/omarchy-install-geforce-now new file mode 100755 index 00000000..3d545b35 --- /dev/null +++ b/bin/omarchy-install-geforce-now @@ -0,0 +1,12 @@ +#!/bin/bash + +# Install and launch Geforce Now. + +set -e + +omarchy-pkg-add flatpak +cd /tmp +curl -LO https://international.download.nvidia.com/GFNLinux/GeForceNOWSetup.bin +chmod +x GeForceNOWSetup.bin +./GeForceNOWSetup.bin +cd - diff --git a/bin/omarchy-menu b/bin/omarchy-menu index 6e0e5012..ab44ee66 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -355,8 +355,9 @@ show_install_ai_menu() { } show_install_gaming_menu() { - case $(menu "Install" " Steam\n RetroArch [AUR]\n󰍳 Minecraft\n󰖺 Xbox Controller [AUR]") in + case $(menu "Install" " Steam\n󰢹 NVIDIA GeForce NOW\n RetroArch [AUR]\n󰍳 Minecraft\n󰖺 Xbox Controller [AUR]") in *Steam*) present_terminal omarchy-install-steam ;; + *GeForce*) present_terminal omarchy-install-geforce-now ;; *RetroArch*) aur_install_and_launch "RetroArch" "retroarch retroarch-assets libretro libretro-fbneo" "com.libretro.RetroArch.desktop" ;; *Minecraft*) install_and_launch "Minecraft" "minecraft-launcher" "minecraft-launcher" ;; *Xbox*) present_terminal omarchy-install-xbox-controllers ;; diff --git a/default/hypr/apps.conf b/default/hypr/apps.conf index 31204089..f6946ad1 100644 --- a/default/hypr/apps.conf +++ b/default/hypr/apps.conf @@ -9,6 +9,7 @@ source = ~/.local/share/omarchy/default/hypr/apps/pip.conf source = ~/.local/share/omarchy/default/hypr/apps/qemu.conf source = ~/.local/share/omarchy/default/hypr/apps/retroarch.conf source = ~/.local/share/omarchy/default/hypr/apps/steam.conf +source = ~/.local/share/omarchy/default/hypr/apps/geforce.conf source = ~/.local/share/omarchy/default/hypr/apps/system.conf source = ~/.local/share/omarchy/default/hypr/apps/telegram.conf source = ~/.local/share/omarchy/default/hypr/apps/terminals.conf diff --git a/default/hypr/apps/geforce.conf b/default/hypr/apps/geforce.conf new file mode 100644 index 00000000..df16e943 --- /dev/null +++ b/default/hypr/apps/geforce.conf @@ -0,0 +1,10 @@ +# Float Steam +windowrule { + name = geforce + match:class = GeForceNOW + float = on + center = on + opacity = 1 1 + size = 1100 700 + idle_inhibit = fullscreen +}