mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 15:15:52 +05:30
Moved some x11 programs out of wayland
This commit is contained in:
parent
7cf0aa41f5
commit
4e31ec799f
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, theme, font, fontPkg, ... }:
|
{ config, lib, pkgs, theme, font, fontPkg, wmType, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
themePath = "../../../themes"+("/"+theme+"/"+theme)+".yaml";
|
themePath = "../../../themes"+("/"+theme+"/"+theme)+".yaml";
|
||||||
|
@ -35,7 +35,7 @@ in
|
||||||
};
|
};
|
||||||
sizes = {
|
sizes = {
|
||||||
terminal = 18;
|
terminal = 18;
|
||||||
applications = 14;
|
applications = 12;
|
||||||
popups = 12;
|
popups = 12;
|
||||||
desktop = 12;
|
desktop = 12;
|
||||||
};
|
};
|
||||||
|
@ -44,9 +44,8 @@ in
|
||||||
stylix.targets.alacritty.enable = true;
|
stylix.targets.alacritty.enable = true;
|
||||||
stylix.targets.kitty.enable = true;
|
stylix.targets.kitty.enable = true;
|
||||||
stylix.targets.gtk.enable = true;
|
stylix.targets.gtk.enable = true;
|
||||||
stylix.targets.rofi.enable = true;
|
stylix.targets.rofi.enable = if (wmType == "x11") then true else false;
|
||||||
programs.rofi.enable = true;
|
stylix.targets.feh.enable = if (wmType == "x11") then true else false;
|
||||||
stylix.targets.feh.enable = true;
|
|
||||||
programs.feh.enable = true;
|
programs.feh.enable = true;
|
||||||
home.file.".fehbg-stylix".text = ''
|
home.file.".fehbg-stylix".text = ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
|
@ -63,6 +63,9 @@
|
||||||
executable = true;
|
executable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.feh.enable = true;
|
||||||
|
programs.rofi.enable = true;
|
||||||
|
|
||||||
services.autorandr.enable = true;
|
services.autorandr.enable = true;
|
||||||
programs.autorandr.enable = true;
|
programs.autorandr.enable = true;
|
||||||
programs.autorandr.profiles = {
|
programs.autorandr.profiles = {
|
||||||
|
|
|
@ -844,6 +844,9 @@ In order to have Nix put my xmonad/xmobar configuration in the proper places, I
|
||||||
executable = true;
|
executable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.feh.enable = true;
|
||||||
|
programs.rofi.enable = true;
|
||||||
|
|
||||||
services.autorandr.enable = true;
|
services.autorandr.enable = true;
|
||||||
programs.autorandr.enable = true;
|
programs.autorandr.enable = true;
|
||||||
programs.autorandr.profiles = {
|
programs.autorandr.profiles = {
|
||||||
|
|
Loading…
Reference in a new issue