stable place

This commit is contained in:
ari committed 2025-08-02 00:49:24 -04:00
1 parent 59206710dc
commit d15fca922a
6 files changed
+26 -20

No files matched your search

+11
View File
@@ -89,6 +89,16 @@ window-rule {
geometry-corner-radius 6 geometry-corner-radius 6
tiled-state true tiled-state true
} }
animations {
window-movement {
duration-ms 500
curve "ease-out-expo"
}
workspace-switch {
duration-ms 500
curve "ease-out-expo"
}
}
// ========================= // =========================
// Screen Shots // Screen Shots
@@ -110,6 +120,7 @@ window-rule {
match app-id=r#"^xdg-desktop-portal-gnome$"# match app-id=r#"^xdg-desktop-portal-gnome$"#
match app-id=r#"^nm-applet$"# match app-id=r#"^nm-applet$"#
match app-id=r#"^chrome-.*"# match app-id=r#"^chrome-.*"#
match app-id="waypaper"
match title="$Huddle:.*" app-id="Slack" match title="$Huddle:.*" app-id="Slack"
match title="Visual Studio Code" app-id="code" match title="Visual Studio Code" app-id="code"
+8 -8
View File
@@ -13,11 +13,11 @@
"wlr/taskbar" "wlr/taskbar"
], ],
"modules-right": [], "modules-right": [],
"niri/workspaces": { "niri/workspaces": {
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"code": "💻", "code": "💻",
"chat": "💬" "chat": "💬"
} }
} }
} }
+2 -1
View File
@@ -9,7 +9,8 @@
"niri/window" "niri/window"
], ],
"modules-center": [ "modules-center": [
"clock" "privacy",
"clock",
], ],
"modules-right": [ "modules-right": [
"group/controls", "group/controls",
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

-2
View File
@@ -2,7 +2,6 @@
{ pkgs, ... }: { pkgs, ... }:
let let
zshFWBook = builtins.filterSource (p: t: true) ./scripts/fwbook; zshFWBook = builtins.filterSource (p: t: true) ./scripts/fwbook;
backgroundImage = builtins.filterSource (p: t: true) ./extra/fwbook/wallpaper.gif;
zshFunctions = zshFWBook + "/functions.sh"; zshFunctions = zshFWBook + "/functions.sh";
openPorts = [ openPorts = [
8000 8000
@@ -38,7 +37,6 @@ in
niri.enable = true; niri.enable = true;
background = { background = {
enable = true; enable = true;
imagePath = backgroundImage;
}; };
}; };
}; };
+5 -9
View File
@@ -7,26 +7,22 @@ in
skyg.nixos.desktop.tiler.background = { skyg.nixos.desktop.tiler.background = {
enable = lib.mkEnableOption enable = lib.mkEnableOption
"Enable background management for tiling window managers"; "Enable background management for tiling window managers";
imagePath = lib.mkOption {
type = lib.types.path;
description = "Path to the background image for tiling window managers.";
};
}; };
}; };
config = lib.mkIf cfg.background.enable { config = lib.mkIf cfg.background.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
swww swww
waytrogen waypaper
]; ];
systemd.user.services.swww = { systemd.user.services.waypaper = {
description = "SWWW Background Manager"; description = "Waypaper Background Manager";
path = [ pkgs.swww ]; path = [ pkgs.swww ];
script = '' script = ''
${pkgs.swww}/bin/swww-daemon ${pkgs.waypaper}/bin/waypaper --restore
''; '';
wantedBy = [ "graphical-session.target" ]; wantedBy = [ "graphical-session.target" ];
serviceConfig = { serviceConfig = {
ExecStartPost = "${pkgs.swww}/bin/swww img ${cfg.background.imagePath} --resize no"; Type = "oneshot";
}; };
}; };
}; };