diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index a343771..7a6d356 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -364,8 +364,8 @@ bind=SUPER,A,swapactiveworkspaces,current +1 bindle=, XF86MonBrightnessUp, exec, xbacklight -inc 10 bindle=, XF86MonBrightnessDown, exec, xbacklight -dec 10 -bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 5%+;canberra-gtk-play -i audio-volume-change -d "volumeChange" -bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 5%-;canberra-gtk-play -i audio-volume-change -d "volumeChange" +# bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 5%+;canberra-gtk-play -i audio-volume-change -d "volumeChange" +# bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 5%-;canberra-gtk-play -i audio-volume-change -d "volumeChange" bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle bindl=, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle @@ -454,6 +454,8 @@ bind = CTRL+ALT,2,pass,^(com\.obsproject\.Studio)$ #windowrulev2=opacity 0.9,class:Code #windowrulev2=opacity 0.9,class:Spotify +windowrulev2 = suppress_event maximize,class:^(vesktop)$ + #windowrulev2=workspace 10,class:Code # Open Code on secondary monitor #windowrulev2 = float,class:^(qt5ct)$ diff --git a/.config/xdg-desktop-portal/hyprland-portals.conf b/.config/xdg-desktop-portal/hyprland-portals.conf index 2adb519..76d2008 100644 --- a/.config/xdg-desktop-portal/hyprland-portals.conf +++ b/.config/xdg-desktop-portal/hyprland-portals.conf @@ -1,4 +1,5 @@ [preferred] default = hyprland;gtk -org.freedesktop.impl.portal.FileChooser = kde +org.freedesktop.impl.portal.FileChooser = gtk +org.freedesktop.impl.portal.ScreenCast = hyprland org.freedesktop.impl.portal.RemoteDesktop = hypr-kdeconnect diff --git a/servers/ui-mode/configuration.nix b/servers/ui-mode/configuration.nix index 60531d3..10aa0ce 100644 --- a/servers/ui-mode/configuration.nix +++ b/servers/ui-mode/configuration.nix @@ -247,6 +247,7 @@ in "hyprland" "gtk" ]; + common."org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ]; common."org.freedesktop.impl.portal.RemoteDesktop" = [ "hypr-kdeconnect" ]; hyprland = { default = [ @@ -254,6 +255,7 @@ in "gtk" ]; "org.freedesktop.impl.portal.FileChooser" = [ "gtk" ]; + "org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ]; "org.freedesktop.impl.portal.RemoteDesktop" = [ "hypr-kdeconnect" ]; }; }; diff --git a/servers/ui-mode/home.nix b/servers/ui-mode/home.nix index ea6d205..35c2095 100644 --- a/servers/ui-mode/home.nix +++ b/servers/ui-mode/home.nix @@ -52,6 +52,15 @@ let ${codexbar.packages.${pkgs.system}.default}/bin/codexbar "$@" ''; }; + vesktopWrapped = pkgs.symlinkJoin { + name = "vesktop-pipewire"; + paths = [ pkgs.vesktop ]; + nativeBuildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/vesktop \ + --add-flags "--enable-features=WebRTCPipeWireCapturer,WaylandWindowDecorations" + ''; + }; # system = stdenv.hostPlatform.system; in { @@ -67,6 +76,9 @@ in stateVersion = "25.11"; packages = with pkgs; [ + firefox + unrar + wine codexbarWrapped codex jellyfin-desktop @@ -205,7 +217,7 @@ in #rofi-wayland rofi discord - vesktop + vesktopWrapped spotify spicetify-cli meslo-lgs-nf