Test new Hyprland config
This commit is contained in:
parent
48a82ac84c
commit
b5b30442e4
2 changed files with 78 additions and 95 deletions
|
@ -64,6 +64,13 @@ nix develop -c /etc/nixos/git/docs/setup.sh
|
||||||
## Home-Manager
|
## Home-Manager
|
||||||
* [ ] Figure out what the home-manager `account` options are for.
|
* [ ] Figure out what the home-manager `account` options are for.
|
||||||
* [ ] home-manager/common/software/cli/bash.nix - Break this out for theming -- Currently statically set to 'gruvbox'
|
* [ ] home-manager/common/software/cli/bash.nix - Break this out for theming -- Currently statically set to 'gruvbox'
|
||||||
|
* [ ] Redo Hyprland config with Stylix / more nix-centric configuration
|
||||||
|
* [ ] Look at `services.gammastep`
|
||||||
|
* [ ] Look at `wayland.windowManager.hyprland` - [Example](https://github.com/SomeGuyNamedMy/users/blob/master/config/mason/desktop.nix)
|
||||||
|
* [ ] Look at `programs.rofi`
|
||||||
|
* [ ] Look at `programs.waybar`
|
||||||
|
* [ ] Look at `services.udiskie`, `services.mako`, `programs.wlogout`, `services.clipmenu`
|
||||||
|
* [ ] Essentially, move most of the configs to `home-manager` instead of `nixos`
|
||||||
|
|
||||||
## Desktop / GUI
|
## Desktop / GUI
|
||||||
* [ ] Syncthing + Logseq
|
* [ ] Syncthing + Logseq
|
||||||
|
|
|
@ -1,100 +1,76 @@
|
||||||
{ theme, ... }: {
|
{ theme, ... }: {
|
||||||
home.file = {
|
|
||||||
".config/hypr/hyprland.conf" = {
|
|
||||||
enable = true;
|
|
||||||
text = ''
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/
|
|
||||||
env = GDK_SCALE,1
|
|
||||||
env = XCURSOR_SIZE,22
|
|
||||||
|
|
||||||
# unscale XWayland
|
wayland.windowManager.hyprland = {
|
||||||
xwayland {
|
enable = true;
|
||||||
force_zero_scaling = true
|
settings = {
|
||||||
}
|
layerrule = "blur, waybar";
|
||||||
|
xwayland.force_zero_scaling = true;
|
||||||
layerrule = blur, waybar
|
env = "GTK_SCALE,1";
|
||||||
|
env = "XCURSOR_SIZE,22";
|
||||||
# nVidia Speficic Settings:
|
general = {
|
||||||
# https://wiki.hyprland.org/Nvidia/
|
gaps_in = "8";
|
||||||
# env = LIBVA_DRIVER_NAME,nvidia
|
gaps_out = "8";
|
||||||
# env = XDG_SESSION_TYPE,wayland
|
border_size = "2";
|
||||||
# env = GBM_BACKEND,nvidia-drm
|
resize_on_border = "true";
|
||||||
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
extend_border_grab_area = "15";
|
||||||
env = WLR_NO_HARDWARE_CURSORS,1
|
layout = "dwindle";
|
||||||
|
};
|
||||||
general {
|
input = {
|
||||||
gaps_in = 5
|
kb_layout = "us";
|
||||||
gaps_out = 15
|
follow_mouse = "1";
|
||||||
border_size = 3
|
touchpad = {
|
||||||
# First six are color, last 2 are opacity
|
natural_scroll = true;
|
||||||
col.active_border = rgba(2a9b34bb) # Gruvbox fg2, opacity bb
|
disable_while_typing = true;
|
||||||
col.inactive_border = rgba(207427dd) # Gruvbox bg2, opacity aa
|
tap-to-click = true;
|
||||||
resize_on_border = true
|
clickfinger_behavior = true;
|
||||||
extend_border_grab_area = 15
|
drag_lock = true;
|
||||||
layout = dwindle
|
};
|
||||||
}
|
sensitivity = 0;
|
||||||
input {
|
};
|
||||||
kb_layout = us
|
gestures = {
|
||||||
follow_mouse = 1
|
workspace_swipe = true;
|
||||||
touchpad {
|
workspace_swipe_fingers = 3;
|
||||||
natural_scroll = true
|
workspace_swipe_numbered = false;
|
||||||
disable_while_typing = true
|
};
|
||||||
tap-to-click = true
|
misc = {
|
||||||
clickfinger_behavior = true
|
disable_hyprland_logo = true;
|
||||||
drag_lock = true
|
mouse_move_enables_dpms = true;
|
||||||
}
|
key_press_enables_dpms = true;
|
||||||
sensitivity = 0
|
};
|
||||||
}
|
decoration = {
|
||||||
gestures {
|
rounding = 5;
|
||||||
# https://wiki.hyprland.org/0.24.1/Configuring/Keywords/#gestures
|
active_opacity = 0.8;
|
||||||
workspace_swipe = true
|
inactive_opacity = 0.6;
|
||||||
workspace_swipe_fingers = 3
|
fullscreen_opacity = 1.0;
|
||||||
workspace_swipe_numbered = false
|
drop_shadow = true;
|
||||||
}
|
shadow_range = 4;
|
||||||
misc {
|
shadow_render_power = 3;
|
||||||
disable_hyprland_logo = true
|
blur = {
|
||||||
mouse_move_enables_dpms = true
|
size = 8;
|
||||||
key_press_enables_dpms = true
|
passes = 3;
|
||||||
}
|
ignore_opacity = true;
|
||||||
decoration {
|
};
|
||||||
rounding = 5
|
};
|
||||||
active_opacity = 0.8
|
animations = {
|
||||||
inactive_opacity = 0.6
|
# https://wiki.hyprland.org/Configuring/Animations/
|
||||||
fullscreen_opacity = 1.0
|
enabled = true;
|
||||||
drop_shadow = true
|
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
||||||
shadow_range = 4
|
animation = [
|
||||||
shadow_render_power = 3
|
"windows,1,7,myBezier"
|
||||||
col.shadow = rgba(05050500)
|
"windowsOut,1,7,default,popin80%"
|
||||||
blur {
|
"border,1,10,default"
|
||||||
size = 8
|
"borderangle,1,8,default"
|
||||||
passes = 3
|
"fade,1,7,default"
|
||||||
ignore_opacity = true
|
"workspaces,1,6,default"
|
||||||
}
|
];
|
||||||
|
};
|
||||||
}
|
dwindle = {
|
||||||
animations {
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
# https://wiki.hyprland.org/Configuring/Animations/
|
pseudotile = true; # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
enabled = true
|
preserve_split = true;# you probably want this
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
no_gaps_when_only = 1;
|
||||||
animation = windows, 1, 7, myBezier
|
};
|
||||||
animation = windowsOut, 1, 7, default, popin 80%
|
master.new_is_master = true;
|
||||||
animation = border, 1, 10, default
|
|
||||||
animation = borderangle, 1, 8, default
|
|
||||||
animation = fade, 1, 7, default
|
|
||||||
animation = workspaces, 1, 6, default
|
|
||||||
}
|
|
||||||
dwindle {
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
|
||||||
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
||||||
preserve_split = true # you probably want this
|
|
||||||
no_gaps_when_only = 1
|
|
||||||
|
|
||||||
}
|
|
||||||
master {
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
|
||||||
new_is_master = true
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue