Run alejandra

This commit is contained in:
ItsDrike 2024-07-27 01:07:07 +02:00
parent 286920def4
commit c00134da1c
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
152 changed files with 827 additions and 721 deletions

View file

@ -10,4 +10,3 @@
};
};
}

View file

@ -1,7 +1,4 @@
{
osConfig,
...
}: let
{osConfig, ...}: let
cfg = osConfig.myOptions.home-manager.wms.hyprland;
in {
wayland.windowManager.hyprland.settings = {
@ -29,4 +26,3 @@ in {
monitor = cfg.monitor;
};
}

View file

@ -1,4 +1,8 @@
{ config, osConfig, ... }: let
{
config,
osConfig,
...
}: let
cfgPreferences = osConfig.myOptions.home-manager.preferences;
in {
wayland.windowManager.hyprland = {
@ -15,13 +19,13 @@ in {
"$SCREENSHOT_DELAY" = "2000";
bind = [
#
#
# Active window
#
"SUPER, W, killactive,"
"SUPER, F, togglefloating,"
"SUPER, Space, fullscreen, 0"
"SUPER_SHIFT, Space, fullscreen, 1" # maximize
"SUPER_SHIFT, Space, fullscreen, 1" # maximize
"CTRL_SHIFT, Space, exec, toggle-fake-fullscreen" # fake fullscreen + custom border
"SUPER_SHIFT, S, layoutmsg, togglesplit"
@ -191,7 +195,6 @@ in {
# Global keybinds (passing keys to other programs)
#
"CTRL, F10, pass, ^(com\.obsproject\.Studio)$"
];
# Mouse bindings

View file

@ -1,6 +1,6 @@
{
wayland.windowManager.hyprland.settings = {
general.layout = "dwindle";
general.layout = "dwindle";
dwindle = {
# Don't change the split (side/top) regardless of what happens to the container

View file

@ -9,7 +9,7 @@
focus_on_activate = true;
# Auto-reload is unnecessary on NixOS, config is readonly
disable_autoreload = true;
disable_autoreload = true;
# Enable DPMS on these actions
mouse_move_enables_dpms = true;

View file

@ -1,10 +1,5 @@
{
config,
...
}:
{
{config, ...}: {
wayland.windowManager.hyprland.settings = {
#
# Window gaps
#
@ -34,12 +29,12 @@
group = {
# Groupped windows
"col.border_active" = "rgba(00A500FF)"; # green
"col.border_inactive" = "rgba(5AA500FF)"; # transparent green
"col.border_active" = "rgba(00A500FF)"; # green
"col.border_inactive" = "rgba(5AA500FF)"; # transparent green
# Locked groupped windows
"col.border_locked_active" = "rgba(A0A500FF)"; # yellow
"col.border_locked_inactive" = "rgba(A0A500AA)"; # transparent yellow
"col.border_locked_active" = "rgba(A0A500FF)"; # yellow
"col.border_locked_inactive" = "rgba(A0A500AA)"; # transparent yellow
};
#
@ -52,7 +47,7 @@
render_titles = false; # disable, looks kinda bad
font_family = "Monaspace Krypton";
font_size = 11;
text_color = "rgba(FFFFFFFF)"; # white
text_color = "rgba(FFFFFFFF)"; # white
# Gradients should be enabled only if title rendering is also enabled
# on their own, they look really bad
@ -81,7 +76,6 @@
"col.shadow_inactive" = "rgba(0F0F0F99)";
};
#
# Window Blur
#
@ -92,7 +86,6 @@
passes = 1;
};
#
# Dim inactive windows
#
@ -107,7 +100,7 @@
#
# Animation
#
animations = {
enabled = true;
first_launch_animation = true; # fade in on first launch
@ -124,4 +117,3 @@
misc.animate_manual_resizes = true;
};
}

View file

@ -109,4 +109,3 @@
];
};
}

View file

@ -6,7 +6,7 @@
}: let
inherit (lib) mkIf;
hyprPkgs = (import ./packages {inherit pkgs;});
hyprPkgs = import ./packages {inherit pkgs;};
# TODO: Switch to flake
hyprlandPkg = pkgs.hyprland;
@ -15,7 +15,7 @@
cfg = osConfig.myOptions.home-manager.wms.hyprland;
in {
imports = [
./config
./config
];
config = mkIf cfg.enable {

View file

@ -1,4 +1,4 @@
{pkgs, ...}:
pkgs.writeShellScriptBin "brightness" ''
${builtins.readFile ./brightness.sh}
''
pkgs.writeShellScriptBin "brightness" ''
${builtins.readFile ./brightness.sh}
''

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: let
{pkgs, ...}: let
packages = {
hyprland-move-window = pkgs.callPackage ./hyprland-move-window {};
brightness = pkgs.callPackage ./brightness {};

View file

@ -1,5 +1,4 @@
{pkgs, ...}:
pkgs.writeShellScriptBin "hyprland-move-window" ''
${builtins.readFile ./hyprland-move-window.sh}
''
pkgs.writeShellScriptBin "hyprland-move-window" ''
${builtins.readFile ./hyprland-move-window.sh}
''

View file

@ -13,4 +13,3 @@ pkgs.writeShellApplication {
${builtins.readFile ./quick-record.sh}
'';
}

View file

@ -10,5 +10,3 @@ pkgs.writeShellApplication {
${builtins.readFile ./toggle-fake-fullscreen.sh}
'';
}

View file

@ -10,6 +10,3 @@ pkgs.writeShellApplication {
${builtins.readFile ./toggle-notifications.sh}
'';
}