Standardize QT and ZSH history settings
This commit is contained in:
parent
9dbf18228b
commit
a25bcecf7b
7 changed files with 27 additions and 10 deletions
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
# Shortcuts
|
||||
ff = "clear && fastfetch";
|
||||
ip = "ip -c";
|
||||
spotdl = "spotdl --m3u --format opus";
|
||||
copycat = "wl-copy <";
|
||||
myip = "curl ifconfig.co";
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
./fonts
|
||||
./gtk
|
||||
./nix
|
||||
./qt
|
||||
./xdg
|
||||
];
|
||||
}
|
||||
|
|
7
modules/home/settings/qt/default.nix
Normal file
7
modules/home/settings/qt/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
qt = {
|
||||
enable = config.home.desktop.enable;
|
||||
platformTheme.name = "gtk3";
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue