mirror of
https://github.com/blahai/nyx.git
synced 2025-06-08 01:43:01 -04:00
more hypr stuffies and whatnot
This commit is contained in:
parent
8235c282d9
commit
a7f53fad26
7 changed files with 37 additions and 30 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, inputs, ... }: {
|
||||
{ pkgs, config, inputs, lib, ... }: {
|
||||
|
||||
imports = [
|
||||
./hyprland/rules.nix
|
||||
|
@ -8,8 +8,6 @@
|
|||
../ags/default.nix
|
||||
];
|
||||
|
||||
# apparently hyprcursor doesn't work with hm?
|
||||
environment.systemPackages = [ pkgs.hyprcursor ];
|
||||
home.packages = with pkgs; [
|
||||
hyprshot
|
||||
hyprpicker
|
||||
|
@ -25,7 +23,8 @@
|
|||
mpvpaper
|
||||
];
|
||||
|
||||
home.file."~/.config/hypr/colors.conf" = {
|
||||
|
||||
home.file."~/.config/hypr/hyprland/colors.conf" = {
|
||||
text = ''
|
||||
general {
|
||||
col.active_border = rgba(DFE2EF39)
|
||||
|
@ -38,21 +37,28 @@
|
|||
|
||||
windowrulev2 = bordercolor rgba(ADC6FFAA) rgba(ADC6FF77),pinned:1
|
||||
'';
|
||||
checkPhase = ''
|
||||
if [ -f "$out" ]; then
|
||||
echo "File already exists, skipping creation"
|
||||
exit 0
|
||||
fi
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
configPackages = [ config.wayland.windowManager.hyprland.package ];
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
|
||||
];
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||
|
||||
settings = {
|
||||
source = [
|
||||
"~/.config/hypr/hyprland/colors.conf"
|
||||
];
|
||||
|
||||
monitor = [
|
||||
",prefered,auto,1"
|
||||
];
|
||||
|
@ -110,7 +116,7 @@
|
|||
drop_shadow = true;
|
||||
shadow_ignore_window = true;
|
||||
shadow_range = 20;
|
||||
shadow_offset = 0 2;
|
||||
shadow_offset = "0 2";
|
||||
shadow_render_power = 4;
|
||||
"col.shadow" = "rgba(0000002A)";
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"Super, Q, exec, ${pkgs.foot}/bin/foot"
|
||||
"Super, C, killactive"
|
||||
"Super, V, togglefloating"
|
||||
"Super, E, exec, ${pkgs.gnome.nautilus} --new-window"
|
||||
"Super, E, exec, ${pkgs.nautilus} --new-window"
|
||||
|
||||
# This horror of a mess is from having more than 10 workspaces and I'm very much considering just removing this shit
|
||||
] ++ map (n: "Alt, ${toString n}, exec, ~/.config/ags/scripts/hyprland/workspace_adction.sh movetoworkspacesilent ${toString (
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
};
|
||||
|
||||
backgruond = {
|
||||
color = "rgba(000000FF)"
|
||||
color = "rgba(000000FF)";
|
||||
};
|
||||
|
||||
input-field = [{
|
||||
|
@ -39,7 +39,7 @@
|
|||
font_size = "65";
|
||||
font_family = "Rubik Light";
|
||||
|
||||
position = "0, 300"
|
||||
position = "0, 300";
|
||||
}
|
||||
|
||||
{ # Greeting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue