Standardize QT and ZSH history settings

This commit is contained in:
Bun 2025-03-27 22:50:51 -04:00
parent 9dbf18228b
commit a25bcecf7b
7 changed files with 27 additions and 10 deletions

View file

@ -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
'';
};

View file

@ -8,7 +8,6 @@
# Shortcuts
ff = "clear && fastfetch";
ip = "ip -c";
spotdl = "spotdl --m3u --format opus";
copycat = "wl-copy <";
myip = "curl ifconfig.co";

View file

@ -7,6 +7,7 @@
./fonts
./gtk
./nix
./qt
./xdg
];
}

View file

@ -0,0 +1,7 @@
{ config, ... }:
{
qt = {
enable = config.home.desktop.enable;
platformTheme.name = "gtk3";
};
}

View file

@ -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";
};
};
}

View file

@ -11,6 +11,16 @@
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 {
match app-id="MiscBrowser"

View file

@ -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 = {};