mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 03:27:45 +00:00
Make hyprland work
This commit is contained in:
parent
a489a8e604
commit
99b7ccfadb
4 changed files with 395 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue