feat: merge hyprland configs, make it more of my own :3

This commit is contained in:
EinEtwas 2024-10-14 18:55:05 +02:00
parent 3fc11d51fb
commit 79d0d28826

View file

@ -8,7 +8,8 @@
xwayland.enable = true; xwayland.enable = true;
settings = { settings = {
monitor = ",highres,auto,auto"; monitor = "eDP-1, 2880x1920@75, 0x0, 1.5
monitor = DP-4, 1920x1080@60, 0x0, 1, mirror, eDP-1";
input = { input = {
kb_layout = "de"; kb_layout = "de";
@ -18,12 +19,12 @@
kb_rules = ""; kb_rules = "";
follow_mouse = 1; follow_mouse = 1;
touchpad = { sensitivity = 0.3; # -1.0 - 1.0, 0 means no modification.
natural_scroll = false;
disable_while_typing = false;
};
sensitivity = 0; touchpad = {
natural_scroll = true;
scroll_factor = 0.8;
};
}; };
# cursor = { # cursor = {
@ -32,9 +33,15 @@
general = { general = {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5; gaps_in = 1;
gaps_out = 10; gaps_out = 5;
border_size = 2; border_size = 1;
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
"col.inactive_border" = "rgba(595959aa)";
layout = "dwindle"; layout = "dwindle";
}; };
@ -70,10 +77,8 @@
}; };
misc = { misc = {
disable_hyprland_logo = true; disable_hyprland_logo = false;
mouse_move_enables_dpms = true; force_default_wallpaper = -1;
new_window_takes_over_fullscreen = 2;
key_press_enables_dpms = true;
vrr = 1; vrr = 1;
}; };
@ -102,27 +107,19 @@
"$mod" = "SUPER"; "$mod" = "SUPER";
bind = let bind = let
#wlogout = lib.getExe pkgs.wlogout;
#wofi = lib.getExe pkgs.wofi;
alacritty = lib.getExe pkgs.alacritty; alacritty = lib.getExe pkgs.alacritty;
#firefox = lib.getExe pkgs.firefox; chrome = lib.getExe pkgs.google-chrome;
#thunar = lib.getExe pkgs.xfce.thunar;
#grimblast = lib.getExe inputs.hyprwm-contrib.packages.${pkgs.system}.grimblast;
workspaces = ["1" "2" "3" "4" "5" "6" "7" "8" "9"]; workspaces = ["1" "2" "3" "4" "5" "6" "7" "8" "9"];
in in
[ [
"$mod,M,exit," # Main binds
"$mod,Return,exec,${alacritty}" "$mod SHIFT,M,exit,"
"$mod,Q,killactive," "$mod,Q,exec,${alacritty}"
#"$mod SHIFT,W,exec,${firefox}" "$mod,W,killactive,"
#"$mod,E,exec,${thunar}"
"$mod,V,togglefloating," "$mod,V,togglefloating,"
#"$mod,D,exec,pkill wofi || ${wofi} -S drun"
"$mod,P,pseudo," "$mod,P,pseudo,"
"$mod,J,togglesplit," "$mod,J,togglesplit,"
#"$mod,escape,exec,pkill wlogout || ${wlogout} -p layer-shell"
"$mod,F,fullscreen" "$mod,F,fullscreen"
#"$mod,K,exec,${pkgs.wofi-hyprkeys}/bin/wofi-hyprkeys"
"$mod, left, movefocus, l" "$mod, left, movefocus, l"
"$mod, right, movefocus, r" "$mod, right, movefocus, r"
@ -156,6 +153,9 @@
"CTRL,Print,exec,grimblast --notify copy area" "CTRL,Print,exec,grimblast --notify copy area"
"CTRL SHIFT,Print,exec,grimblast --notify save area" "CTRL SHIFT,Print,exec,grimblast --notify save area"
"$mod, 0, workspace, 10"
"$mod SHIFT, 0, movetoworkspacesilent, 10"
] ]
++ (map (n: "$mod,${n},workspace,${n}") workspaces) ++ (map (n: "$mod,${n},workspace,${n}") workspaces)
++ (map (n: "$mod SHIFT,${n},movetoworkspacesilent,${n}") workspaces); ++ (map (n: "$mod SHIFT,${n},movetoworkspacesilent,${n}") workspaces);