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