From a46bdb5073cc241ec1ac631627edda48a802ad02 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 21 Apr 2024 06:40:55 +0100 Subject: [PATCH] swaybg set mode to fill, sway set steam windows to tabbed Vanguard: only show waybar on primary monitor --- home/sway/default.nix | 16 ++++++++++------ hosts/Vanguard/home.nix | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/home/sway/default.nix b/home/sway/default.nix index 1de21047..975bc7f4 100644 --- a/home/sway/default.nix +++ b/home/sway/default.nix @@ -85,7 +85,7 @@ }; startup = [ {command = "${pkgs.swaynotificationcenter}/bin/swaync";} - {command = "${pkgs.swaybg}/bin/swaybg -i ${../../wallpapers/waves/cat-waves.png}";} + {command = "${pkgs.swaybg}/bin/swaybg -m fill -i ${../../wallpapers/waves/cat-waves.png}";} {command = "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";} {command = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n";} ]; @@ -93,24 +93,28 @@ border = 1; commands = [ { - command = "floating enable"; criteria = {app_id = "org.kde.polkit-kde-authentication-agent-1";}; + command = "floating enable"; } { - command = "floating enable"; criteria = {app_id = "Pinentry";}; + command = "floating enable"; } { - command = "floating enable"; criteria = {app_id = "pavucontrol";}; + command = "floating enable"; } { - command = "floating enable"; criteria = {app_id = ".blueman-manager-wrapped";}; + command = "floating enable"; } { - command = "floating enable"; criteria = {app_id = "nm-connection-editor";}; + command = "floating enable"; + } + { + criteria = {class = "steam";}; + command = "layout tabbed"; } ]; }; diff --git a/hosts/Vanguard/home.nix b/hosts/Vanguard/home.nix index 6b218c3c..df0bbeae 100644 --- a/hosts/Vanguard/home.nix +++ b/hosts/Vanguard/home.nix @@ -12,4 +12,5 @@ }; }; }; + programs.waybar.settings.main.output = ["DP-2"]; }