The big variable overhaul

This commit is contained in:
Jimbo 2024-09-23 16:22:01 -04:00
parent 3f0a235dc8
commit 6dab8fc029
36 changed files with 269 additions and 326 deletions

View file

@ -1,4 +1,4 @@
{config, pkgs, ...}: {
{config, pkgs, outputs, ...}: {
# Import modules
imports = [
#"./swayfx.nix"
@ -17,12 +17,9 @@
package = null;
wrapperFeatures.gtk = true;
checkConfig = false;
extraConfig = let
border = import ../common/border.nix;
ws = import ./workspaces.nix;
in ''
extraConfig = ''
# Options I can't find in Nix yet
default_floating_border pixel ${border.weight}
default_floating_border pixel ${outputs.look.border.string}
hide_edge_borders --i3 smart
titlebar_padding 10 1
primary_selection disabled
@ -34,8 +31,8 @@
}}
# Switch to workspace 1
workspace ${ws.w7}
workspace ${ws.w1}
workspace ${outputs.ws.w7}
workspace ${outputs.ws.w1}
'';
};
}