Skip to content

Commit

Permalink
Update Sway config
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Jun 5, 2024
1 parent d2e6c52 commit 8d04f2c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
22 changes: 13 additions & 9 deletions configurations/akane/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ in
../../../modules/home-manager/media.nix
../../../modules/home-manager/office.nix

({pkgs, ...}: {
({pkgs, ...}: rec {
home.packages = with pkgs; [
lightburn
scrcpy
Expand Down Expand Up @@ -48,15 +48,19 @@ in
storage.encryptionPasscommand = "pass borg/akane/passphrase";
};

wayland.windowManager.sway.config = {
input."2:7:SynPS/2_Synaptics_TouchPad" = {
events = "disabled";
};
wayland.windowManager.sway = {
checkConfig = false; # Does not work with background image paths

config = {
input."2:7:SynPS/2_Synaptics_TouchPad" = {
events = "disabled";
};

output = {
LVDS-1 = {
enable = "";
bg = "~/.local/share/wallpaper.png fill";
output = {
LVDS-1 = {
enable = "";
bg = "~/${home.file.wallpaper.target} fill";
};
};
};
};
Expand Down
16 changes: 10 additions & 6 deletions configurations/maya/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ in
../../../modules/home-manager/media.nix
../../../modules/home-manager/office.nix

({pkgs, ...}: {
({pkgs, ...}: rec {
home.packages = with pkgs; [
nur.repos.DanNixon.metty
nur.repos.DanNixon.satorictl-unstable
Expand Down Expand Up @@ -46,11 +46,15 @@ in
storage.encryptionPasscommand = "pass borg/maya/passphrase";
};

wayland.windowManager.sway.config.output = {
DP-1 = {
enable = "";
bg = "~/.local/share/wallpaper.png fill";
scale = "1.5";
wayland.windowManager.sway = {
checkConfig = false; # Does not work with background image paths

config.output = {
DP-1 = {
enable = "";
bg = "~/${home.file.wallpaper.target} fill";
scale = "1.5";
};
};
};

Expand Down

0 comments on commit 8d04f2c

Please sign in to comment.