From aa841666f5ea65e40ff114decfc960c4859981a9 Mon Sep 17 00:00:00 2001 From: zackartz Date: Thu, 29 Feb 2024 22:31:06 -0500 Subject: [PATCH] 46 current 2024-02-29 22:31:03 24.05.20240228.9099616 6.6.18 * --- hosts/earth/configuration.nix | 1 - modules/home-manager/default.nix | 2 + modules/rice/hyprland/binds.nix | 2 +- modules/rice/hyprland/config.nix | 85 +++++++++++++++---------------- modules/rice/hyprland/default.nix | 2 +- modules/shell/default.nix | 2 +- 6 files changed, 47 insertions(+), 47 deletions(-) diff --git a/hosts/earth/configuration.nix b/hosts/earth/configuration.nix index 670ca6e..ac63a75 100644 --- a/hosts/earth/configuration.nix +++ b/hosts/earth/configuration.nix @@ -1,7 +1,6 @@ # Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). - { config, pkgs, diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 691cc96..af4a469 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -53,6 +53,8 @@ pkgs.spotify pkgs.neovide pkgs.wofi + pkgs.alejandra + pkgs.dconf # # You can also create simple shell scripts directly inside your # # configuration. For example, this adds a command 'my-hello' to your diff --git a/modules/rice/hyprland/binds.nix b/modules/rice/hyprland/binds.nix index e6fff9e..44a2dbe 100644 --- a/modules/rice/hyprland/binds.nix +++ b/modules/rice/hyprland/binds.nix @@ -25,7 +25,7 @@ in { [ ''${mod},RETURN,exec,kitty'' - "${mod},R,exec,wofi" + "${mod},D,exec,wofi -show drun" "${mod},Q,killactive" "${mod},P,pseudo" diff --git a/modules/rice/hyprland/config.nix b/modules/rice/hyprland/config.nix index 9c26a47..57f4f1f 100644 --- a/modules/rice/hyprland/config.nix +++ b/modules/rice/hyprland/config.nix @@ -1,56 +1,55 @@ # home.nix { wayland.windowManager.hyprland.settings = { - exec-once = [ - "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" - ]; + exec-once = [ + "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" + ]; - general = { - # gaps - gaps_in = 6; - gaps_out = 11; + general = { + # gaps + gaps_in = 6; + gaps_out = 11; - # border thiccness - border_size = 2; + # border thiccness + border_size = 2; + # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse) + apply_sens_to_raw = 0; + }; - # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse) - apply_sens_to_raw = 0; + input = { + kb_layout = "us"; + sensitivity = 0; # -1.0 - 1.0, 0 means no modification. + accel_profile = "flat"; + force_no_accel = true; + }; + + decoration = { + # fancy corners + rounding = 7; + # blur + blur = { + enabled = true; + size = 3; + passes = 3; + ignore_opacity = false; + new_optimizations = 1; + xray = true; + contrast = 0.7; + brightness = 0.8; }; - input = { -kb_layout = "us"; -sensitivity = 0; # -1.0 - 1.0, 0 means no modification. -accel_profile = "flat"; -force_no_accel = true; -}; + # shadow config + drop_shadow = "no"; + shadow_range = 20; + shadow_render_power = 5; + "col.shadow" = "rgba(292c3cee)"; + }; - decoration = { - # fancy corners - rounding = 7; - # blur - blur = { - enabled = true; - size = 3; - passes = 3; - ignore_opacity = false; - new_optimizations = 1; - xray = true; - contrast = 0.7; - brightness = 0.8; - }; + xwayland = { + force_zero_scaling = true; + }; - # shadow config - drop_shadow = "no"; - shadow_range = 20; - shadow_render_power = 5; - "col.shadow" = "rgba(292c3cee)"; - }; - - xwayland = { - force_zero_scaling = true; - }; - - monitor = "DP-1,2560x1440@240,0x0,1"; + monitor = "DP-1,2560x1440@240,0x0,1"; }; } diff --git a/modules/rice/hyprland/default.nix b/modules/rice/hyprland/default.nix index 0d87aaf..6065a5a 100644 --- a/modules/rice/hyprland/default.nix +++ b/modules/rice/hyprland/default.nix @@ -4,7 +4,7 @@ inputs, ... }: { -imports = [./config.nix ./binds.nix]; + imports = [./config.nix ./binds.nix]; wayland.windowManager.hyprland = { enable = true; package = inputs.hyprland.packages.${pkgs.system}.default; diff --git a/modules/shell/default.nix b/modules/shell/default.nix index ed9c506..b022bf5 100644 --- a/modules/shell/default.nix +++ b/modules/shell/default.nix @@ -1,3 +1,3 @@ { -imports = [ ./zsh/default.nix ]; + imports = [./zsh/default.nix]; }