forked from Shinonome/omarchy-nix
Configuration updates
This commit is contained in:
-13
@@ -22,19 +22,6 @@ lib: {
|
|||||||
default = {};
|
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 {
|
quick_app_bindings = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
description = "A list of single keystroke key bindings to launch common apps.";
|
description = "A list of single keystroke key bindings to launch common apps.";
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.omarchy;
|
cfg = config.omarchy;
|
||||||
@@ -12,7 +13,16 @@ in {
|
|||||||
./looknfeel.nix
|
./looknfeel.nix
|
||||||
./windows.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
|
# Environment variables
|
||||||
env = [
|
env = [
|
||||||
"GDK_SCALE,2" # Change to 1 if on a 1x display
|
"GDK_SCALE,2" # Change to 1 if on a 1x display
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ in {
|
|||||||
userSettings =
|
userSettings =
|
||||||
{
|
{
|
||||||
"workbench.colorTheme" = theme.vscode_theme;
|
"workbench.colorTheme" = theme.vscode_theme;
|
||||||
# "workbench.colorTheme" = "Everforest Dark";
|
|
||||||
"vim.useCtrlKeys" = false;
|
"vim.useCtrlKeys" = false;
|
||||||
"editor.minimap.enabled" = false;
|
"editor.minimap.enabled" = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user