diff --git a/home/config/default.nix b/home/config/default.nix index 18cff25..2a4c069 100644 --- a/home/config/default.nix +++ b/home/config/default.nix @@ -10,4 +10,9 @@ recursive = true; source = ./alacritty; }; + xdg.configFile."fuzzel" = { + force = true; + recursive = true; + source = ./fuzzel; + }; } diff --git a/home/config/fuzzel/fuzzel.ini b/home/config/fuzzel/fuzzel.ini new file mode 100644 index 0000000..85ee853 --- /dev/null +++ b/home/config/fuzzel/fuzzel.ini @@ -0,0 +1,36 @@ +[main] +use-bold=yes +dpi-aware=no +fields=name,generic,comment,categories,filename,keywords,exec +terminal=alacritty +prompt="What ? " +placeholder="Search and launch" +icon-theme=Papirus +icons-enabled=yes +show-actions=no +anchor=center +x-margin=10 +y-margin=10 +lines=10 +width=60 +horizontal-pad=20 +vertical-pad=20 +inner-pad=5 +line-height=27 +letter-spacing=0 +image-size-ratio=0.4 +layer=top +exit-on-keyboard-focus-loss = yes + +[colors] +background=140c1dfa +prompt=dcd7baff +input=dcd7baff +text=938aa9ff +match=1c0c1dff +selection=1c0c1dff +selection-text=161736 + +[border] +width=0 +radius=7 diff --git a/home/config/niri/animations.kdl b/home/config/niri/animations.kdl index 946e7ae..fe69a55 100644 --- a/home/config/niri/animations.kdl +++ b/home/config/niri/animations.kdl @@ -1,2 +1,10 @@ animations { + window-open { + duration-ms 200 + curve "ease-out-expo" + } + window-close { + duration-ms 150 + curve "ease-out-quad" + } } diff --git a/home/config/niri/env.kdl b/home/config/niri/env.kdl index 1bb1687..10bc633 100644 --- a/home/config/niri/env.kdl +++ b/home/config/niri/env.kdl @@ -62,6 +62,6 @@ environment { // 6. STEAM / PROTON // ========================================================================= // Stuff for gaming - PROTON_ADD_CONFIG "wayland" + PROTON_ADD_CONFIG "wayland,dlss" DXVK_CONFIG "dxvk.enableNvRawAccessChains=False" } diff --git a/home/packages/media.nix b/home/packages/media.nix index c9755c5..64a3b72 100644 --- a/home/packages/media.nix +++ b/home/packages/media.nix @@ -3,17 +3,4 @@ home.packages = with pkgs; [ sone ]; - - programs.obs-studio = { - enable = true; - package = ( - pkgs.obs-studio.override { - cudaSupport = true; - } - ); - - plugins = with pkgs.obs-studio-plugins; [ - obs-pipewire-audio-capture - ]; - }; } diff --git a/nixos/default.nix b/nixos/default.nix index fb78614..39dd0ce 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -12,6 +12,7 @@ ./network/bluetooth.nix ./network/usb.nix ./steam/steam.nix + ./steam/programs.nix ]; boot.loader.systemd-boot.enable = true; diff --git a/nixos/programs/obs.nix b/nixos/programs/obs.nix new file mode 100644 index 0000000..ce66299 --- /dev/null +++ b/nixos/programs/obs.nix @@ -0,0 +1,16 @@ +{ pkgs, ... }: +{ + programs.obs-studio = { + enable = true; + package = ( + pkgs.obs-studio.override { + cudaSupport = true; + } + ); + enableVirtualCamera = true; + + plugins = with pkgs.obs-studio-plugins; [ + obs-pipewire-audio-capture + ]; + }; +}