try and failed at i3 again

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-25 22:42:47 -05:00
parent 4c9e388d30
commit d81ea35db9
7 changed files with 204 additions and 15 deletions

18
hosts/lio/flake.lock generated
View file

@ -27,20 +27,14 @@
},
"common": {
"locked": {
"dir": "flakes/common",
"lastModified": 1761238599,
"narHash": "sha256-BXSFjTnqgPzNk9ldiVPreAIPNOeEpKy7kXnIgYTkoPU=",
"ref": "refs/heads/master",
"rev": "6472f64f360095b948954bcc2543d095f46e9a21",
"revCount": 740,
"type": "git",
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
"path": "../../flakes/common",
"type": "path"
},
"original": {
"dir": "flakes/common",
"type": "git",
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
}
"path": "../../flakes/common",
"type": "path"
},
"parent": []
},
"crane": {
"locked": {

View file

@ -6,8 +6,8 @@
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Use relative to get current version for testing
# common.url = "path:../../flakes/common";
common.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/common";
common.url = "path:../../flakes/common";
# common.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/common";
# secrets.url = "path:../../flakes/secrets";
secrets.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/secrets";
# flatpaks.url = "path:../../flakes/flatpaks";
@ -56,6 +56,7 @@
common.nixosModules.tmux
common.nixosModules.boot_systemd
common.nixosModules.de_sway
# common.nixosModules.de_i3
common.nixosModules.hardening
common.nixosModules.jetbrains_font
common.nixosModules.nix_options
@ -73,6 +74,7 @@
# ./jails_text.nix
# ./hyprland_customizations.nix
./sway_customizations.nix
# ./i3_customizations.nix
./opencode-shim.nix
(
{
@ -96,6 +98,7 @@
sharedModules = [
common.homeManagerModules.de_sway
# common.homeManagerModules.de_i3
common.homeManagerModules.tmux
common.homeManagerModules.atuin
common.homeManagerModules.direnv

View file

@ -0,0 +1,44 @@
{ pkgs, ... }:
let
assignLines = ''
workspace 1 output DP-1
workspace 2 output DP-1
workspace 3 output DP-1
workspace 4 output DP-1
workspace 5 output DP-1
workspace 6 output DP-1
workspace 7 output DP-2
workspace 8 output DP-2
workspace 9 output DP-2
workspace 10 output DP-2
'';
bg1 = ../_shared_assets/wallpapers/pixel_neon.png;
bg2 = ../_shared_assets/wallpapers/pixel_neon_v.png;
xrSetup = ''
xrandr --output DP-1 --mode 3840x2160 --rate 97.983 --pos 0x0 --primary
xrandr --output DP-2 --mode 3440x1440 --rate 99.982 --rotate left --left-of DP-1
'';
fehCmd = "feh --bg-fill ${bg1} ${bg2}";
startupCmd = "sh -c 'sleep 0.05; i3-msg workspace number 7; sleep 0.05; i3-msg workspace number 1'";
i3ExtraOptions = {
startup = [
{ command = "exec --no-startup-id ${fehCmd}"; }
{ command = "exec --no-startup-id ${xrSetup}"; }
{ command = "exec --no-startup-id ${startupCmd}"; }
];
};
in
{
options = { };
config = {
home-manager.sharedModules = [
(
{ ... }:
{
# xsession.windowManager.i3.config = i3ExtraOptions;
# xsession.windowManager.i3.extraConfig = assignLines;
}
)
];
};
}