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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
./fonts
|
./fonts
|
||||||
./gtk
|
./gtk
|
||||||
./nix
|
./nix
|
||||||
|
./qt
|
||||||
./xdg
|
./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}";
|
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,16 @@
|
||||||
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 {
|
||||||
match app-id="MiscBrowser"
|
match app-id="MiscBrowser"
|
||||||
|
|
|
@ -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 = {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue