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