Generalize and move configs

This commit is contained in:
Jimbo 2024-11-12 18:03:28 -05:00
parent 17f2a16f48
commit ffb1b6d541
21 changed files with 73 additions and 64 deletions

View file

@ -0,0 +1,32 @@
{ config, pkgs, ... }:
{
imports = [
./autostart
./hardware
./hotkeys
./programs
./rules
./swayshot
./swaysleep
./theme
];
wayland.windowManager.sway = {
enable = true;
package = null;
wrapperFeatures.gtk = true;
checkConfig = false;
extraConfig = ''
default_floating_border pixel ${config.look.border.string}
hide_edge_borders --i3 smart
titlebar_padding 10 1
primary_selection disabled
# Include extra window icons
include ${pkgs.fetchurl {
url = "https://raw.githubusercontent.com/iguanajuice/sway-font-awesome/6b7a9d08974eea1b9cddb8d444e1c89d6837083a/icons";
sha256 = "09ki5qw1h91kd33k3fwzq7cb6ck8sq4haswgizrsy387sfr2a75x";
}}
'';
};
}