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"
]; ];
}; };
history = {
append = true;
ignoreAllDups = true;
ignoreSpace = true;
};
initExtra = '' initExtra = ''
pfetch pfetch
source ${pkgs.zsh-you-should-use}/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh 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 setopt RM_STAR_WAIT
''; '';
}; };

View file

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

View file

@ -7,6 +7,7 @@
./fonts ./fonts
./gtk ./gtk
./nix ./nix
./qt
./xdg ./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}"; homeDirectory = "/home/${config.home.username}";
sessionVariables = { sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
MANPAGER = "nvim +Man!"; ELECTRON_OZONE_PLATFORM_HINT = "auto";
LIBVIRT_DEFAULT_URI = "qemu:///system"; LIBVIRT_DEFAULT_URI = "qemu:///system";
HISTCONTROL = "ignoreboth"; MANPAGER = "nvim +Man!";
QT_QPA_PLATFORMTHEME = "gtk3";
XDG_SCREENSHOTS_DIR = "$XDG_PICTURES_DIR/Screenshots";
NIXPKGS_ALLOW_UNFREE = 1; NIXPKGS_ALLOW_UNFREE = 1;
XDG_SCREENSHOTS_DIR = "$XDG_PICTURES_DIR/Screenshots";
}; };
}; };
} }

View file

@ -10,6 +10,16 @@
match app-id="AltBrowser" match app-id="AltBrowser"
open-on-workspace "${config.ws.w1a}" 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 // Communication
window-rule { window-rule {

View file

@ -7,10 +7,7 @@
xwayland.enable = lib.mkForce true; xwayland.enable = lib.mkForce true;
}; };
environment.sessionVariables = { environment.sessionVariables.WLR_RENDERER = "vulkan";
WLR_RENDERER = "vulkan";
NIXOS_OZONE_WL = "1";
};
services.dbus.enable = true; services.dbus.enable = true;
security.pam.services.swaylock = {}; security.pam.services.swaylock = {};