Enable dependent on WM
This commit is contained in:
parent
e515e87c7f
commit
1c7a0c7dbe
@ -1,6 +1,6 @@
|
|||||||
{ pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
services.polybar = {
|
services.polybar = {
|
||||||
enable = true;
|
enable = config.xsession.windowManager.i3.enable;
|
||||||
config = {
|
config = {
|
||||||
"bar/top" = {
|
"bar/top" = {
|
||||||
monitor = "\${env:MONITOR:}";
|
monitor = "\${env:MONITOR:}";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ ... }: {
|
{ config, ... }: {
|
||||||
services.redshift = {
|
services.redshift = {
|
||||||
enable = true;
|
enable = config.xsession.windowManager.i3.enable;
|
||||||
longitude = "49.01315";
|
longitude = "49.01315";
|
||||||
latitude = "12.1119";
|
latitude = "12.1119";
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = config.wayland.windowManager.sway.enable;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
|
Loading…
Reference in New Issue
Block a user