upd hyprland & sway

This commit is contained in:
zack 2024-08-21 14:35:32 -04:00
parent 309fa70672
commit 07cf079bd9
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
9 changed files with 107 additions and 22 deletions

View file

@ -20,19 +20,7 @@ in {
programs.spicetify = {
enable = true;
theme = spicePkgs.themes.catppuccin;
spotifyPackage = pkgs.spotify.overrideAttrs {
fixupPhase = ''
runHook preFixup
wrapProgramShell $out/share/spotify/spotify \
''${gappsWrapperArgs[@]} \
--prefix LD_LIBRARY_PATH : "$librarypath" \
--prefix PATH : "${pkgs.gnome.zenity}/bin" \
--add-flags "--disable-gpu"
runHook postFixup
'';
};
spotifyPackage = pkgs.spotify;
colorScheme = "mocha";
enabledExtensions = with spicePkgs.extensions; [

View file

@ -15,6 +15,11 @@ in {
config = mkIf cfg.enable {
programs.foot = {
enable = true;
settings = {
colors = {
alpha = "0.9";
};
};
};
};
}

View file

@ -0,0 +1,59 @@
{
lib,
config,
pkgs,
...
}:
with lib;
with lib.custom; let
cfg = config.apps.term.rio;
in {
options.apps.term.rio = with types; {
enable = mkBoolOpt false "Enable Rio Terminal";
};
config = mkIf cfg.enable {
programs.rio = {
enable = true;
settings = {
window = {
opacity = 0.9;
blur = true;
};
padding-x = 10;
padding-y = [10 10];
navigation = {
mode = "Plain";
};
fonts = {
regular = {
family = "Iosevka";
style = "normal";
weight = 700;
};
bold = {
family = "Iosevka";
style = "normal";
weight = 800;
};
italic = {
family = "Iosevka";
style = "italic";
weight = 700;
};
bold-italic = {
family = "Iosevka";
style = "italic";
weight = 800;
};
};
};
};
};
}

View file

@ -41,16 +41,16 @@ in {
config = mkIf cfg.enable {
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
# xwayland.enable = true;
# package = inputs.hyprland.packages.${system}.default;
systemd = {
enable = true;
# variables = ["--all"];
# extraCommands = [
# "systemctl --user stop graphical-session.target"
# "systemctl --user start hyprland-session.target"
# ];
variables = ["--all"];
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
};

View file

@ -31,6 +31,8 @@ in {
menu = "killall anyrun || anyrun";
modifier = "Mod4";
input = {
"Logitech USB Receiver Keyboard" = {
accel_profile = "flat";

View file

@ -16,7 +16,6 @@ in {
config = mkIf cfg.enable {
environment.etc."greetd/environments".text = ''
Hyprland
sway
'';
@ -35,7 +34,7 @@ in {
environment = {
variables = {
# NIXOS_OZONE_WL = "1";
NIXOS_OZONE_WL = "1";
__GL_GSYNC_ALLOWED = "0";
__GL_VRR_ALLOWED = "0";
_JAVA_AWT_WM_NONEREPARENTING = "1";