diff --git a/modules/home/programs/terminal/zsh/default.nix b/modules/home/programs/terminal/zsh/default.nix index 049f5318..a11af022 100644 --- a/modules/home/programs/terminal/zsh/default.nix +++ b/modules/home/programs/terminal/zsh/default.nix @@ -12,10 +12,14 @@ "history" ]; }; + history = { + append = true; + ignoreAllDups = true; + ignoreSpace = true; + }; initExtra = '' pfetch source ${pkgs.zsh-you-should-use}/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh - setopt HIST_IGNORE_SPACE setopt RM_STAR_WAIT ''; }; diff --git a/modules/home/settings/aliases/default.nix b/modules/home/settings/aliases/default.nix index e106bfa5..c3811e97 100644 --- a/modules/home/settings/aliases/default.nix +++ b/modules/home/settings/aliases/default.nix @@ -8,7 +8,6 @@ # Shortcuts ff = "clear && fastfetch"; - ip = "ip -c"; spotdl = "spotdl --m3u --format opus"; copycat = "wl-copy <"; myip = "curl ifconfig.co"; diff --git a/modules/home/settings/default.nix b/modules/home/settings/default.nix index d8f89c89..65ce55ca 100644 --- a/modules/home/settings/default.nix +++ b/modules/home/settings/default.nix @@ -7,6 +7,7 @@ ./fonts ./gtk ./nix + ./qt ./xdg ]; } diff --git a/modules/home/settings/qt/default.nix b/modules/home/settings/qt/default.nix new file mode 100644 index 00000000..8c32d581 --- /dev/null +++ b/modules/home/settings/qt/default.nix @@ -0,0 +1,7 @@ +{ config, ... }: +{ + qt = { + enable = config.home.desktop.enable; + platformTheme.name = "gtk3"; + }; +} diff --git a/modules/home/user/default.nix b/modules/home/user/default.nix index 0db17300..7bf1fd12 100644 --- a/modules/home/user/default.nix +++ b/modules/home/user/default.nix @@ -5,12 +5,11 @@ homeDirectory = "/home/${config.home.username}"; sessionVariables = { EDITOR = "nvim"; - MANPAGER = "nvim +Man!"; + ELECTRON_OZONE_PLATFORM_HINT = "auto"; LIBVIRT_DEFAULT_URI = "qemu:///system"; - HISTCONTROL = "ignoreboth"; - QT_QPA_PLATFORMTHEME = "gtk3"; - XDG_SCREENSHOTS_DIR = "$XDG_PICTURES_DIR/Screenshots"; + MANPAGER = "nvim +Man!"; NIXPKGS_ALLOW_UNFREE = 1; + XDG_SCREENSHOTS_DIR = "$XDG_PICTURES_DIR/Screenshots"; }; }; } diff --git a/modules/home/wms/niri/rules/default.nix b/modules/home/wms/niri/rules/default.nix index 0ba02374..23c48435 100644 --- a/modules/home/wms/niri/rules/default.nix +++ b/modules/home/wms/niri/rules/default.nix @@ -10,6 +10,16 @@ match app-id="AltBrowser" open-on-workspace "${config.ws.w1a}" } + + // Gaming + window-rule { + match app-id="steam" + open-on-workspace "${config.ws.w2}" + } + window-rule { + match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"# + default-floating-position x=10 y=10 relative-to="bottom-right" + } // Communication window-rule { diff --git a/modules/system/programs/desktops/default.nix b/modules/system/programs/desktops/default.nix index 0b9839d2..aff115c4 100644 --- a/modules/system/programs/desktops/default.nix +++ b/modules/system/programs/desktops/default.nix @@ -7,10 +7,7 @@ xwayland.enable = lib.mkForce true; }; - environment.sessionVariables = { - WLR_RENDERER = "vulkan"; - NIXOS_OZONE_WL = "1"; - }; + environment.sessionVariables.WLR_RENDERER = "vulkan"; services.dbus.enable = true; security.pam.services.swaylock = {};