stable place
This commit is contained in:
1 parent
59206710dc
commit
d15fca922a
6 files changed
+26
-20
No files matched your search
@@ -89,6 +89,16 @@ window-rule {
|
||||
geometry-corner-radius 6
|
||||
tiled-state true
|
||||
}
|
||||
animations {
|
||||
window-movement {
|
||||
duration-ms 500
|
||||
curve "ease-out-expo"
|
||||
}
|
||||
workspace-switch {
|
||||
duration-ms 500
|
||||
curve "ease-out-expo"
|
||||
}
|
||||
}
|
||||
|
||||
// =========================
|
||||
// Screen Shots
|
||||
@@ -110,6 +120,7 @@ window-rule {
|
||||
match app-id=r#"^xdg-desktop-portal-gnome$"#
|
||||
match app-id=r#"^nm-applet$"#
|
||||
match app-id=r#"^chrome-.*"#
|
||||
match app-id="waypaper"
|
||||
match title="$Huddle:.*" app-id="Slack"
|
||||
match title="Visual Studio Code" app-id="code"
|
||||
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
"wlr/taskbar"
|
||||
],
|
||||
"modules-right": [],
|
||||
"niri/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"code": "💻",
|
||||
"chat": "💬"
|
||||
}
|
||||
}
|
||||
}
|
||||
"niri/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"code": "💻",
|
||||
"chat": "💬"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,8 @@
|
||||
"niri/window"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock"
|
||||
"privacy",
|
||||
"clock",
|
||||
],
|
||||
"modules-right": [
|
||||
"group/controls",
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.0 MiB |
@@ -2,7 +2,6 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
zshFWBook = builtins.filterSource (p: t: true) ./scripts/fwbook;
|
||||
backgroundImage = builtins.filterSource (p: t: true) ./extra/fwbook/wallpaper.gif;
|
||||
zshFunctions = zshFWBook + "/functions.sh";
|
||||
openPorts = [
|
||||
8000
|
||||
@@ -38,7 +37,6 @@ in
|
||||
niri.enable = true;
|
||||
background = {
|
||||
enable = true;
|
||||
imagePath = backgroundImage;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -7,26 +7,22 @@ in
|
||||
skyg.nixos.desktop.tiler.background = {
|
||||
enable = lib.mkEnableOption
|
||||
"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 {
|
||||
environment.systemPackages = with pkgs; [
|
||||
swww
|
||||
waytrogen
|
||||
waypaper
|
||||
];
|
||||
systemd.user.services.swww = {
|
||||
description = "SWWW Background Manager";
|
||||
systemd.user.services.waypaper = {
|
||||
description = "Waypaper Background Manager";
|
||||
path = [ pkgs.swww ];
|
||||
script = ''
|
||||
${pkgs.swww}/bin/swww-daemon
|
||||
${pkgs.waypaper}/bin/waypaper --restore
|
||||
'';
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStartPost = "${pkgs.swww}/bin/swww img ${cfg.background.imagePath} --resize no";
|
||||
Type = "oneshot";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user