Update Hyprland

This commit is contained in:
albert 2024-08-21 22:57:05 +09:00
parent 47578e5b60
commit 74f2d20733
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 11 additions and 7 deletions

View file

@ -40,6 +40,9 @@
# Manage Plasma desktop with Nix
plasma-manager.url = "github:pjones/plasma-manager";
plasma-manager.inputs.nixpkgs.follows = "nixpkgs";
# Gnome / KDE-like overview
Hyprspace.url = "github:KZDKM/Hyprspace";
Hyprspace.inputs.hyprland.follows = "nixpkgs";
};
outputs = { self, nixpkgs, sops-nix, deploy-rs, ... } @inputs:
let

View file

@ -1,10 +1,11 @@
{ config, pkgs, ... }: {
{ config, pkgs, inputs, ... }: {
wayland.windowManager.hyprland = {
enable = true;
plugins = with pkgs.hyprlandPlugins; [
# hyprbars
hyprexpo
hy3
plugins = [
# pkgs.hyprlandPlugins.hyprbars
# pkgs.hyprlandPlugins.hyprexpo
# pkgs.hyprlandPlugins.hy3
inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
];
extraConfig = ''
# Resize
@ -56,7 +57,7 @@
border_size = "2";
resize_on_border = "true";
extend_border_grab_area = "15";
layout = "hy3";
layout = "dwindle";
};
input = {
kb_layout = "us";
@ -130,7 +131,7 @@
];
bind = [
''SUPER, , hyprexpo:expo, toggle''
''SUPER,, hyprexpo:expo, toggle''
''SUPER, Q, exec, kitty''
''SUPER, C, killactive,''
''SUPER, M, exit,''