Compare commits

..

No commits in common. "da449373e3ed24d8ae022fa31106ae1595e4601e" and "bd4e56d7b504bea612014e3bfd670066fa35c0b6" have entirely different histories.

2 changed files with 1 additions and 9 deletions

View file

@ -150,14 +150,6 @@
};
extraConfig = ''
bindcode 202 exec ${lib.getExe pkgs.obs-cmd} replay save # F24/numpad 1 on my ID75
exec ${pkgs.writers.writeBash "default-workspaces" ''
swaymsg -t get_outputs \
| ${lib.getExe pkgs.jq} -re '.[].name' \
| xargs -I {} ${pkgs.writers.writeBash "workspace-set-default" ''
ID=$(echo $1 | ${lib.getExe pkgs.perl} -ne '$s=0;for(split//){$s+=ord}print"$s"')
swaymsg workspace ''${ID}1:1 output "$1" && swaymsg workspace number ''${ID}1:1
''} {}
''}
'';
};
}

View file

@ -71,7 +71,7 @@
];
wayland.windowManager.sway.extraConfig = ''
exec rm -r ~/.config/obs-studio/.sentinel && obs --startreplaybuffer --minimize-to-tray
exec obs --startreplaybuffer --disable-shutdown-check --minimize-to-tray
'';
wayland.windowManager.sway.config.input."type:pointer" = {