Moved some x11 programs out of wayland

This commit is contained in:
Emmet 2023-08-14 19:03:43 -05:00
parent 7cf0aa41f5
commit 4e31ec799f
3 changed files with 10 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, theme, font, fontPkg, ... }:
{ config, lib, pkgs, theme, font, fontPkg, wmType, ... }:
let
themePath = "../../../themes"+("/"+theme+"/"+theme)+".yaml";
@ -35,7 +35,7 @@ in
};
sizes = {
terminal = 18;
applications = 14;
applications = 12;
popups = 12;
desktop = 12;
};
@ -44,9 +44,8 @@ in
stylix.targets.alacritty.enable = true;
stylix.targets.kitty.enable = true;
stylix.targets.gtk.enable = true;
stylix.targets.rofi.enable = true;
programs.rofi.enable = true;
stylix.targets.feh.enable = true;
stylix.targets.rofi.enable = if (wmType == "x11") then true else false;
stylix.targets.feh.enable = if (wmType == "x11") then true else false;
programs.feh.enable = true;
home.file.".fehbg-stylix".text = ''
#!/bin/sh

View file

@ -63,6 +63,9 @@
executable = true;
};
programs.feh.enable = true;
programs.rofi.enable = true;
services.autorandr.enable = true;
programs.autorandr.enable = true;
programs.autorandr.profiles = {

View file

@ -844,6 +844,9 @@ In order to have Nix put my xmonad/xmobar configuration in the proper places, I
executable = true;
};
programs.feh.enable = true;
programs.rofi.enable = true;
services.autorandr.enable = true;
programs.autorandr.enable = true;
programs.autorandr.profiles = {