1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 03:27:45 +00:00

Make hyprland work

This commit is contained in:
RGBCube 2025-01-08 20:54:11 +03:00
parent a489a8e604
commit 99b7ccfadb
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
4 changed files with 395 additions and 8 deletions

View file

@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }: with lib; merge
(desktopSystemConfiguration {
hardware.graphics = enabled;
services.logind.powerKey = "ignore";
xdg.portal = enabled {
@ -9,6 +11,10 @@
extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
];
configPackages = with pkgs; [
hyprland
];
};
programs.xwayland = enabled;
@ -46,7 +52,7 @@
# };
settings = {
monitor = [ ", preferred, auto, 1" ];
monitor = [ ", preferred, auto, 1.5" ];
windowrule = [ "noinitialfocus" ];
windowrulev2 = [ "workspace special silent, initialclass:^(xwaylandvideobridge)$" ];
@ -138,7 +144,7 @@
"SUPER , Z , exec, zulip"
"SUPER , M , exec, thunderbird"
"SUPER , T , exec, thunar"
"SUPER , C , exec, hyprpicker --autocopy"
# "SUPER , C , exec, hyprpicker --autocopy"
" , PRINT, exec, pkill grim; grim -g \"$(slurp -w 0)\" - | swappy -f - -o - | wl-copy --type image/png"
"ALT, PRINT, exec, pkill grim; grim - | swappy -f - -o - | wl-copy --type image/png"
@ -226,7 +232,7 @@
(desktopUserHomePackages (with pkgs; [
brightnessctl
grim
hyprpicker
# hyprpicker
slurp
swappy
swaybg