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