feat: trying hyprland again

This commit is contained in:
Nick 2025-05-10 16:28:48 -05:00
parent c5fe1e3538
commit cd01d3e40b
11 changed files with 108 additions and 156 deletions

View file

@ -2,6 +2,7 @@
config,
flake,
pkgs,
lib,
...
}:
let
@ -38,6 +39,11 @@ in
workspace4 = "extra";
in
{
# environment = {
# QT_QPA_PLATFORM = "wayland";
# DISPLAY = null;
# };
prefer-no-csd = true;
cursor = {
@ -50,7 +56,7 @@ in
};
spawn-at-startup = [
{ command = [ "swaylock" ]; }
# { command = [ "xwayland-satellite" ]; }
{ command = [ "wl-clipboard" ]; }
{ command = [ "wpaperd" ]; }
{ command = [ "gammastep" ]; }
@ -144,9 +150,9 @@ in
# "Super+Enter".action = niri.toggle-overview;
"Super+1".action = niri.focus-workspace workspace0;
"Super+2".action = niri.focus-workspace workspace1;
"Super+4".action = niri.focus-workspace workspace1;
"Super+3".action = niri.focus-workspace workspace2;
"Super+4".action = niri.focus-workspace workspace3;
"Super+2".action = niri.focus-workspace workspace3;
"Super+5".action = niri.focus-workspace workspace4;
"Super+c".action = niri.focus-column-or-monitor-left;
@ -291,6 +297,7 @@ in
open-on-workspace = workspace3;
}
{
# opacity = 0.90;
clip-to-geometry = true;
focus-ring.enable = false;
geometry-corner-radius =
@ -307,16 +314,22 @@ in
];
layout = {
# always-center-single-column = true;
default-column-width = {
proportion = 0.5;
};
preset-column-widths = [
{ proportion = 1. / 3.; }
{ proportion = 1. / 2.; }
{ proportion = 2. / 3.; }
];
border = {
enable = true;
width = 2;
active.color = makeColour el.base0E;
inactive.color = makeColour el.base02;
};
gaps = 10;
gaps = 5;
shadow = {
enable = true;
color = el.base11;
@ -346,5 +359,9 @@ in
};
};
};
# home.packages = builtins.attrValues {
# inherit (pkgs)
# xwayland-satellite
# ;
# };
}