mirror of
https://github.com/henrysipp/omarchy-nix.git
synced 2026-06-05 18:29:26 -05:00
Configuration updates
This commit is contained in:
-13
@@ -22,19 +22,6 @@ lib: {
|
||||
default = {};
|
||||
};
|
||||
|
||||
hyprland_assignments = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
description = "A list of Hyprland assignments to set up window rules.";
|
||||
default = {
|
||||
"$terminal" = "alacritty";
|
||||
"$fileManager" = "nautilus --new-window";
|
||||
"$browser" = "chromium --new-window --ozone-platform=wayland";
|
||||
"$music" = "spotify";
|
||||
"$passwordManager" = "1password";
|
||||
"$messenger" = "signal-desktop";
|
||||
"$webapp" = "$browser --app";
|
||||
};
|
||||
};
|
||||
quick_app_bindings = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
description = "A list of single keystroke key bindings to launch common apps.";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.omarchy;
|
||||
@@ -12,7 +13,16 @@ in {
|
||||
./looknfeel.nix
|
||||
./windows.nix
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = cfg.hyprland_assignments // {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
# Default applications
|
||||
"$terminal" = lib.mkDefault "alacritty";
|
||||
"$fileManager" = lib.mkDefault "nautilus --new-window";
|
||||
"$browser" = lib.mkDefault "chromium --new-window --ozone-platform=wayland";
|
||||
"$music" = lib.mkDefault "spotify";
|
||||
"$passwordManager" = lib.mkDefault "1password";
|
||||
"$messenger" = lib.mkDefault "signal-desktop";
|
||||
"$webapp" = lib.mkDefault "$browser --app";
|
||||
|
||||
# Environment variables
|
||||
env = [
|
||||
"GDK_SCALE,2" # Change to 1 if on a 1x display
|
||||
|
||||
@@ -13,7 +13,6 @@ in {
|
||||
userSettings =
|
||||
{
|
||||
"workbench.colorTheme" = theme.vscode_theme;
|
||||
# "workbench.colorTheme" = "Everforest Dark";
|
||||
"vim.useCtrlKeys" = false;
|
||||
"editor.minimap.enabled" = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user