mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 10:45:49 +02:00
Waybar here i come (#58)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# Hyprland is a dynamic tiling Wayland compositor that is highly customizable and performant.
|
||||
{
|
||||
pkgs-unstable,
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
@@ -19,51 +20,52 @@ in {
|
||||
./animations.nix
|
||||
./bindings.nix
|
||||
./polkitagent.nix
|
||||
./keyboard-backlight.nix # CHANGEME: This is for omen laptop only
|
||||
./hyprpaper.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
libsForQt5.qt5ct
|
||||
qt6Packages.qt6ct
|
||||
xcb-util-cursor
|
||||
libxcb
|
||||
hyprland-qtutils
|
||||
adw-gtk3
|
||||
hyprshot
|
||||
hyprpicker
|
||||
swappy
|
||||
imv
|
||||
wf-recorder
|
||||
wlr-randr
|
||||
brightnessctl
|
||||
gnome-themes-extra
|
||||
dconf
|
||||
wayland-utils
|
||||
wayland-protocols
|
||||
];
|
||||
home.packages =
|
||||
(with pkgs-unstable; [
|
||||
qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
hyprland-qtutils
|
||||
])
|
||||
++ (with pkgs; [
|
||||
libsForQt5.qt5ct
|
||||
qt6Packages.qt6ct
|
||||
xcb-util-cursor
|
||||
papirus-icon-theme
|
||||
material-icons
|
||||
material-design-icons
|
||||
material-symbols
|
||||
libxcb
|
||||
adw-gtk3
|
||||
hyprshot
|
||||
hyprpicker
|
||||
satty
|
||||
imv
|
||||
wf-recorder
|
||||
brightnessctl
|
||||
gnome-themes-extra
|
||||
dconf
|
||||
wayland-utils
|
||||
wayland-protocols
|
||||
]);
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
configType = "hyprlang";
|
||||
xwayland.enable = true;
|
||||
systemd = {
|
||||
enable = false;
|
||||
variables = [
|
||||
"--all"
|
||||
]; # https://wiki.hyprland.org/Nix/Hyprland-on-Home-Manager/#programs-dont-work-in-systemd-services-but-do-on-the-terminal
|
||||
};
|
||||
systemd.enable = false;
|
||||
package = null;
|
||||
portalPackage = null;
|
||||
|
||||
settings = {
|
||||
exec-once = [
|
||||
"dbus-update-activation-environment --systemd --all &"
|
||||
monitor = [
|
||||
",preferred,auto,1" # default
|
||||
];
|
||||
|
||||
monitor = [
|
||||
",prefered,auto,1" # default
|
||||
exec-once = [
|
||||
"systemctl --user start app-com.mitchellh.ghostty.service"
|
||||
];
|
||||
|
||||
env = [
|
||||
@@ -84,7 +86,6 @@ in {
|
||||
|
||||
cursor = {
|
||||
no_hardware_cursors = true;
|
||||
default_monitor = "eDP-2";
|
||||
};
|
||||
|
||||
general = {
|
||||
@@ -122,6 +123,11 @@ in {
|
||||
|
||||
gesture = "3, horizontal, workspace";
|
||||
|
||||
layerrule = [
|
||||
"match:namespace launcher, animation popin 70%"
|
||||
"match:namespace swaync-control-center, animation slide right"
|
||||
];
|
||||
|
||||
windowrule = [
|
||||
"match:class .*, suppress_event maximize"
|
||||
"match:class helium, suppress_event fullscreen"
|
||||
@@ -168,4 +174,20 @@ in {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
qt.enable = true;
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
XDG_ICON_DIR = "${pkgs.papirus-icon-theme}/share/icons/Papirus";
|
||||
QS_ICON_THEME = "Papirus";
|
||||
QT_STYLE_OVERRIDE = lib.mkForce "Fusion";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user