mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 12:10:45 +02:00
main monitor config option
This commit is contained in:
@@ -39,9 +39,12 @@
|
||||
# your public ssh key
|
||||
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKxyiqawA95AlLjXGd99sQCVR2rDq2/D7PG/vz7sZv5G";
|
||||
|
||||
mainMonitor = "DP-1";
|
||||
|
||||
pathConfig = {
|
||||
wallpaper = "Obrazy/tapety/catppuccin";
|
||||
};
|
||||
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ lib, isNixOS, ... }:
|
||||
{
|
||||
lib,
|
||||
isNixOS,
|
||||
userConfig,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
programs.ashell = {
|
||||
@@ -6,7 +11,7 @@
|
||||
package = lib.mkIf (!isNixOS) null;
|
||||
settings = {
|
||||
outputs = {
|
||||
Targets = [ "DP-1" ];
|
||||
Targets = [ userConfig.mainMonitor ];
|
||||
};
|
||||
position = "Bottom";
|
||||
modules = {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
pkgs,
|
||||
isNixOS,
|
||||
userConfig,
|
||||
...
|
||||
}:
|
||||
|
||||
@@ -22,9 +23,7 @@
|
||||
reload_style_on_change = true;
|
||||
width = 70;
|
||||
output = [
|
||||
"DP-1"
|
||||
"eDP-1"
|
||||
"LVDS-1"
|
||||
userConfig.mainMonitor
|
||||
];
|
||||
|
||||
modules-left = [
|
||||
|
||||
Reference in New Issue
Block a user